[-] Workaround for libplist.pc missing in libplist 2.2.0 release
Closes #1038
This commit is contained in:
parent
82d48cba3a
commit
ce2006a31b
|
@ -261,9 +261,12 @@ dnl Build with libsodium
|
|||
FORK_ARG_WITH_CHECK([FORKED_OPTS], [libsodium support], [libsodium], [LIBSODIUM],
|
||||
[libsodium], [sodium_init], [sodium.h])
|
||||
|
||||
dnl Build with libplist
|
||||
FORK_ARG_WITH_CHECK([FORKED_OPTS], [libplist support], [libplist], [LIBPLIST],
|
||||
[libplist >= 0.16], [plist_dict_get_item], [plist/plist.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],
|
||||
|
|
Loading…
Reference in New Issue