diff options
author | DJ Delorie <dj@redhat.com> | 2002-05-13 20:55:25 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2002-05-13 20:55:25 +0000 |
commit | c92a0210cd3c4458c7aee2412d65948723e81abe (patch) | |
tree | 0d02b92584cfaa631808a4a2a433eab927af0697 | |
parent | 9296c8b21ebb3e4ef9ff589f0330b1e94da83897 (diff) | |
download | gdb-c92a0210cd3c4458c7aee2412d65948723e81abe.zip gdb-c92a0210cd3c4458c7aee2412d65948723e81abe.tar.gz gdb-c92a0210cd3c4458c7aee2412d65948723e81abe.tar.bz2 |
* configure: move some logic to configure.in
* configure.in: move some logic from configure
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | configure | 16 | ||||
-rw-r--r-- | configure.in | 12 |
3 files changed, 17 insertions, 16 deletions
@@ -1,3 +1,8 @@ +2002-05-13 Nathanael Nerode <neroden@twcny.rr.com> + + * configure: move some logic to configure.in + * configure.in: move some logic from configure + 2002-05-07 Jeff Johnston <jjohnstn@redhat.com> * COPYING.LIBGLOSS: New file. @@ -1072,22 +1072,6 @@ export CXX 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 diff --git a/configure.in b/configure.in index 2569cc2..5b13cd4 100644 --- a/configure.in +++ b/configure.in @@ -1319,6 +1319,18 @@ if test -n "${target_makefile_frag}" ; then 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 |