toplevel configure.in simple cleanup

Nathanael Nerode neroden@doctormoo.dyndns.org
Wed Apr 3 13:18:00 GMT 2002


Part of my collection of easy cleanups to make top level configure.in a
smaller target for autoconfiscation...

This patch eliminates a redundant test from configure.in; libgui is included 
in host_libs unconditionally, so doesn't need to be included conditionally 
one line down!  As far as I know there's no conceivable reason to include 
it twice.

2002-04-03  Nathanael Nerode  <neroden@doctormoo.dyndns.org>

	* configure.in: Eliminate redundant test for libgui.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.125
diff -c -3 -p -r1.125 configure.in
*** configure.in	2002/03/31 00:33:17	1.125
--- configure.in	2002/04/03 21:09:16
***************
*** 44,53 ****
  #
  host_libs="intl mmalloc libiberty opcodes bfd readline gash db tcl tk tcl8.1 tk8.1 tclX itcl tix libgui zlib"
  
- if [ "${enable_gdbgui}" = "yes" ] ; then
- 	host_libs="${host_libs} libgui"
- fi
- 
  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'
--- 44,49 ----



More information about the Gcc-patches mailing list