summaryrefslogtreecommitdiff
path: root/libcpp/configure
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-23 19:22:01 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-23 19:22:01 +0000
commit0cb78cbddbf960884e4262c0729b88c9c7fbabb0 (patch)
treee1398ce8b4f5f98a45b8f38df417d486bb273c79 /libcpp/configure
parent84a7905b41f417b5416c1b20bd8c895884613364 (diff)
downloadgcc-0cb78cbddbf960884e4262c0729b88c9c7fbabb0.tar.gz
config:
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do anything for non-GCC compilers. libcpp: * configure: Regenerate. gcc: PR bootstrap/18058 * recog.c (recog_memoized): Don't define if GENERATOR_FILE. * ggc-none.c (ggc_free): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94123 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/configure')
-rwxr-xr-xlibcpp/configure6
1 files changed, 5 insertions, 1 deletions
diff --git a/libcpp/configure b/libcpp/configure
index 274fb0130e6..604ed847d6f 100755
--- a/libcpp/configure
+++ b/libcpp/configure
@@ -2757,7 +2757,8 @@ fi
CFLAGS="$save_CFLAGS"
WARN_PEDANTIC=
-echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
+if test $GCC = yes; then
+ echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2818,6 +2819,9 @@ if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
fi
+fi
+
+
# Only enable with --enable-werror-always until existing warnings are
# corrected.