Slight change to GUESS for finding the right entry in .similar
authorMarc G. Fournier <scrappy@hub.org>
Tue, 24 Feb 1998 03:16:52 +0000 (03:16 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Tue, 24 Feb 1998 03:16:52 +0000 (03:16 +0000)
src/configure
src/configure.in

index a28832d46116e6a9668d9568a58acfd8b760e632..500f4e3f5fff7427c375da35c40a1b8cf9cf60b5 100755 (executable)
@@ -663,7 +663,7 @@ starts 'checking host system type...'
 **************************************************************
 EOT
        TEMPLATE=generic
-       GUESS=`grep "$host" template/.similar 2>/dev/null`
+       GUESS=`grep "^$host_no_ver=" template/.similar 2>/dev/null`
        if test ! "$GUESS"
        then    host_no_ver=`echo "$host" | sed 's/[0-9.]*$//'`
                GUESS=`grep "$host_no_ver" template/.similar 2>/dev/null`
@@ -3227,7 +3227,7 @@ else
 fi
 rm -f conftest*
 
-if test $ac_cv_prog_gcc = yes; then
+if test x$ac_cv_prog_gcc = xyes; then
     echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
 echo "configure:3233: checking whether ${CC-cc} needs -traditional" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
index 927cff72ad00b6a92001808b289c34b98af6f5bb..87446ee749827ac047f75dbaf51cfe16024b9704 100644 (file)
@@ -99,7 +99,7 @@ starts 'checking host system type...'
 **************************************************************
 EOT
        TEMPLATE=generic
-       GUESS=`grep "$host" template/.similar 2>/dev/null`
+       GUESS=`grep "^$host_no_ver=" template/.similar 2>/dev/null`
        if test ! "$GUESS"
        then    host_no_ver=`echo "$host" | sed 's/[[0-9.]]*$//'`
                GUESS=`grep "$host_no_ver" template/.similar 2>/dev/null`