]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* configure: move some logic to configure.in
authorDJ Delorie <dj@redhat.com>
Mon, 13 May 2002 20:55:25 +0000 (20:55 +0000)
committerDJ Delorie <dj@redhat.com>
Mon, 13 May 2002 20:55:25 +0000 (20:55 +0000)
* configure.in: move some logic from configure

ChangeLog
configure
configure.in

index 1f914904c0a0833ad665d92844d6dae06f11ee96..8983a0e31cc37a8593c92695e65f74a2b84cb2d5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 30446a209db9b89a4d3a78bf492d44d6d764f050..fdf60202647cd874d1d1779658f4f6137be83d31 100755 (executable)
--- 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
index 2569cc2ecfc00d05176969333f8f221f3ae85de9..5b13cd4a9849054a11ae0dd640371f64e99b8a68 100644 (file)
@@ -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