1# For NCR MP-RAS systems with uname -a output like the following: 2# foo foo 4.0 3.0 3441 Pentium III(TM)-ISA/PCI 3# foo foo 4.0 3.0 4400 Pentium II(TM)-ISA/PCI 4# foo foo 4.2 1.1.2 shg2 386at 5# the system needs to explicitly link against -lmw to pull in some 6# symbols such as _mwoflocheckl and possibly others. 7# For the first two, Configure sets archname='3441-svr4.0' or '4400-svr4.0'. 8# The regex below is an attempt to get both systems as well as 9# any reasonable future permutations. 10# Thanks to Doug Hendricks for the original info. 11# (See hints/svr4.sh for more details.) 12# A. Dougherty Tue Oct 30 10:20:07 EST 2001 13# 14if ($Config{'archname'} =~ /[34]4[0-9][0-9]-svr4/) { 15 $self->{LIBS} = ['-lm -posix -lcposix -lmw']; 16} 17# A better NCR MP-RAS test, thanks to W. Geoffrey Rommel, is to 18# look for /etc/issue and /etc/.relid. A. Dougherty, September 16, 2003 19elsif( -e '/etc/issue' && -e '/etc/.relid') { 20 $self->{LIBS} = ['-lm -posix -lcposix -lmw']; 21} 22# Not sure what OS this one is. 23elsif ($Config{archname} =~ /RM\d\d\d-svr4/) { 24 $self->{LIBS} = ['-lm -lc -lposix -lcposix']; 25} 26