diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 2000-02-07 00:34:34 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 2000-02-07 00:34:34 +0000 |
commit | 17cddb3dca3d37c275f2d0bca7a00403d1db1a44 (patch) | |
tree | a33e4c41f8768ff841483868c33ae955fdba1ae5 /configure | |
parent | d288e640360c5e3ada4043e84dcce666b697a6a4 (diff) | |
download | gdb-17cddb3dca3d37c275f2d0bca7a00403d1db1a44.tar.gz |
Apply patches to support Insight by hand from insight-2000-02-04 snapshot.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 17 |
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. |