Change 17803 by ams@lustre on 2002/08/29 13:09:47

        Subject: [PATCH] AIX compiler setup sanity checking
        From: Jarkko Hietaniemi <[EMAIL PROTECTED]>
        Date: Thu, 29 Aug 2002 16:43:51 +0300
        Message-Id: <[EMAIL PROTECTED]>

Affected files ...

.... //depot/perl/hints/aix.sh#80 edit

Differences ...

==== //depot/perl/hints/aix.sh#80 (text) ====
Index: perl/hints/aix.sh
--- perl/hints/aix.sh#79~17701~ Thu Aug  8 08:06:01 2002
+++ perl/hints/aix.sh   Thu Aug 29 06:09:47 2002
@@ -209,6 +209,28 @@
 # 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 <<EOF
+
+***
+*** You either implicitly or explicitly specified an IBM C compiler,
+*** but you do not seem to have one in /usr/bin, but you seem to have
+*** the VAC installed in /usr/vac, but you do not have the /usr/vac/bin
+*** in your PATH.  I suggest adding that and retrying Configure.
+***
+EOF
+                  exit 1
+                  ;;
+               esac
+       fi
+       ;;
+esac
+
 case "$ldlibpthname" in
 '') ldlibpthname=LIBPATH ;;
 esac
End of Patch.

Reply via email to