From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32275 invoked by alias); 9 May 2002 20:25:24 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 32231 invoked from network); 9 May 2002 20:25:20 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 9 May 2002 20:25:20 -0000 Received: from greed.delorie.com (cse.sfbay.redhat.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id NAA24445 for ; Thu, 9 May 2002 13:25:18 -0700 (PDT) Received: (from dj@localhost) by greed.delorie.com (8.11.6/8.11.6) id g49KPFB04096; Thu, 9 May 2002 16:25:15 -0400 Date: Thu, 09 May 2002 13:25:00 -0000 Message-Id: <200205092025.g49KPFB04096@greed.delorie.com> From: DJ Delorie To: gdb-patches@sources.redhat.com Subject: [neroden@doctormoo.dyndns.org: [PATCH] fix FIXME in toplevel configure] X-SW-Source: 2002-05/txt/msg00293.txt.bz2 This affects primarly gdb, so I'm cc'ing it here. Look ok? ------- Start of forwarded message ------- From: Nathanael Nerode 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 * 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 -------