]> gitweb.michael.orlitzky.com - apply-default-acl.git/blobdiff - configure.ac
Print an error if any targets do not exist.
[apply-default-acl.git] / configure.ac
index 0ec9c63bb5cd01c718720895e1bacd88d78adac9..4f4f2da7161199ee4d851a7ee4bcef7bac92b21d 100644 (file)
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.68])
-AC_INIT([apply-default-acl], [0.0.4], [michael@orlitzky.com])
+AC_INIT([apply-default-acl], [0.0.5], [michael@orlitzky.com])
 AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([src/apply-default-acl.c])
 AC_CONFIG_FILES([Makefile src/Makefile])
@@ -10,12 +10,14 @@ AC_CONFIG_FILES([Makefile src/Makefile])
 # Checks for programs.
 AC_PROG_CC
 
-# Checks for header files.
-AC_CHECK_HEADERS([limits.h stdlib.h string.h sys/acl.h unistd.h])
-
-# Checks for typedefs, structures, and compiler characteristics.
-AC_HEADER_STDBOOL
+# Predefined header checks.
+AC_HEADER_STAT    # sys/stat.h
+AC_HEADER_STDBOOL # stdbool.h
+AC_HEADER_STDC    # stdlib.h string.h (implied: errno.h limits.h stdio.h)
 AC_TYPE_MODE_T
 
+# Check for header files not covered by the predefined macros above.
+AC_CHECK_HEADERS([ fcntl.h ftw.h getopt.h libgen.h sys/acl.h sys/libacl.h ])
+AC_CHECK_HEADERS([ sys/types.h unistd.h ])
 
 AC_OUTPUT