source: trunk/essentials/dev-lang/perl/ext/DynaLoader/hints/aix.pl

Last change on this file was 3181, checked in by bird, 19 years ago

perl 5.8.8

File size: 505 bytes
Line 
1# See dl_aix.xs for details.
2use Config;
3if ($Config{libs} =~ /-lC/ && -f '/lib/libC.a') {
4 $self->{CCFLAGS} = $Config{ccflags} . ' -DUSE_libC';
5 if (-f '/usr/vacpp/include/load.h') {
6 $self->{CCFLAGS} .= ' -DUSE_vacpp_load_h';
7 } elsif (-f '/usr/ibmcxx/include/load.h') {
8 $self->{CCFLAGS} .= ' -DUSE_ibmcxx_load_h';
9 } elsif (-f '/usr/lpp/xlC/include/load.h') {
10 $self->{CCFLAGS} .= ' -DUSE_xlC_load_h';
11 } elsif (-f '/usr/include/load.h') {
12 $self->{CCFLAGS} .= ' -DUSE_load_h';
13 }
14}
Note: See TracBrowser for help on using the repository browser.