X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=configure.ac;h=c2db54d0286e9f0d8ea34f75f9c55093dee19251;hb=2537b1a95dfac45a8514b946cd9753efa05eb92a;hp=c9abffe2ddf21acb9769e734e58d80ba3bee6a3e;hpb=4063cb78e6bad803b790f09b6dac48552079759e;p=apply-default-acl.git diff --git a/configure.ac b/configure.ac index c9abffe..c2db54d 100644 --- a/configure.ac +++ b/configure.ac @@ -22,11 +22,14 @@ AC_CHECK_HEADERS([ sys/libacl.h sys/types.h unistd.h ]) # 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 ]]) AC_CHECK_DECLS([O_NOFOLLOW], [], - [AC_MSG_ERROR(missing required O_NOFOLLOW flag in fcntl.h)], - [[#include ]]) - + [AC_MSG_ERROR(missing required O_NOFOLLOW flag in fcntl.h)], + [[#include ]]) LT_INIT AC_OUTPUT