Skip to content

Commit 2c5d6f1

Browse files
committed
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.
1 parent 94db666 commit 2c5d6f1

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

configure

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29700,16 +29700,6 @@ fi
2970029700

2970129701
fi
2970229702

29703-
29704-
# Begin output steps
29705-
29706-
{ $as_echo "$as_me:$LINENO: using CFLAGS=$CFLAGS" >&5
29707-
$as_echo "$as_me: using CFLAGS=$CFLAGS" >&6;}
29708-
{ $as_echo "$as_me:$LINENO: using CPPFLAGS=$CPPFLAGS" >&5
29709-
$as_echo "$as_me: using CPPFLAGS=$CPPFLAGS" >&6;}
29710-
{ $as_echo "$as_me:$LINENO: using LDFLAGS=$LDFLAGS" >&5
29711-
$as_echo "$as_me: using LDFLAGS=$LDFLAGS" >&6;}
29712-
2971329703
# Create compiler version string
2971429704
if test x"$GCC" = x"yes" ; then
2971529705
cc_string=`${CC} --version | sed q`
@@ -29738,6 +29728,17 @@ _ACEOF
2973829728

2973929729

2974029730

29731+
# Begin output steps
29732+
29733+
{ $as_echo "$as_me:$LINENO: using compiler=$cc_string" >&5
29734+
$as_echo "$as_me: using compiler=$cc_string" >&6;}
29735+
{ $as_echo "$as_me:$LINENO: using CFLAGS=$CFLAGS" >&5
29736+
$as_echo "$as_me: using CFLAGS=$CFLAGS" >&6;}
29737+
{ $as_echo "$as_me:$LINENO: using CPPFLAGS=$CPPFLAGS" >&5
29738+
$as_echo "$as_me: using CPPFLAGS=$CPPFLAGS" >&6;}
29739+
{ $as_echo "$as_me:$LINENO: using LDFLAGS=$LDFLAGS" >&5
29740+
$as_echo "$as_me: using LDFLAGS=$LDFLAGS" >&6;}
29741+
2974129742
# prepare build tree if outside source tree
2974229743
# Note 1: test -ef might not exist, but it's more reliable than `pwd`.
2974329744
# Note 2: /bin/pwd might be better than shell's built-in at getting

configure.in

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,13 +1860,6 @@ else
18601860
PGAC_PROG_CC_LDFLAGS_OPT([-Wl,--as-needed], $link_test_func)
18611861
fi
18621862

1863-
1864-
# Begin output steps
1865-
1866-
AC_MSG_NOTICE([using CFLAGS=$CFLAGS])
1867-
AC_MSG_NOTICE([using CPPFLAGS=$CPPFLAGS])
1868-
AC_MSG_NOTICE([using LDFLAGS=$LDFLAGS])
1869-
18701863
# Create compiler version string
18711864
if test x"$GCC" = x"yes" ; then
18721865
cc_string=`${CC} --version | sed q`
@@ -1889,6 +1882,13 @@ $AWK '{printf "%d%02d%02d", $1, $2, (NF >= 3) ? $3 : 0}'`"]
18891882
AC_DEFINE_UNQUOTED(PG_VERSION_NUM, $PG_VERSION_NUM, [PostgreSQL version as a number])
18901883

18911884

1885+
# Begin output steps
1886+
1887+
AC_MSG_NOTICE([using compiler=$cc_string])
1888+
AC_MSG_NOTICE([using CFLAGS=$CFLAGS])
1889+
AC_MSG_NOTICE([using CPPFLAGS=$CPPFLAGS])
1890+
AC_MSG_NOTICE([using LDFLAGS=$LDFLAGS])
1891+
18921892
# prepare build tree if outside source tree
18931893
# Note 1: test -ef might not exist, but it's more reliable than `pwd`.
18941894
# Note 2: /bin/pwd might be better than shell's built-in at getting

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy