This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] reorganize toplevel configure.in, part 1


This reorganizes top level configure.in a little.  It doesn't have any
semantic changes, but it will make it easier for me to do my next set of
changes.  I'm trying to, bit by bit, reorganize configure.in so that it
does things in a particular order: First deciding what directories to
build, then deciding how to build them.   This doesn't do all of that,
but it starts to make a block at the beginning which is *just* what
directories to build.  It also moves everything from the 'per-host'
section into the 'per-target' section, which doesn't lose us anything,
but does make it easier to make subsequent rearrangments.

Tested on i686-pc-linux-gnu, doesn't change anything produced.

2002-06-18  Nathanael Nerode  <neroden@twcny.rr.com>
	* configure.in: Rearrange a little.

Index: configure.in
===================================================================
RCS file: /cvsroot/gcc/gcc/configure.in,v
retrieving revision 1.153
diff -u -r1.153 configure.in
--- configure.in	9 Jun 2002 01:34:39 -0000	1.153
+++ configure.in	18 Jun 2002 20:59:08 -0000
@@ -45,8 +45,6 @@
 host_libs="intl mmalloc libiberty opcodes bfd readline db tcl tk tclX itcl tix libgui zlib"
 
 libstdcxx_version="target-libstdc++-v3"
-# Don't use libstdc++-v3's flags to configure/build itself.
-libstdcxx_flags='`case $$dir in libstdc++-v3 | libjava) ;; *) test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags --build-includes;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
 
 # these tools are built for the host environment
 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
@@ -118,6 +116,13 @@
 
 # per-host:
 
+# There is no longer anything interesting in the per-host section.
+
+# per-target:
+
+# Don't use libstdc++-v3's flags to configure/build itself.
+libstdcxx_flags='`case $$dir in libstdc++-v3 | libjava) ;; *) test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags --build-includes;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
+
 # Work in distributions that contain no compiler tools, like Autoconf.
 tentative_cc=""
 if test -d ${srcdir}/config ; then
@@ -350,8 +355,6 @@
   done
   host_makefile_frag=mh-frag
 fi
-
-# per-target:
 
 case "${target}" in
   v810*)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]