0001-configure.ac-Add-support-for-libplist-2.2.patch 1021 B

12345678910111213141516171819202122232425262728
  1. From 46d147703337b5ab9e81266869e41c89e6481e08 Mon Sep 17 00:00:00 2001
  2. From: Bastien Nocera <hadess@hadess.net>
  3. Date: Wed, 17 Jun 2020 11:52:43 +0200
  4. Subject: [PATCH] configure.ac: Add support for libplist 2.2
  5. ---
  6. configure.ac | 4 +++-
  7. 1 file changed, 3 insertions(+), 1 deletion(-)
  8. diff --git a/configure.ac b/configure.ac
  9. index c4ffeaf..c3a7a9d 100644
  10. --- a/configure.ac
  11. +++ b/configure.ac
  12. @@ -42,7 +42,9 @@ AC_CHECK_FUNCS([localtime_r])
  13. AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
  14. dnl sqlite3 is needed for newer ipod models (nano5g), and libplist is needed
  15. dnl by libgpod sqlite code
  16. -PKG_CHECK_MODULES(LIBGPOD, glib-2.0 >= 2.16.0 gobject-2.0 sqlite3 libplist >= 1.0 gmodule-2.0)
  17. +LIBPLIST_DEP=libplist
  18. +PKG_CHECK_EXISTS(libplist-2.0, LIBPLIST_DEP=libplist-2.0)
  19. +PKG_CHECK_MODULES(LIBGPOD, glib-2.0 >= 2.16.0 gobject-2.0 sqlite3 $LIBPLIST_DEP >= 1.0 gmodule-2.0)
  20. dnl ***************************************************
  21. dnl The following functions are only available starting
  22. --
  23. 2.26.2