Commit 906d5cc0 authored by Marc G. Fournier's avatar Marc G. Fournier

Slight change to GUESS for finding the right entry in .similar

parent 7549bb66
...@@ -663,7 +663,7 @@ starts 'checking host system type...' ...@@ -663,7 +663,7 @@ starts 'checking host system type...'
************************************************************** **************************************************************
EOT EOT
TEMPLATE=generic TEMPLATE=generic
GUESS=`grep "$host" template/.similar 2>/dev/null` GUESS=`grep "^$host_no_ver=" template/.similar 2>/dev/null`
if test ! "$GUESS" if test ! "$GUESS"
then host_no_ver=`echo "$host" | sed 's/[0-9.]*$//'` then host_no_ver=`echo "$host" | sed 's/[0-9.]*$//'`
GUESS=`grep "$host_no_ver" template/.similar 2>/dev/null` GUESS=`grep "$host_no_ver" template/.similar 2>/dev/null`
...@@ -3227,7 +3227,7 @@ else ...@@ -3227,7 +3227,7 @@ else
fi fi
rm -f conftest* 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 $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
echo "configure:3233: checking whether ${CC-cc} needs -traditional" >&5 echo "configure:3233: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
......
...@@ -99,7 +99,7 @@ starts 'checking host system type...' ...@@ -99,7 +99,7 @@ starts 'checking host system type...'
************************************************************** **************************************************************
EOT EOT
TEMPLATE=generic TEMPLATE=generic
GUESS=`grep "$host" template/.similar 2>/dev/null` GUESS=`grep "^$host_no_ver=" template/.similar 2>/dev/null`
if test ! "$GUESS" if test ! "$GUESS"
then host_no_ver=`echo "$host" | sed 's/[[0-9.]]*$//'` then host_no_ver=`echo "$host" | sed 's/[[0-9.]]*$//'`
GUESS=`grep "$host_no_ver" template/.similar 2>/dev/null` GUESS=`grep "$host_no_ver" template/.similar 2>/dev/null`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment