From fbdaaaaa25e0b386484540a59bbd59b59d67e439 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 28 Feb 2018 10:06:59 -0500 Subject: [PATCH] configure.ac: check for the O_PATH flag in fcntl.h. --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.44.2