]> gitweb.michael.orlitzky.com - apply-default-acl.git/commitdiff
configure.ac: check for the O_PATH flag in fcntl.h.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 28 Feb 2018 15:06:59 +0000 (10:06 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 28 Feb 2018 15:06:59 +0000 (10:06 -0500)
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