mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 12:53:00 -05:00
[scan] Use plist_get_unix_date_val() if available
plist_get_date_val is deprecated
This commit is contained in:
@@ -195,6 +195,9 @@ PKG_CHECK_EXISTS([libplist],
|
||||
[OWNTONE_MODULES_CHECK([OWNTONE], [LIBPLIST], [libplist-2.0],
|
||||
[plist_dict_get_item], [plist/plist.h])])
|
||||
|
||||
dnl AC_SEARCH_LIBS does not find plist_get_unix_date_val() on MacOS
|
||||
OWNTONE_CHECK_DECLS([plist_get_unix_date_val], [plist/plist.h])
|
||||
|
||||
AM_PATH_LIBGCRYPT([1:1.7.0])
|
||||
OWNTONE_FUNC_REQUIRE([OWNTONE], [GNU Crypt Library], [LIBGCRYPT], [gcrypt],
|
||||
[gcry_control], [gcrypt.h])
|
||||
|
||||
Reference in New Issue
Block a user