Port: Implement faccessat wrapper
[babeltrace.git] / configure.ac
index a4dde9e00e214650f96d0ba14ce24ce2ebf5b28f..d9fa2119d16556c7c8ac0439eb1f170e17511b65 100644 (file)
@@ -154,11 +154,17 @@ AC_CHECK_LIB([c], [posix_fallocate],
 ]
 )
 
+# Check for faccessat
+AC_CHECK_LIB([c], [faccessat],
+[
+       AC_DEFINE_UNQUOTED([BABELTRACE_HAVE_FACCESSAT], 1, [Has faccessat support.])
+]
+)
+
 AC_CHECK_LIB([popt], [poptGetContext], [],
         [AC_MSG_ERROR([Cannot find popt.])]
 )
 
-
 # For Python
 # SWIG version needed or newer:
 swig_version=2.0.0
This page took 0.022782 seconds and 4 git commands to generate.