summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 9ade3aa5f..b1dbce5fd 100644
--- a/configure.in
+++ b/configure.in
@@ -988,6 +988,14 @@ else
lockcreatenp="1"
fi
+case "$OS" in
+ *-os2*)
+ # The above tests detect a working flock on OS/2
+ # but we don't want to use it when we have native locks
+ lockcreatenp="0"
+ ;;
+esac
+
AC_SUBST(hasflockser)
AC_SUBST(hassysvser)
AC_SUBST(hasfcntlser)