summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure b/configure
index 51f7723c..256abb72 100755
--- a/configure
+++ b/configure
@@ -2665,6 +2665,26 @@ else
printf "no\n"
fi
+printf "Checking for linkat ... "
+
+cat > conftest.c <<!
+#include <unistd.h>
+#include <fcntl.h>
+
+int main(void)
+{
+ int e1 = linkat(AT_FDCWD, "foo", AT_FDCWD, "bar", AT_SYMLINK_FOLLOW);
+ return 0;
+}
+!
+if conftest ; then
+ printf "yes\n"
+ printf "#define HAVE_LINKAT 1\n" >> config.h
+ have_unistd=y
+else
+ printf "no\n"
+fi
+
printf "Checking for POSIX mkdir ... "
cat > conftest.c <<!