svr4.pl

来自「source of perl for linux application,」· PL 代码 · 共 26 行

PL
26
字号
# For NCR MP-RAS 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#	foo foo 4.2 1.1.2 shg2 386at# the system needs to explicitly link against -lmw to pull in some# symbols such as _mwoflocheckl and possibly others.# For the first two, 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.#  (See hints/svr4.sh for more details.)#	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'];}# A better NCR MP-RAS test, thanks to W. Geoffrey Rommel, is to# look for /etc/issue and /etc/.relid.  A. Dougherty, September 16, 2003elsif( -e '/etc/issue' && -e '/etc/.relid') {    $self->{LIBS} = ['-lm -posix -lcposix -lmw'];}# Not sure what OS this one is.elsif ($Config{archname} =~ /RM\d\d\d-svr4/) {    $self->{LIBS} = ['-lm -lc -lposix -lcposix'];}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?