1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-09 17:03:00 +03:00

Include $cc_string in the info reported by a configure run.

Without this, it's not very easy to tell which compiler version a buildfarm
animal is actually using at the moment.
This commit is contained in:
Tom Lane
2011-08-28 17:14:52 -04:00
parent 94db6664e2
commit 2c5d6f1fb5
2 changed files with 18 additions and 17 deletions

21
configure vendored
View File

@@ -29700,16 +29700,6 @@ fi
fi
# Begin output steps
{ $as_echo "$as_me:$LINENO: using CFLAGS=$CFLAGS" >&5
$as_echo "$as_me: using CFLAGS=$CFLAGS" >&6;}
{ $as_echo "$as_me:$LINENO: using CPPFLAGS=$CPPFLAGS" >&5
$as_echo "$as_me: using CPPFLAGS=$CPPFLAGS" >&6;}
{ $as_echo "$as_me:$LINENO: using LDFLAGS=$LDFLAGS" >&5
$as_echo "$as_me: using LDFLAGS=$LDFLAGS" >&6;}
# Create compiler version string
if test x"$GCC" = x"yes" ; then
cc_string=`${CC} --version | sed q`
@@ -29738,6 +29728,17 @@ _ACEOF
# Begin output steps
{ $as_echo "$as_me:$LINENO: using compiler=$cc_string" >&5
$as_echo "$as_me: using compiler=$cc_string" >&6;}
{ $as_echo "$as_me:$LINENO: using CFLAGS=$CFLAGS" >&5
$as_echo "$as_me: using CFLAGS=$CFLAGS" >&6;}
{ $as_echo "$as_me:$LINENO: using CPPFLAGS=$CPPFLAGS" >&5
$as_echo "$as_me: using CPPFLAGS=$CPPFLAGS" >&6;}
{ $as_echo "$as_me:$LINENO: using LDFLAGS=$LDFLAGS" >&5
$as_echo "$as_me: using LDFLAGS=$LDFLAGS" >&6;}
# prepare build tree if outside source tree
# Note 1: test -ef might not exist, but it's more reliable than `pwd`.
# Note 2: /bin/pwd might be better than shell's built-in at getting