summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2011-04-25 09:28:33 +0200
committerGravatar Martin Szulecki2011-04-25 09:28:33 +0200
commitf18415854d426b703982119cacd981e75ac95308 (patch)
tree1218099c43beecdeefdfc910b4b08ee98a87452f
parenta7103c5a018601bc4c239caacca77e25ed1492ae (diff)
downloadideviceinstaller-f18415854d426b703982119cacd981e75ac95308.tar.gz
ideviceinstaller-f18415854d426b703982119cacd981e75ac95308.tar.bz2
Add glib2 dependency to configure.ac so packaging tools can pick it up
-rw-r--r--configure.ac1
-rw-r--r--src/Makefile.am2
2 files changed, 3 insertions, 0 deletions
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)