From: Alexandre Oliva Date: Tue, 3 Aug 1999 17:35:08 +0000 (+0000) Subject: configure.in (CXXFLAGS): The buggy g++ -g work-around was buggy itself... X-Git-Tag: releases/libgcj-2.95.1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd6aafbb4d1533686f642ced9c60009edf6a8acc;p=thirdparty%2Fgcc.git configure.in (CXXFLAGS): The buggy g++ -g work-around was buggy itself... 1999-08-03 Alexandre Oliva * configure.in (CXXFLAGS): The buggy g++ -g work-around was buggy itself; check for Makefile *anywhere* in CONFIG_FILES. * configure: Rebuilt. From-SVN: r28477 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index efacbf566fa3..32ccba09ba4b 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +1999-08-03 Alexandre Oliva + + * configure.in (CXXFLAGS): The buggy g++ -g work-around was buggy + itself; check for Makefile *anywhere* in CONFIG_FILES. + * configure: Rebuilt. + 1999-08-02 Tom Tromey * aclocal.m4, configure: Rebuilt for new libtool. diff --git a/libjava/configure b/libjava/configure index 06e7d1c1f8f5..9d133c72077e 100755 --- a/libjava/configure +++ b/libjava/configure @@ -5170,7 +5170,7 @@ CXX="${CXX}" EOF cat >> $CONFIG_STATUS <<\EOF test -z "$CONFIG_HEADERS" || echo timestamp > include/stamp-h -case " $CONFIG_FILES " in " Makefile ") +case " $CONFIG_FILES " in *" Makefile "*) if test "x$libjava_cv_gxx_debug_jboolean_bug" = xyes; then rm -f Makefile.new sed < Makefile > Makefile.new \ diff --git a/libjava/configure.in b/libjava/configure.in index 4d91d2c85c6b..cc3206bdc025 100644 --- a/libjava/configure.in +++ b/libjava/configure.in @@ -549,11 +549,11 @@ AC_CACHE_CHECK([for g++ -g jboolean bug], [libjava_cv_gxx_debug_jboolean_bug], ]) if test "x$libjava_cv_gxx_debug_jboolean_bug" = xyes; then JCFLAGS="$JCFLAGS -g0" - dnl Top-leve Makefile overrides CXXFLAGS, and AM_CXXFLAGS is before it, - dnl so we have to use this dirty hack + dnl Top-level Makefile overrides CXXFLAGS, and AM_CXXFLAGS is before it, + dnl so we have to use this dirty hack :-( dnl Note that, even though this code is within an if statement, it is dnl unconditionally added to config.status, so we have to test again. - AC_OUTPUT_COMMANDS([case " $CONFIG_FILES " in " Makefile ") + AC_OUTPUT_COMMANDS([case " $CONFIG_FILES " in *" Makefile "*) if test "x$libjava_cv_gxx_debug_jboolean_bug" = xyes; then rm -f Makefile.new sed < Makefile > Makefile.new \