]> gitweb.michael.orlitzky.com - apply-default-acl.git/blobdiff - configure.ac
Upgrade our Doxyfile automatically with doxygen -u.
[apply-default-acl.git] / configure.ac
index 7fe66377651f115fa0a808b3372a0fed31755c5e..b3afe4a71a9fab78aaec1726f631977672e72332 100644 (file)
@@ -2,20 +2,25 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.68])
-AC_INIT([reapply_default_acl], [0.0.2], [michael@orlitzky.com])
-AM_INIT_AUTOMAKE
-AC_CONFIG_SRCDIR([src/reapply_default_acl.c])
+AC_INIT([apply-default-acl], [0.0.6], [michael@orlitzky.com])
+AM_INIT_AUTOMAKE([foreign]) # don't bug me a bout README, NEWS, etc.
+AC_CONFIG_SRCDIR([src/apply-default-acl.c])
 AC_CONFIG_FILES([Makefile src/Makefile])
 
 # Checks for programs.
 AC_PROG_CC
+AM_PROG_AR
 
-# 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 ])
+
+LT_INIT
 
 AC_OUTPUT