diff options
author | Matt Colyer <matt@colyer.name> | 2008-07-31 09:24:59 -0700 |
---|---|---|
committer | Matt Colyer <matt@colyer.name> | 2008-07-31 09:24:59 -0700 |
commit | bbd289b44c94aeb327675352d187209639e64baa (patch) | |
tree | 8757b3d42c2a3e583ab7ad6fdf56e9b0b8e6c0f3 /configure.ac | |
parent | 829f1ce0473e011e3aadd8ddf370fad64bfd2840 (diff) | |
download | libplist-bbd289b44c94aeb327675352d187209639e64baa.tar.gz |
Enabled actual version checking in the configure script.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index fcc20ff..12e364d 100644 --- a/configure.ac +++ b/configure.ac @@ -4,16 +4,18 @@ AC_PREREQ(2.61) AC_INIT(libiphone, 0.1.0, nospam@nowhere.com) AM_INIT_AUTOMAKE(libiphone, 0.1.0) -AC_CONFIG_SRCDIR([src/lockdown.c]) +AC_CONFIG_SRCDIR([src/]) AC_CONFIG_HEADER([config.h]) # Checks for programs. AC_PROG_CC # Checks for libraries. -AC_CHECK_LIB(xml2,xmlFree,,[AC_MSG_ERROR([libxml2 library missing])]) -AC_CHECK_LIB(usb,usb_bulk_write,,[AC_MSG_ERROR([libusb library missing])]) -AC_CHECK_LIB(gnutls,gnutls_record_send,,[AC_MSG_ERROR([libgnutls library missing])]) +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(libgnutls, gnutls >= 1.6.3) +PKG_CHECK_MODULES(libfuse, fuse >= 2.7.0) # Checks for header files. AC_HEADER_STDC |