mlockall broken on i386

This commit is contained in:
wilfried 2001-03-30 17:49:03 +00:00
parent b43336ce15
commit 468c74233f
2 changed files with 37 additions and 3 deletions

View File

@ -0,0 +1,24 @@
--- conf/configure.orig Sat Jun 3 23:37:43 2000
+++ conf/configure Fri Mar 30 19:45:08 2001
@@ -3940,6 +3940,12 @@ fi
echo $ac_n "checking for mlockall""... $ac_c" 1>&6
echo "configure:3943: checking for mlockall" >&5
+case "$XARCH" in
+ i386-openbsd*)
+ # mlockall broken
+ ac_cv_func_mlockall=no
+ ;;
+ *)
if eval "test \"`echo '$''{'ac_cv_func_mlockall'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3978,6 +3984,8 @@ rm -fr conftest*
fi
fi
+;;
+esac
echo "$ac_t""$ac_cv_func_mlockall" 1>&6
if test $ac_cv_func_mlockall = yes; then

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.1 2001/03/24 17:31:23 danh Exp $
--- configure.orig Sat Mar 24 12:03:37 2001
+++ configure Sat Mar 24 12:04:36 2001
$OpenBSD: patch-configure,v 1.2 2001/03/30 17:49:03 wilfried Exp $
--- configure.orig Thu Jul 20 06:09:42 2000
+++ configure Fri Mar 30 19:04:30 2001
@@ -2540,7 +2540,7 @@ if test "${ac_cv_lib_readline_readline+s
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -19,3 +19,13 @@ $OpenBSD: patch-configure,v 1.1 2001/03/24 17:31:23 danh Exp $
fi
@@ -6072,6 +6072,9 @@ fi
done
case "$target" in
+ i386-*-openbsd*)
+ # mlockall broken
+ ;;
*-*-aix4*)
# Just a stub. Idiots.
;;