Configure OS cleanup.

This commit is contained in:
Bruce Momjian 1997-09-21 22:54:19 +00:00
parent 08566431c4
commit 2a8bea900a
2 changed files with 6 additions and 6 deletions

6
src/configure vendored
View File

@ -641,10 +641,10 @@ starts 'checking host system type...'
**************************************************************
EOT
TEMPLATE=generic
GUESS=`grep "$host_os" template/.similar 2>/dev/null`
GUESS=`grep "$host" template/.similar 2>/dev/null`
if test ! "$GUESS"
then host_os_no_ver=`echo "$host_os" | sed 's/[0-9.]*$//'`
GUESS=`grep "$host_os_no_ver" template/.similar 2>/dev/null`
then host_no_ver=`echo "$host" | sed 's/[0-9.]*$//'`
GUESS=`grep "$host_no_ver" template/.similar 2>/dev/null`
fi
if test "$GUESS"
then

View File

@ -79,10 +79,10 @@ starts 'checking host system type...'
**************************************************************
EOT
TEMPLATE=generic
GUESS=`grep "$host_os" template/.similar 2>/dev/null`
GUESS=`grep "$host" template/.similar 2>/dev/null`
if test ! "$GUESS"
then host_os_no_ver=`echo "$host_os" | sed 's/[[0-9.]]*$//'`
GUESS=`grep "$host_os_no_ver" template/.similar 2>/dev/null`
then host_no_ver=`echo "$host" | sed 's/[[0-9.]]*$//'`
GUESS=`grep "$host_no_ver" template/.similar 2>/dev/null`
fi
if test "$GUESS"
then