Module::Build's contrib directory should be marked as EXCLUDED from the core.
[p5sagit/p5-mst-13.2.git] / ext / Time-HiRes / hints / aix.pl
CommitLineData
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.
3use Config;
4unless ($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}