mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
[cfg] Make libplist required (Airplay 2 requirement)
This commit is contained in:
parent
3b00900572
commit
265c1e5836
15
configure.ac
15
configure.ac
@ -162,6 +162,14 @@ FORK_MODULES_CHECK([FORKED], [JSON_C], [json-c],
|
||||
[Define to 1 if you have json-c < 0.11])])
|
||||
])
|
||||
|
||||
dnl Build with libplist (2.2.0 does not ship libplist.pc, only libplist-2.0.pc)
|
||||
PKG_CHECK_EXISTS([libplist],
|
||||
[FORK_MODULES_CHECK([FORKED], [LIBPLIST], [libplist >= 0.16],
|
||||
[plist_dict_get_item], [plist/plist.h])],
|
||||
[FORK_MODULES_CHECK([FORKED], [LIBPLIST], [libplist-2.0],
|
||||
[plist_dict_get_item], [plist/plist.h])])
|
||||
|
||||
|
||||
FORK_FUNC_REQUIRE([FORKED], [ANTLR3 C runtime], [ANTLR3C], [antlr3c],
|
||||
[antlr3BaseRecognizerNew], [antlr3.h],
|
||||
[AC_CHECK_FUNC([[antlr3NewAsciiStringInPlaceStream]],
|
||||
@ -262,13 +270,6 @@ dnl Build with libsodium
|
||||
FORK_ARG_WITH_CHECK([FORKED_OPTS], [libsodium support], [libsodium], [LIBSODIUM],
|
||||
[libsodium], [sodium_init], [sodium.h])
|
||||
|
||||
dnl Build with libplist (2.2.0 does not ship libplist.pc, only libplist-2.0.pc)
|
||||
PKG_CHECK_EXISTS([libplist],
|
||||
[FORK_ARG_WITH_CHECK([FORKED_OPTS], [libplist support], [libplist], [LIBPLIST],
|
||||
[libplist >= 0.16], [plist_dict_get_item], [plist/plist.h])],
|
||||
[FORK_ARG_WITH_CHECK([FORKED_OPTS], [libplist support], [libplist], [LIBPLIST],
|
||||
[libplist-2.0], [plist_dict_get_item], [plist/plist.h])])
|
||||
|
||||
dnl Build with libevent_pthreads
|
||||
FORK_ARG_WITH_CHECK([FORKED_OPTS], [libevent_pthreads support],
|
||||
[libevent_pthreads], [LIBEVENT_PTHREADS], [libevent_pthreads],
|
||||
|
Loading…
Reference in New Issue
Block a user