X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=configure;h=60139fded49f5e9d75409efc9a418ae2aa850196;hp=04dd908bd2e6f47cfcce82f5db32b82b1369f844;hb=b46005d557c870f1125f2fc4dd139adc0bdc54c5;hpb=d741a3b912f17d84dc8dc87474e0b989c775de50 diff --git a/configure b/configure index 04dd908..60139fd 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.30 2002/11/02 19:48:12 carlsonj Exp $ +# $Id: configure,v 1.31 2004/01/17 05:47:55 carlsonj Exp $ # if [ -d /NextApps ]; then # system="NeXTStep" @@ -27,7 +27,7 @@ case $system in esac;; 5.[1-6]*) state="known"; ksrc="solaris"; makext="sol2";; esac - if [ -x /opt/SUNWspro/bin/cc ] && + if [ -x /opt/SUNWspro/bin/cc -a "$1" != "gcc" ] && /opt/SUNWspro/bin/cc -flags >/dev/null 2>&1; then : # use Sun WorkShop compiler elif gcc --version >/dev/null 2>&1; then