This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for 27895dda8085, ac3b837b9e1b, f05081b8ef22, 000814da4770
[perl5.git] / cpan / Time-HiRes / hints / aix.pl
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 }