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]

[neroden@doctormoo.dyndns.org: [PATCH] fix FIXME in toplevel configure]



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 -------


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