Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: DJ Delorie <dj@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [neroden@doctormoo.dyndns.org: [PATCH] fix FIXME in toplevel configure]
Date: Thu, 09 May 2002 13:25:00 -0000	[thread overview]
Message-ID: <200205092025.g49KPFB04096@greed.delorie.com> (raw)


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


             reply	other threads:[~2002-05-09 20:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-09 13:25 DJ Delorie [this message]
2002-05-10  0:53 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200205092025.g49KPFB04096@greed.delorie.com \
    --to=dj@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox