Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [neroden@doctormoo.dyndns.org: [PATCH] fix FIXME in toplevel configure]
@ 2002-05-09 13:25 DJ Delorie
  2002-05-10  0:53 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: DJ Delorie @ 2002-05-09 13:25 UTC (permalink / raw)
  To: gdb-patches


This affects primarly gdb, so I'm cc'ing it here.  Look ok?

------- Start of forwarded message -------
From: Nathanael Nerode <neroden@doctormoo.dyndns.org>
Subject: [PATCH] fix FIXME in toplevel configure
Date: Tue, 30 Apr 2002 12:36:28 -0400
To: gcc-patches@gcc.gnu.org

This said "FIXME", so I fixed it.  I dropped the go32 clause,
since it's obselete and unsupported anyway.

Tested on i686-pc-linux-gnu.

2002-04-30  Nathanael Nerode  <neroden@twcny.rr.com>

	* configure: move some logic to configure.in
	* configure.in: move some logic from configure

Index: configure
===================================================================
RCS file: /cvsroot/gcc/gcc/configure,v
retrieving revision 1.40
diff -c -3 -p -r1.40 configure
*** configure	5 Dec 2001 12:40:39 -0000	1.40
--- configure	30 Apr 2002 16:25:48 -0000
*************** export CXX
*** 1072,1093 ****
  export CFLAGS
  export CXXFLAGS
  
- # FIXME: This should be in configure.in, not configure
- case "$host" in
- 	*go32*)
- 	    enable_gdbtk=no ;;
- 	*msdosdjgpp*)
- 	    enable_gdbtk=no ;;
- esac
- 
- # FIXME: This should be in configure.in, not configure
- # Determine whether gdb needs tk/tcl or not.
- if [ "$enable_gdbtk" != "no" ]; then
- 	GDB_TK="all-tcl all-tk all-itcl all-tix all-libgui"
- else
- 	GDB_TK=""
- fi
- 
  all_build_modules=
  if test x"${build_alias}" != x"${host_alias}"
  then
--- 1072,1077 ----
Index: configure.in
===================================================================
RCS file: /cvsroot/gcc/gcc/configure.in,v
retrieving revision 1.140
diff -c -3 -p -r1.140 configure.in
*** configure.in	30 Apr 2002 03:30:19 -0000	1.140
--- configure.in	30 Apr 2002 16:25:50 -0000
*************** if test -n "${target_makefile_frag}" ; t
*** 1305,1310 ****
--- 1305,1322 ----
    target_makefile_frag=mt-frag
  fi
  
+ case "$host" in
+   *msdosdjgpp*)
+     enable_gdbtk=no ;;
+ esac
+ # Determine whether gdb needs tk/tcl or not.
+ case "$enable_gdbtk" in
+   no)
+     GDB_TK="" ;;
+   *)
+     GDB_TK="all-tcl all-tk all-itcl all-tix all-libgui" ;;
+ esac
+ 
  # post-target:
  
  # Make sure that the compiler is able to generate an executable.  If it
------- End of forwarded message -------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-10  7:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-09 13:25 [neroden@doctormoo.dyndns.org: [PATCH] fix FIXME in toplevel configure] DJ Delorie
2002-05-10  0:53 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox