From 04d2c84beb3f85048d4d40a0b3526debb333f7e7 Mon Sep 17 00:00:00 2001 From: Loïc Minier Date: Mon, 2 Sep 2013 01:06:37 +0200 Subject: Fix name of PKG_CHECK_MODULES test for limd 1.1.5 The result of the second PKG_CHECK_MODULES(libimobiledevice11, ...) was read out of cache and succeeded on systems with libimobiledevice-1.0 >= 1.1.0 but << 1.5.0. Giving it another unused name fixes this. Signed-off-by: Loïc Minier --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ca518ff..bccf0b2 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,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(libimobiledevice11, libimobiledevice-1.0 >= 1.1.5, libimobiledevice_1_1_5=yes, libimobiledevice_1_1_5=no) +PKG_CHECK_MODULES(libimobiledevice15, libimobiledevice-1.0 >= 1.1.5, libimobiledevice_1_1_5=yes, libimobiledevice_1_1_5=no) if test x"$libimobiledevice_1_1_5" = xyes; then AC_DEFINE([HAVE_LIBIMOBILEDEVICE_1_1_5], 1, [Define if libimobiledevice is using 1.1.5 API]) fi -- cgit v1.1-32-gdbae