summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2000-02-07 00:34:34 +0000
committerJason Molenda <jmolenda@apple.com>2000-02-07 00:34:34 +0000
commitafb8d725bbfec790d5112ab30fb4fee38d5da686 (patch)
tree1653927a995e12e7b92f87be8dbb1aac99b4b96a /configure
parent3fc11d3e80ff4229745e2185a9ee77c780220f3d (diff)
downloadbinutils-afb8d725bbfec790d5112ab30fb4fee38d5da686.tar.gz
binutils-afb8d725bbfec790d5112ab30fb4fee38d5da686.tar.bz2
binutils-afb8d725bbfec790d5112ab30fb4fee38d5da686.zip
Apply patches to support Insight by hand from insight-2000-02-04 snapshot.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure b/configure
index bc7b6504065..499925a48ad 100755
--- a/configure
+++ b/configure
@@ -1060,6 +1060,21 @@ 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
for subdir in . ${subdirs} ; do
@@ -1401,6 +1416,8 @@ EOF
-e "s:^DEFAULT_M4[ ]*=.*$:DEFAULT_M4 = ${DEFAULT_M4}:" \
${subdir}/Makefile.tem >> ${Makefile}
+ sed -e "s:^GDB_TK[ ]*=.*$:GDB_TK = ${GDB_TK}:" ${Makefile} >${Makefile}.tem
+ mv -f ${Makefile}.tem ${Makefile}
# If this is a Canadian Cross, preset the values of many more
# tools.