From 9a0da7d70467d3f0659d9281ed5059f3c1d205e7 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Mon, 13 May 2002 20:55:25 +0000 Subject: [PATCH] * configure: move some logic to configure.in * configure.in: move some logic from configure --- ChangeLog | 5 +++++ configure | 16 ---------------- configure.in | 12 ++++++++++++ 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1f914904c..8983a0e31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-05-13 Nathanael Nerode + + * configure: move some logic to configure.in + * configure.in: move some logic from configure + 2002-05-07 Jeff Johnston * COPYING.LIBGLOSS: New file. diff --git a/configure b/configure index 30446a209..fdf602026 100755 --- a/configure +++ b/configure @@ -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 2569cc2ec..5b13cd4a9 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