aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1996-01-24 23:39:34 +0000
committerTom Tromey <tromey@redhat.com>1996-01-24 23:39:34 +0000
commit1a57cd09eaeb6f7f7e8779c7998f4e68d8654d8f (patch)
tree9b2ba36853fa4519e3cde6581721c3aba0468b0a /gdb/configure.in
parent526fed067ec4e04992628edf9fe8ca01b65a9b4b (diff)
downloadgdb-1a57cd09eaeb6f7f7e8779c7998f4e68d8654d8f.zip
gdb-1a57cd09eaeb6f7f7e8779c7998f4e68d8654d8f.tar.gz
gdb-1a57cd09eaeb6f7f7e8779c7998f4e68d8654d8f.tar.bz2
Look for -ldl or -ldld where needed by Tcl 7.5.
Updated copyrights. Close backquote in 'lint' target.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index b215445..e17dc09 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -118,6 +118,14 @@ if test "${enable_gdbtk}" = "yes"; then
CY_AC_PATH_TCL
CY_AC_PATH_TK
+ # Look for dynamic linking libraries that Tcl might need. This is
+ # only done for Tcl 7.5 and greater. It would be good to look for and
+ # use the "configInfo" file that Tcl generates, but for now that is
+ # beyond us.
+ if test $tclmajor -ge 7 -a $tclminor -ge 5 ; then
+ AC_CHECK_LIB(dl, main, , AC_CHECK_LIB(dld, main))
+ fi
+
ENABLE_GDBTK=1
if test "x$no_x" != "xyes"; then