diff options
author | Tom Tromey <tromey@redhat.com> | 1998-04-29 04:17:25 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1998-04-29 04:17:25 +0000 |
commit | b177bf844c9c8e3ca0454ae78d5af6771d8c660e (patch) | |
tree | 9329a3801ac082dcaa2249e79a658986c1451bdd /gdb/configure.in | |
parent | 64eaad40dbb1f0c6fc52175f19fedcd1bcc852f2 (diff) | |
download | gdb-b177bf844c9c8e3ca0454ae78d5af6771d8c660e.zip gdb-b177bf844c9c8e3ca0454ae78d5af6771d8c660e.tar.gz gdb-b177bf844c9c8e3ca0454ae78d5af6771d8c660e.tar.bz2 |
* Makefile.in (GDBTKLIBS): New macro.
(INSTALLED_LIBS): Include GDBTKLIBS.
(CLIBS): Likewise.
* configure: Rebuilt.
* configure.in: Put Tcl/Tk libs into GDBTKLIBS, not LIBS.
(GDBTKLIBS): AC_SUBST.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index b1e19cf..73e7387 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -356,6 +356,7 @@ fi configdir="unix" +GDBTKLIBS= if test "${enable_gdbtk}" = "yes"; then CY_AC_PATH_TCLCONFIG @@ -417,8 +418,10 @@ if test "${enable_gdbtk}" = "yes"; then fi # Yes, the ordering seems wrong here. But it isn't. # TK_LIBS is the list of libraries that need to be linked - # after Tcl/Tk. - LIBS="${LIBS} ${TCL_LIBS} ${TK_LIBS}" + # after Tcl/Tk. Note that this isn't put into LIBS. If it + # were in LIBS then any link tests after this point would + # try to include things like `$(LIBGUI)', which wouldn't work. + GDBTKLIBS="${TCL_LIBS} ${TK_LIBS}" CONFIG_OBS="${CONFIG_OBS} gdbtk.o" if test x$gdb_cv_os_cygwin32 = xyes; then @@ -436,6 +439,7 @@ AC_SUBST(X_LDFLAGS) AC_SUBST(X_LIBS) AC_SUBST(TIXLIB) AC_SUBST(TIX_DEPS) +AC_SUBST(GDBTKLIBS) # end-sanitize-gdbtk AC_PATH_X |