diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-08-28 17:13:00 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-08-28 17:13:00 +0000 |
commit | 0cf433d937ce0a56e4f0d17a9fe85017d2fe4d60 (patch) | |
tree | a36a6cb8116e02aec48e35676cf2ec2bf0fbabae /gdb/configure.in | |
parent | 6fce31a64b3f52df9f35510893215f2831533f41 (diff) | |
download | gdb-0cf433d937ce0a56e4f0d17a9fe85017d2fe4d60.zip gdb-0cf433d937ce0a56e4f0d17a9fe85017d2fe4d60.tar.gz gdb-0cf433d937ce0a56e4f0d17a9fe85017d2fe4d60.tar.bz2 |
* configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run
CY_AC_LOAD_TCLCONFIG.
* configure: Rebuild.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 5619e7a..7c241a1 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -234,24 +234,26 @@ case "$host" in if test "${enable_gdbtk}" = "yes"; then CY_AC_PATH_TCLCONFIG - CY_AC_LOAD_TCLCONFIG - CY_AC_PATH_TKCONFIG + if test -z "${no_tcl}"; then + CY_AC_LOAD_TCLCONFIG + CY_AC_PATH_TKCONFIG - # If $no_tk is nonempty, then we can't do Tk, and there is no - # point to doing Tcl. - if test -z "${no_tk}"; then - CY_AC_LOAD_TKCONFIG - CY_AC_PATH_TCLH - CY_AC_PATH_TKH + # If $no_tk is nonempty, then we can't do Tk, and there is no + # point to doing Tcl. + if test -z "${no_tk}"; then + CY_AC_LOAD_TKCONFIG + CY_AC_PATH_TCLH + CY_AC_PATH_TKH - # Include some libraries that Tcl and Tk want. - LIBS="$LIBS $TK_LIBS" + # Include some libraries that Tcl and Tk want. + LIBS="$LIBS $TK_LIBS" - ENABLE_GDBTK=1 + ENABLE_GDBTK=1 - TCL_LIBS='$(TCL) $(TK) $(X11_LDFLAGS) $(X11_LIBS)' - ENABLE_CLIBS="${ENABLE_CLIBS} ${TCL_LIBS}" - ENABLE_OBS="${ENABLE_OBS} gdbtk.o" + TCL_LIBS='$(TCL) $(TK) $(X11_LDFLAGS) $(X11_LIBS)' + ENABLE_CLIBS="${ENABLE_CLIBS} ${TCL_LIBS}" + ENABLE_OBS="${ENABLE_OBS} gdbtk.o" + fi fi fi |