From 6bc5b2fa96be25832c95798e3573b9d3e5225718 Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Wed, 23 Jul 1997 02:45:59 +0000 Subject: Tue Jul 22 19:45:37 1997 Martin M. Hunt * configure.in, aclocal.m4: Another fix to find the correct Tix library name. * configure: Rebuilt. --- gdb/configure.in | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gdb/configure.in') diff --git a/gdb/configure.in b/gdb/configure.in index b4baf27..d17a640 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -305,6 +305,23 @@ if test "${enable_gdbtk}" = "yes"; then CY_AC_PATH_ITCLH CY_AC_PATH_TIX + # now look for tix library stuff + TIXVERSION=4.1.7.6 + . ${ac_cv_c_tclconfig}/tclConfig.sh + case "${host}" in + *-*-cygwin32*) + tixdir=../tix/win/tcl7.6 + ;; + *) + tixdir=../tix/unix/tk4.2 + ;; + esac + if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then + TIXLIB="-L${tixdir} -ltix${TIXVERSION}" + else + TIXLIB="-L${tixdir} -ltix`echo ${TIXVERSION} | tr -d .`" + fi + ENABLE_GDBTK=1 # Include some libraries that Tcl and Tk want. @@ -326,6 +343,7 @@ AC_SUBST(ENABLE_GDBTK) AC_SUBST(X_CFLAGS) AC_SUBST(X_LDFLAGS) AC_SUBST(X_LIBS) +AC_SUBST(TIXLIB) # end-sanitize-gdbtk AC_SUBST(ENABLE_CFLAGS) -- cgit v1.1