AC_PREREQ([2.68])
-AC_INIT([apply-default-acl], [0.1.0], [michael@orlitzky.com])
-AM_INIT_AUTOMAKE([foreign]) # don't bug me a bout README, NEWS, etc.
+AC_INIT([apply-default-acl], [0.1.3], [michael@orlitzky.com])
+AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-xz])
AC_CONFIG_SRCDIR([src/apply-default-acl.c])
AC_CONFIG_FILES([Makefile src/Makefile])
# can't operate securely; I would rather refuse to be built.
AC_CHECK_FUNC(openat,
[],
- AC_MSG_ERROR(missing required openat function))
+ AC_MSG_ERROR(missing required openat function))
+AC_CHECK_DECLS([O_DIRECTORY],
+ [],
+ [AC_MSG_ERROR(missing required O_DIRECTORY flag in fcntl.h)],
+ [[#include <fcntl.h>]])
AC_CHECK_DECLS([O_NOFOLLOW],
[],
- [AC_MSG_ERROR(missing required O_NOFOLLOW flag in fcntl.h)],
- [[#include <fcntl.h>]])
-
+ [AC_MSG_ERROR(missing required O_NOFOLLOW flag in fcntl.h)],
+ [[#include <fcntl.h>]])
LT_INIT
AC_OUTPUT