summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-10-19 20:29:39 +0200
committerGravatar Matt Colyer2009-10-22 07:52:53 -0700
commit544215cd776c1db58ce8e8a3db6457b5d977e421 (patch)
tree806a0dd662396f717eb428b349e4aa6e59cde47a /configure.ac
parent4740e30d178c8a588f522586a817039d6be8da3b (diff)
downloadlibimobiledevice-544215cd776c1db58ce8e8a3db6457b5d977e421.tar.gz
libimobiledevice-544215cd776c1db58ce8e8a3db6457b5d977e421.tar.bz2
Update swig header and autotools to compile with latest libplist API.
[#77 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 29d3154..d3b5105 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,16 +9,15 @@ AC_CONFIG_SRCDIR([src/])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
-AC_PROG_LIBTOOL
-
AM_PATH_PYTHON(2.3)
AC_PROG_SWIG(1.3.21)
+AX_SWIG_ENABLE_CXX
SWIG_PYTHON
-
# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
+AC_PROG_LIBTOOL
# Checks for libraries.
PKG_CHECK_MODULES(libusbmuxd, libusbmuxd >= 0.1.4)
@@ -26,7 +25,7 @@ PKG_CHECK_MODULES(libglib2, glib-2.0 >= 2.14.1)
PKG_CHECK_MODULES(libgthread2, gthread-2.0 >= 2.14.1)
PKG_CHECK_MODULES(libgnutls, gnutls >= 1.6.3 )
PKG_CHECK_MODULES(libtasn1, libtasn1 >= 1.1)
-PKG_CHECK_MODULES(libplist, libplist >= 0.13)
+PKG_CHECK_MODULES(libplist, libplist >= 0.15)
AC_CHECK_LIB(gcrypt, gcry_control, [AC_SUBST(libgcrypt_LIBS,[-lgcrypt])], ["libgcrypt is required to build libiphone"])
# Checks for header files.