aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>1997-07-23 02:45:59 +0000
committerMartin Hunt <hunt@redhat.com>1997-07-23 02:45:59 +0000
commit6bc5b2fa96be25832c95798e3573b9d3e5225718 (patch)
tree6968c9f8464ccac2667acdfb55f29cff58006e93 /gdb/configure.in
parent2b4077813977c46f0684c7d9a80f60247be1b249 (diff)
downloadgdb-6bc5b2fa96be25832c95798e3573b9d3e5225718.zip
gdb-6bc5b2fa96be25832c95798e3573b9d3e5225718.tar.gz
gdb-6bc5b2fa96be25832c95798e3573b9d3e5225718.tar.bz2
Tue Jul 22 19:45:37 1997 Martin M. Hunt <hunt@cygnus.com>
* configure.in, aclocal.m4: Another fix to find the correct Tix library name. * configure: Rebuilt.
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)