From: Jarkko Hietaniemi Date: Thu, 29 Aug 2002 16:43:51 +0000 (+0300) Subject: AIX compiler setup sanity checking X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=444379fb158f55ef6465d6e50c03864ed09002d4;p=p5sagit%2Fp5-mst-13.2.git AIX compiler setup sanity checking Message-Id: <20020829134351.GG5219@lyta.hut.fi> p4raw-id: //depot/perl@17803 --- diff --git a/hints/aix.sh b/hints/aix.sh index 4ccbc68..231d348 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -209,6 +209,28 @@ esac # the required -bE:$installarchlib/CORE/perl.exp is added by # libperl.U (Configure) later. +case "$cc" in +*gcc*) ;; +cc*|xlc*) # cc should've been set by line 116 or so if empty. + if test ! -x /usr/bin/$cc -a -x /usr/vac/bin/$cc; then + case ":$PATH:" in + *:/usr/vac/bin:*) ;; + *) cat <