summaryrefslogtreecommitdiffstats
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
commit1674818f4c7d4ffe1c7920ad8db36018e97c107f (patch)
treef7d8744077fea5f3d62e7eb22844b1398b46a3f9 /configure
parent6c04ae2085d990bf868f09b396dda28f6aa6a099 (diff)
downloadcygnal-1674818f4c7d4ffe1c7920ad8db36018e97c107f.tar.gz
cygnal-1674818f4c7d4ffe1c7920ad8db36018e97c107f.tar.bz2
cygnal-1674818f4c7d4ffe1c7920ad8db36018e97c107f.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 bc7b65040..499925a48 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.