grep for proper kernel symbols for uvm detection, fix ELF-based arches. ok angelos

This commit is contained in:
pvalchev 2001-12-18 03:46:33 +00:00
parent f8bfd7de9b
commit 924a66c44e

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Configure,v 1.3 2001/12/16 18:40:11 pvalchev Exp $
--- Configure.orig Sun Dec 16 00:11:25 2001
+++ Configure Sun Dec 16 00:10:44 2001
$OpenBSD: patch-Configure,v 1.4 2001/12/18 03:46:33 pvalchev Exp $
--- Configure.orig Wed Jun 6 17:28:15 2001
+++ Configure Sun Dec 16 23:52:01 2001
@@ -2068,6 +2068,9 @@ kernel generation process.
2.9*)
LSOF_VERS=2090
@ -20,3 +20,12 @@ $OpenBSD: patch-Configure,v 1.3 2001/12/16 18:40:11 pvalchev Exp $
;;
*)
echo "Unknown OpenBSD version: $LSOF_VERS"
@@ -2157,7 +2160,7 @@ kernel generation process.
fi # }
if test "X$OPENBSD_UVM" = "X" # {
then
- nm /bsd | grep -q 'B _uvm$'
+ nm /bsd | egrep -q 'B _uvm$|B uvm$'
if test $? -eq 0 # {
then
OPENBSD_UVM="Y"