From f18415854d426b703982119cacd981e75ac95308 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 25 Apr 2011 09:28:33 +0200 Subject: Add glib2 dependency to configure.ac so packaging tools can pick it up --- configure.ac | 1 + src/Makefile.am | 2 ++ 2 files changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 4dc3d76..277f966 100644 --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,7 @@ PKG_CHECK_MODULES(libimobiledevice11, libimobiledevice-1.0 >= 1.1.0, libimobiled if test x"$libimobiledevice_1_1" = xyes; then AC_DEFINE([HAVE_LIBIMOBILEDEVICE_1_1], 1, [Define if libimobiledevice is using 1.1.0 API]) fi +PKG_CHECK_MODULES(libglib2, glib-2.0 >= 2.14.1) PKG_CHECK_MODULES(libplist, libplist >= 0.15) PKG_CHECK_MODULES(libzip, libzip >= 0.8) diff --git a/src/Makefile.am b/src/Makefile.am index 4d90181..c7e1bca 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,11 +1,13 @@ AM_CFLAGS = \ $(GLOBAL_CFLAGS) \ $(libimobiledevice_CFLAGS) \ + $(libglib2_CFLAGS) \ $(libplist_CFLAGS) \ $(libzip_CFLAGS) AM_LDFLAGS = \ $(libimobiledevice_LIBS) \ + $(libglib2_LIBS) \ $(libplist_LIBS) \ $(libzip_LIBS) -- cgit v1.1-32-gdbae