summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 21 insertions, 0 deletions
diff --git a/configure b/configure
index c3b84a64..69a69e57 100755
--- a/configure
+++ b/configure
@@ -2386,6 +2386,27 @@ else
printf "no\n"
fi
+printf "Checking for mkfifo ... "
+
+cat > conftest.c <<!
+#include "config.h"
+#if HAVE_SYS_STAT
+#include <sys/stat.h>
+#endif
+
+int main(void)
+{
+ int e = mkfifo("a", 0);
+ return 0;
+}
+!
+if conftest ; then
+ printf "yes\n"
+ printf "#define HAVE_MKFIFO 1\n" >> config.h
+else
+ printf "no\n"
+fi
+
printf "Checking for chmod/fchmod ... "
cat > conftest.c <<!
#include <sys/stat.h>