From: Tom Lane Date: Sun, 28 Aug 2011 21:14:52 +0000 (-0400) Subject: Include $cc_string in the info reported by a configure run. X-Git-Tag: REL9_2_BETA1~1196 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2c5d6f1fb570db1a287532d3291d284710e756bf;p=thirdparty%2Fpostgresql.git 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. --- diff --git a/configure b/configure index 2e764fbbd08..a883a8f9465 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index a844afc67fc..7ef9548a49b 100644 --- a/configure.in +++ b/configure.in @@ -1860,13 +1860,6 @@ else PGAC_PROG_CC_LDFLAGS_OPT([-Wl,--as-needed], $link_test_func) fi - -# Begin output steps - -AC_MSG_NOTICE([using CFLAGS=$CFLAGS]) -AC_MSG_NOTICE([using CPPFLAGS=$CPPFLAGS]) -AC_MSG_NOTICE([using LDFLAGS=$LDFLAGS]) - # Create compiler version string if test x"$GCC" = x"yes" ; then cc_string=`${CC} --version | sed q` @@ -1889,6 +1882,13 @@ $AWK '{printf "%d%02d%02d", $1, $2, (NF >= 3) ? $3 : 0}'`"] AC_DEFINE_UNQUOTED(PG_VERSION_NUM, $PG_VERSION_NUM, [PostgreSQL version as a number]) +# Begin output steps + +AC_MSG_NOTICE([using compiler=$cc_string]) +AC_MSG_NOTICE([using CFLAGS=$CFLAGS]) +AC_MSG_NOTICE([using CPPFLAGS=$CPPFLAGS]) +AC_MSG_NOTICE([using LDFLAGS=$LDFLAGS]) + # 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