configure.in (BUILD_PREFIX, [...]): Set if enable coverage is on.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 9 Jul 2003 11:48:24 +0000 (11:48 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 9 Jul 2003 11:48:24 +0000 (11:48 +0000)
* configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
coverage is on.
* configure: Regenerated.
* Makefile.in (ALL_CFLAGS): Correct its comment.

From-SVN: r69136

gcc/ChangeLog
gcc/Makefile.in
gcc/configure
gcc/configure.in

index e5cf6bba07802019c6266c76359a64e839a73152..d19961db8853582053e05f5129fbb7ea062ac5e1 100644 (file)
@@ -1,3 +1,10 @@
+2003-07-09  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
+       coverage is on.
+       * configure: Regenerated.
+       * Makefile.in (ALL_CFLAGS): Correct its comment.
+
 2003-07-08  Mark Mitchell  <mark@codesourcery.com>
 
        * fold-const.c (make_range): Do not access operand 1 for a
index ff2b409e60f8c89f15932f05e17b36b472996199..a0003cbeccdfa52137ddc916e6a9934bb9590a9f 100644 (file)
@@ -668,9 +668,8 @@ CPPLIB_H = cpplib.h line-map.h
 # autoconf inserts -DCROSS_COMPILE if we are building a cross compiler.
 INTERNAL_CFLAGS = -DIN_GCC @CROSS@
 
-# This is the variable actually used when we compile.
-# If you change this line, you probably also need to change the definition
-# of BUILD_CFLAGS in build-make to match.
+# This is the variable actually used when we compile. If you change this,
+# you probably want to update BUILD_CFLAGS in configure.in
 ALL_CFLAGS = $(X_CFLAGS) $(T_CFLAGS) \
   $(CFLAGS) $(INTERNAL_CFLAGS) $(COVERAGE_FLAGS) $(WARN_CFLAGS) $(XCFLAGS) @DEFS@
 
index 257d16f3b0dcd8295528b3664d802af0743ee1d6..798361b7ec452bea96b7cc5b2d5e8a76cc2eb981 100755 (executable)
@@ -5679,8 +5679,8 @@ BUILD_CFLAGS='$(ALL_CFLAGS)'
 STMP_FIXINC=stmp-fixinc                
 STMP_FIXPROTO=stmp-fixproto    
 
-# And these apply if build != host.
-if test x$build != x$host
+# And these apply if build != host, or we are generating coverage data
+if test x$build != x$host || test "x$coverage_flags" != x
 then
     BUILD_PREFIX=build-
     BUILD_PREFIX_1=build-
index 080850d966ce5a9962cf22f0075e65e2b1f00c6b..16bd3ea583fcdf63501ae13961311734a6d0ff3b 100644 (file)
@@ -1413,8 +1413,8 @@ BUILD_CFLAGS='$(ALL_CFLAGS)'      AC_SUBST(BUILD_CFLAGS)
 STMP_FIXINC=stmp-fixinc                AC_SUBST(STMP_FIXINC)
 STMP_FIXPROTO=stmp-fixproto    AC_SUBST(STMP_FIXPROTO)
 
-# And these apply if build != host.
-if test x$build != x$host
+# And these apply if build != host, or we are generating coverage data
+if test x$build != x$host || test "x$coverage_flags" != x
 then
     BUILD_PREFIX=build-
     BUILD_PREFIX_1=build-