]> sourceware.org Git - newlib-cygwin.git/commitdiff
2002-12-10 Nathanael Nerode <neroden@gcc.gnu.org>
authorNathanael Nerode <neroden@gcc.gnu.org>
Wed, 11 Dec 2002 04:00:09 +0000 (04:00 +0000)
committerNathanael Nerode <neroden@gcc.gnu.org>
Wed, 11 Dec 2002 04:00:09 +0000 (04:00 +0000)
* Makefile.tpl: Substitute more autoconfily.
* configure: Substitute more autoconfily.
* Makefile.in: Regenerate.

ChangeLog
Makefile.in
Makefile.tpl
configure

index afcefa44eded154b493410b6b5274ff96ea0a8a7..fcba85be4fb22ef70efaa544a3374c8a26d6edd1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,13 @@
-2002-12-06  DJ Delorie  <dj@redhat.com>
+2002-12-10  Nathanael Nerode  <neroden@gcc.gnu.org>
 
-       * Makefile.tpl: Change configure dependencies to not have real
-       targets depend on phony targets.
+       * Makefile.tpl: Substitute more autoconfily.
+       * configure: Substitute more autoconfily.
+       * Makefile.in: Regenerate.
+
+2002-12-08  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.tpl (all-sim): Depend on maybe-configure-gdb.
+       * Makefile.in (all-sim): Ditto.
 
 2002-12-06  DJ Delorie  <dj@redhat.com>
 
index 81b4e4e9a483efc8df289f4280004f4121e32471..47e51921e4305f4c5aee9812f65a456a0859f541 100644 (file)
@@ -109,7 +109,7 @@ INSTALL_DATA = $(INSTALL) -m 644
 AS = @AS@
 AR = @AR@
 AR_FLAGS = rc
-CC = cc
+CC = @CC@
 
 # Special variables passed down in EXTRA_GCC_FLAGS.  They are defined
 # here so that they can be overridden by Makefile fragments.
@@ -117,9 +117,8 @@ BUILD_CC = $(CC_FOR_BUILD)
 BUILD_PREFIX = @BUILD_PREFIX@
 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
 
-# These flag values are normally overridden by the configure script.
-CFLAGS = -g
-CXXFLAGS = -g -O2
+CFLAGS = @CFLAGS@
+CXXFLAGS = @CXXFLAGS@
 
 LDFLAGS = 
 LIBCFLAGS = $(CFLAGS)
@@ -134,7 +133,7 @@ LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
 PICFLAG = 
 PICFLAG_FOR_TARGET = 
 
-CXX = c++
+CXX = @CXX@
 
 # Use -O2 to stress test the compiler.
 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
index 8a9284ef164b3605657604248ed55ced26b2df5e..3de524c0e3e7b3458ac63eb078943381d8d31130 100644 (file)
@@ -112,7 +112,7 @@ INSTALL_DATA = $(INSTALL) -m 644
 AS = @AS@
 AR = @AR@
 AR_FLAGS = rc
-CC = cc
+CC = @CC@
 
 # Special variables passed down in EXTRA_GCC_FLAGS.  They are defined
 # here so that they can be overridden by Makefile fragments.
@@ -120,9 +120,8 @@ BUILD_CC = $(CC_FOR_BUILD)
 BUILD_PREFIX = @BUILD_PREFIX@
 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
 
-# These flag values are normally overridden by the configure script.
-CFLAGS = -g
-CXXFLAGS = -g -O2
+CFLAGS = @CFLAGS@
+CXXFLAGS = @CXXFLAGS@
 
 LDFLAGS = 
 LIBCFLAGS = $(CFLAGS)
@@ -137,7 +136,7 @@ LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
 PICFLAG = 
 PICFLAG_FOR_TARGET = 
 
-CXX = c++
+CXX = @CXX@
 
 # Use -O2 to stress test the compiler.
 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
index 0b18cc5d17e9b19c73eeab75a14441fbc401009c..7a210554df68cb825ef8385bd2fd1e422aec74d8 100755 (executable)
--- a/configure
+++ b/configure
@@ -1279,34 +1279,10 @@ if [ -f ${srcdir}/${Makefile_in} ] ; then
       -e "s|@oldincludedir@|${oldincludedir}|" \
       -e "s|@infodir@|${infodir}|" \
       -e "s|@mandir@|${mandir}|" \
-      -e "/^CC[        ]*=/{
-          :loop1
-          /\\\\$/ N
-          s/\\\\\\n//g
-          t loop1
-          s%^CC[       ]*=.*$%CC = ${CC}%
-          }" \
-      -e "/^CXX[       ]*=/{
-          :loop2
-          /\\\\$/ N
-          s/\\\\\\n//g
-          t loop2
-          s%^CXX[      ]*=.*$%CXX = ${CXX}%
-          }" \
-      -e "/^CFLAGS[    ]*=/{
-          :loop3
-          /\\\\$/ N
-          s/\\\\\\n//g
-          t loop3
-          s%^CFLAGS[   ]*=.*$%CFLAGS = ${CFLAGS}%
-          }" \
-      -e "/^CXXFLAGS[  ]*=/{
-          :loop4
-          /\\\\$/ N
-          s/\\\\\\n//g
-          t loop4
-          s%^CXXFLAGS[         ]*=.*$%CXXFLAGS = ${CXXFLAGS}%
-          }" \
+      -e "s|@CC@|${CC}|" \
+      -e "s|@CXX@|${CXX}|" \
+      -e "s|@CC@|${CFLAGS}|" \
+      -e "s|@CXXFLAGS@|${CXXFLAGS}|" \
       -e "s|@config_shell@|${config_shell}|" \
       -e "s|@srcdir@|${srcdir}|" \
       -e "s/\f//" \
This page took 0.048089 seconds and 5 git commands to generate.