summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2001-06-28 01:57:02 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2001-06-28 01:57:02 +0000
commit12d6f279a32ca0471c63498c24f3a5f16eb5d3d2 (patch)
treebf47f5ee092ae925a8033bec05e8282fec243999 /configure.in
parent9132d52a23ed87b9590338cb7d640bf5d51f3061 (diff)
downloadlibapr-12d6f279a32ca0471c63498c24f3a5f16eb5d3d2.tar.gz
We don't have apr_lock_create_np() on OS/2, override the test that thinks
it might due to having a working flock. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61812 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-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)