And some more DynaLoader things that should not be tested on
[p5sagit/p5-mst-13.2.git] / ext / DynaLoader / hints / aix.pl
CommitLineData
4e774c84 1# See dl_aix.xs for details.
2use Config;
3if ($Config{libs} =~ /-lC/ && -f '/lib/libC.a') {
c88be79f 4 $self->{CCFLAGS} = $Config{ccflags} . ' -DUSE_libC';
3a7209f1 5 if (-f '/usr/vacpp/include/load.h') {
6 $self->{CCFLAGS} .= ' -DUSE_vacpp_load_h';
7 } elsif (-f '/usr/ibmcxx/include/load.h') {
bab3591f 8 $self->{CCFLAGS} .= ' -DUSE_ibmcxx_load_h';
4e774c84 9 } elsif (-f '/usr/lpp/xlC/include/load.h') {
bab3591f 10 $self->{CCFLAGS} .= ' -DUSE_xlC_load_h';
a660608e 11 } elsif (-f '/usr/include/load.h') {
12 $self->{CCFLAGS} .= ' -DUSE_load_h';
4e774c84 13 }
14}