]> git.ipfire.org Git - collecty.git/blobdiff - configure.ac
configure: Check for all headers we use
[collecty.git] / configure.ac
index c0e8011e997af18aedcf996283bd3a21e540122f..beb43f05219b802967b984ba9f46883f28e207dd 100644 (file)
@@ -21,7 +21,7 @@
 AC_PREREQ([2.64])
 
 AC_INIT([collecty],
-       [002],
+       [003],
        [info@ipfire.org],
        [collecty],
        [http://git.ipfire.org/?p=oddments/collecty.git;a=summary])
@@ -59,8 +59,21 @@ AC_PROG_CC_C99
 AC_PROG_CC_C_O
 AC_PROG_GCC_TRADITIONAL
 
+AC_CHECK_HEADERS_ONCE([
+       errno.h
+       fcntl.h
+       linux/hdreg.h
+       mntent.h
+       stdbool.h
+       string.h
+       sys/ioctl.h
+       time.h
+])
+
 AC_PATH_PROG([XSLTPROC], [xsltproc])
 
+PKG_CHECK_MODULES([OPING], [liboping])
+
 # Python
 AM_PATH_PYTHON([3.2])
 PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}])