summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2001-10-30 07:44:27 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-30 17:06:39 +0000
commit177cde4c6a7c3c42786feaab44e78d637bb4cb97 (patch)
treec65605b47df5c1cb47f3a3ad880b5637ba2720d8 /ext/POSIX
parenta129b8464589d5dad30757dd98425feafa1446f5 (diff)
downloadperl-177cde4c6a7c3c42786feaab44e78d637bb4cb97.tar.gz
Re: [PATCH] Re: DynaLoader problem on NCR SVR4 box
Message-ID: <Pine.SOL.4.10.10110301241210.25351-100000@maxwell.phys.lafayette.edu> p4raw-id: //depot/perl@12781
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/hints/svr4.pl15
1 files changed, 10 insertions, 5 deletions
diff --git a/ext/POSIX/hints/svr4.pl b/ext/POSIX/hints/svr4.pl
index 07f2cb0412..31e6640522 100644
--- a/ext/POSIX/hints/svr4.pl
+++ b/ext/POSIX/hints/svr4.pl
@@ -1,9 +1,14 @@
-# NCR MP-RAS. Thanks to Doug Hendricks for this info.
-# Configure sets osname=svr4.0, osvers=3.0, archname='3441-svr4.0'
-# This system needs to explicitly link against -lmw to pull in some
+# For NCR systems with uname -a output like the following:
+# foo foo 4.0 3.0 3441 Pentium III(TM)-ISA/PCI
+# foo foo 4.0 3.0 4400 Pentium II(TM)-ISA/PCI
+# the system needs to explicitly link against -lmw to pull in some
# symbols such as _mwoflocheckl and possibly others.
-# A. Dougherty Thu Dec 7 11:55:28 EST 2000
-if ($Config{'archname'} =~ /3441-svr4/) {
+# Configure sets archname='3441-svr4.0' or '4400-svr4.0'
+# The regex below is an attempt to get both systems as well as
+# any reasonable future permutations.
+# Thanks to Doug Hendricks for the original info.
+# A. Dougherty Tue Oct 30 10:20:07 EST 2001
+if ($Config{'archname'} =~ /[34]4[0-9][0-9]-svr4/) {
$self->{LIBS} = ['-lm -posix -lcposix -lmw'];
}
# Not sure what OS this one is.