summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-04 15:20:04 -0700
committerLennart Poettering <lennart@poettering.net>2012-09-04 15:30:24 -0700
commita8348796c0d39435b1c3d85ce6e95dad1ac85fec (patch)
tree4541d80702f3b837ec1cfc65a19ef3c5338c9a99 /configure.ac
parent438bacd18e0b8766c5add47f28b04876272daa97 (diff)
missing: define name_to_handle_at on our own if it is missing
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4bafbfb2ea..f1b88384f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -154,6 +154,11 @@ CAP_LIBS="$LIBS"
LIBS="$save_LIBS"
AC_SUBST(CAP_LIBS)
+AC_CHECK_FUNCS([fanotify_init fanotify_mark name_to_handle_at])
+AC_CHECK_DECLS([gettid, pivot_root], [], [], [[#include <sys/types.h>
+#include <unistd.h>
+#include <sys/mount.h>]])
+
# This makes sure pkg.m4 is available.
m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config])