diff options
| author | 2009-01-29 18:35:38 +0100 | |
|---|---|---|
| committer | 2009-01-29 18:35:38 +0100 | |
| commit | 185294a0f9a689a231d3d0d8cde1864d4b0bdaa0 (patch) | |
| tree | aaa252a6135b2e9e4fb09c3f2b13e37a578a670e /configure.ac | |
| parent | c1b2004461aaf2912af749620e7504345bf409ba (diff) | |
| download | libimobiledevice-185294a0f9a689a231d3d0d8cde1864d4b0bdaa0.tar.gz libimobiledevice-185294a0f9a689a231d3d0d8cde1864d4b0bdaa0.tar.bz2 | |
Add more warning flags and remove useless libxml2 dependency.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 87ed8dc..71bab50 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -20,7 +20,6 @@ AC_PROG_CC | |||
| 20 | AM_PROG_CC_C_O | 20 | AM_PROG_CC_C_O |
| 21 | 21 | ||
| 22 | # Checks for libraries. | 22 | # Checks for libraries. |
| 23 | PKG_CHECK_MODULES(libxml2, libxml-2.0 >= 2.6.30) | ||
| 24 | PKG_CHECK_MODULES(libusb, libusb >= 0.1.12) | 23 | PKG_CHECK_MODULES(libusb, libusb >= 0.1.12) |
| 25 | PKG_CHECK_MODULES(libglib2, glib-2.0 >= 2.14.1) | 24 | PKG_CHECK_MODULES(libglib2, glib-2.0 >= 2.14.1) |
| 26 | PKG_CHECK_MODULES(libgthread2, gthread-2.0 >= 2.14.1) | 25 | PKG_CHECK_MODULES(libgthread2, gthread-2.0 >= 2.14.1) |
| @@ -66,4 +65,7 @@ if test "$no_debug_code" = true; then | |||
| 66 | AC_DEFINE(STRIP_DEBUG_CODE,1,[Strip debug reporting code]) | 65 | AC_DEFINE(STRIP_DEBUG_CODE,1,[Strip debug reporting code]) |
| 67 | fi | 66 | fi |
| 68 | 67 | ||
| 68 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter") | ||
| 69 | AC_SUBST(GLOBAL_CFLAGS) | ||
| 70 | |||
| 69 | AC_OUTPUT(Makefile src/Makefile include/Makefile fdi/Makefile dev/Makefile swig/Makefile libiphone-1.0.pc) | 71 | AC_OUTPUT(Makefile src/Makefile include/Makefile fdi/Makefile dev/Makefile swig/Makefile libiphone-1.0.pc) |
