mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-28 00:31:51 +02:00
Slight change to GUESS for finding the right entry in .similar
This commit is contained in:
parent
7549bb66c2
commit
906d5cc051
4
src/configure
vendored
4
src/configure
vendored
@ -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
|
|||||||
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...'
|
|||||||
**************************************************************
|
**************************************************************
|
||||||
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`
|
||||||
|
Loading…
Reference in New Issue
Block a user