blob: d4231ccb3ef8a3deaa405d6fecea57b2250c06d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# See dl_aix.xs for details.
use Config;
if ($Config{libs} =~ /-lC/ && -f '/lib/libC.a') {
$self->{CCFLAGS} = $Config{ccflags} . ' -DUSE_libC';
if (-f '/usr/vacpp/include/load.h') {
$self->{CCFLAGS} .= ' -DUSE_vacpp_load_h';
} elsif (-f '/usr/ibmcxx/include/load.h') {
$self->{CCFLAGS} .= ' -DUSE_ibmcxx_load_h';
} elsif (-f '/usr/lpp/xlC/include/load.h') {
$self->{CCFLAGS} .= ' -DUSE_xlC_load_h';
} elsif (-f '/usr/include/load.h') {
$self->{CCFLAGS} .= ' -DUSE_load_h';
}
}
|