]> gitweb.michael.orlitzky.com - apply-default-acl.git/blobdiff - configure.ac
configure.ac: check for the O_PATH flag in fcntl.h.
[apply-default-acl.git] / configure.ac
index c2db54d0286e9f0d8ea34f75f9c55093dee19251..f47368b20b61709f6274a0deb4ac0b3a494a1510 100644 (file)
@@ -31,5 +31,11 @@ AC_CHECK_DECLS([O_NOFOLLOW],
                [],
                [AC_MSG_ERROR(missing required O_NOFOLLOW flag in fcntl.h)],
                [[#include <fcntl.h>]])
+AC_CHECK_DECLS([O_PATH],
+               [],
+               [AC_MSG_ERROR(missing required O_PATH flag in fcntl.h)],
+               [[#define _GNU_SOURCE
+                #include <fcntl.h>]])
+
 LT_INIT
 AC_OUTPUT