diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Apr 5 08:17:57 1996 Jason Molenda (crash@phydeaux.cygnus.com) + + * configure.in (host==solaris): Pass only the first word of $CC + to /usr/bin/which when checking if we're using /usr/ccs/bin/cc. + Fri Apr 5 03:16:13 1996 Jason Molenda (crash@phydeaux.cygnus.com) * Makefile.in (BASE_FLAGS_TO_PASS): pass down $(MAKE). diff --git a/configure.in b/configure.in index c668cc4..534999c 100644 --- a/configure.in +++ b/configure.in @@ -693,7 +693,8 @@ rm -f conftest* # The Solaris /usr/ucb/cc compiler does not appear to work. case "${host}" in sparc-sun-solaris2*) - if [ "`/usr/bin/which ${CC-cc}`" = "/usr/ucb/cc" ] ; then + CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`" + if [ "`/usr/bin/which $CCBASE`" = "/usr/ucb/cc" ] ; then could_use= [ -d /opt/SUNWspro/bin ] && could_use="/opt/SUNWspro/bin" if [ -d /opt/cygnus/bin ] ; then |