*** empty log message ***
[deliverable/binutils-gdb.git] / configure.in
index 6b7a0cd43f5c4eb6ba8fd08afa4acb00f9b4939d..4102e594b5d5a01d2d751c3d542cf1e2a4891f07 100644 (file)
@@ -1212,7 +1212,7 @@ rm -f conftest*
 case "${host}" in
   sparc-sun-solaris2*)
       CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`"
-      if [ "`/usr/bin/which $CCBASE`" = "/usr/ucb/cc" ] ; then
+      if [ "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ] ; then 
           could_use=
           [ -d /opt/SUNWspro/bin ] && could_use="/opt/SUNWspro/bin"
           if [ -d /opt/cygnus/bin ] ; then
This page took 0.034383 seconds and 4 git commands to generate.