diff options
author | Marc G. Fournier <scrappy@hub.org> | 1998-02-24 03:16:52 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1998-02-24 03:16:52 +0000 |
commit | 906d5cc05141e5b68b5717f2c0fd3edfca7495a6 (patch) | |
tree | a22303dd15590a7d93489542c9cf0fca1b914e57 /src | |
parent | 7549bb66c233d7034975458d8177e806061679e2 (diff) | |
download | postgresql-906d5cc05141e5b68b5717f2c0fd3edfca7495a6.tar.gz postgresql-906d5cc05141e5b68b5717f2c0fd3edfca7495a6.zip |
Slight change to GUESS for finding the right entry in .similar
Diffstat (limited to 'src')
-rwxr-xr-x | src/configure | 4 | ||||
-rw-r--r-- | src/configure.in | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/configure b/src/configure index a28832d4611..500f4e3f5ff 100755 --- a/src/configure +++ b/src/configure @@ -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 diff --git a/src/configure.in b/src/configure.in index 927cff72ad0..87446ee7498 100644 --- a/src/configure.in +++ b/src/configure.in @@ -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` |