Commit | Line | Data |
177cde4c |
1 | # For NCR 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 | # the system needs to explicitly link against -lmw to pull in some |
b8392fa5 |
5 | # symbols such as _mwoflocheckl and possibly others. |
177cde4c |
6 | # Configure sets archname='3441-svr4.0' or '4400-svr4.0' |
7 | # The regex below is an attempt to get both systems as well as |
8 | # any reasonable future permutations. |
9 | # Thanks to Doug Hendricks for the original info. |
10 | # A. Dougherty Tue Oct 30 10:20:07 EST 2001 |
11 | if ($Config{'archname'} =~ /[34]4[0-9][0-9]-svr4/) { |
b8392fa5 |
12 | $self->{LIBS} = ['-lm -posix -lcposix -lmw']; |
13 | } |
14 | # Not sure what OS this one is. |
15 | elsif ($Config{archname} =~ /RM\d\d\d-svr4/) { |
16 | $self->{LIBS} = ['-lm -lc -lposix -lcposix']; |
17 | } |