diff options
author | Matt Colyer | 2009-04-13 08:48:00 -0700 |
---|---|---|
committer | Matt Colyer | 2009-04-13 08:48:00 -0700 |
commit | 6671ca3d6de6a1fd27853e3b1ce7a81d568703f0 (patch) | |
tree | 735c5ace7ed57cd4e19f2fde423b22e6104eaa98 /configure.ac | |
parent | bd31783d7fde0b5bd101f4a3f97ca1aca2aa6fab (diff) | |
parent | 288929f45cb2641690879b52ec514097995cd41a (diff) | |
download | libimobiledevice-6671ca3d6de6a1fd27853e3b1ce7a81d568703f0.tar.gz libimobiledevice-6671ca3d6de6a1fd27853e3b1ce7a81d568703f0.tar.bz2 |
Merged in Jonathan's libplist libiphone. [#2 state:resolved]
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index c871011..a26be74 100644 --- a/configure.ac +++ b/configure.ac @@ -6,24 +6,30 @@ AC_INIT(libiphone, 0.1.0, nospam@nowhere.com) AM_INIT_AUTOMAKE(libiphone, 0.1.0) AC_CONFIG_SRCDIR([src/]) AC_CONFIG_HEADER([config.h]) +AC_CONFIG_MACRO_DIR([m4]) AC_PROG_LIBTOOL +AM_PATH_PYTHON(2.3) +AC_PROG_SWIG(1.3.21) +SWIG_PYTHON + + # Checks for programs. AC_PROG_CC AM_PROG_CC_C_O # Checks for libraries. -PKG_CHECK_MODULES(libxml2, libxml-2.0 >= 2.6.30) PKG_CHECK_MODULES(libusb, libusb >= 0.1.12) 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.10) # Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS([arpa/inet.h stdint.h stdlib.h string.h]) +AC_CHECK_HEADERS([arpa/inet.h stdint.h stdlib.h string.h gcrypt.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST @@ -59,6 +65,9 @@ if test "$no_debug_code" = true; then AC_DEFINE(STRIP_DEBUG_CODE,1,[Strip debug reporting code]) fi +AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter") +AC_SUBST(GLOBAL_CFLAGS) + # check for large file support AC_SYS_LARGEFILE LFS_CFLAGS='' @@ -86,4 +95,4 @@ if test "$enable_largefile" != no; then fi AC_SUBST(LFS_CFLAGS) -AC_OUTPUT(Makefile src/Makefile include/Makefile fdi/Makefile udev/Makefile dev/Makefile libiphone-1.0.pc) +AC_OUTPUT(Makefile src/Makefile include/Makefile fdi/Makefile dev/Makefile swig/Makefile udev/Makefile libiphone-1.0.pc) |