Commit | Line | Data |
75d5269b |
1 | # Many AIX installations seem not to have the right PATH |
2 | # for the C compiler. Steal the logic from Perl's hints/aix.sh. |
3 | use Config; |
4 | unless ($Config{gccversion}) { |
5 | my $cc = $Config{cc}; |
6 | if (! -x $cc && -x "/usr/vac/bin/$cc") { |
7 | unless (":$ENV{PATH}:" =~ m{:/usr/vac/bin:}) { |
8 | die <<__EOE__; |
9 | *** |
10 | *** You either implicitly or explicitly specified an IBM C compiler, |
11 | *** but you do not seem to have one in /usr/bin, but you seem to have |
12 | *** the VAC installed in /usr/vac, but you do not have the /usr/vac/bin |
13 | *** in your PATH. I suggest adding that and retrying Makefile.PL. |
14 | *** |
15 | __EOE__ |
16 | } |
17 | } |
18 | } |