From: Michael Orlitzky Date: Wed, 28 Feb 2018 15:06:59 +0000 (-0500) Subject: configure.ac: check for the O_PATH flag in fcntl.h. X-Git-Tag: v0.1.4~1 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=apply-default-acl.git;a=commitdiff_plain;h=fbdaaaaa25e0b386484540a59bbd59b59d67e439 configure.ac: check for the O_PATH flag in fcntl.h. --- diff --git a/configure.ac b/configure.ac index c2db54d..f47368b 100644 --- a/configure.ac +++ b/configure.ac @@ -31,5 +31,11 @@ AC_CHECK_DECLS([O_NOFOLLOW], [], [AC_MSG_ERROR(missing required O_NOFOLLOW flag in fcntl.h)], [[#include ]]) +AC_CHECK_DECLS([O_PATH], + [], + [AC_MSG_ERROR(missing required O_PATH flag in fcntl.h)], + [[#define _GNU_SOURCE + #include ]]) + LT_INIT AC_OUTPUT