X-Git-Url: http://gitweb.michael.orlitzky.com/?p=apply-default-acl.git;a=blobdiff_plain;f=configure.ac;h=c2db54d0286e9f0d8ea34f75f9c55093dee19251;hp=c9abffe2ddf21acb9769e734e58d80ba3bee6a3e;hb=027d27842bd0de293988decfd0ccde37e0f10671;hpb=f9e643a6aaf9d03fd6c36eb0ad953f2563a7c017 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