aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in18
1 files changed, 18 insertions, 0 deletions
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)