aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>1997-07-10 07:15:26 +0000
committerMartin Hunt <hunt@redhat.com>1997-07-10 07:15:26 +0000
commit2476848aafa495e6b9fee09cf15f451a3b5afb41 (patch)
treeab00963ab366ddf788e1e4457a9532349a4a7378 /gdb/configure.in
parent67bc13a47895b2500107dabb863e7172773b7257 (diff)
downloadgdb-2476848aafa495e6b9fee09cf15f451a3b5afb41.zip
gdb-2476848aafa495e6b9fee09cf15f451a3b5afb41.tar.gz
gdb-2476848aafa495e6b9fee09cf15f451a3b5afb41.tar.bz2
Thu Jul 10 00:02:41 1997 Martin M. Hunt <hunt@cygnus.com>
* Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and IDE configuration information. * gdbtk.c (breakpoint_notify): Send address, linenumber and filename when a breakpoint is set. Avoids call to bp_info. (gdbtk_init): Call Tcl_FindExecutable(). Add code to handle Itcl, Tix and IDE initialization. * defs.h (init_ui_hook): Change prototype to accept one arg. * main.c (gdb_init): Change prototype to accept one arg. * top.c (gdb_init): Accepts one argument which it uses to call (*init_ui_hook), which will be gdbtk_init(). This is used for calling Tcl_FindExecutable(). * gdbtcl/breakpoint.tcl (gdbtk_tcl_breakpoint): Change to accept variable number of args for compatibility with cchanges in gdbtk.c. * configure: Regenerated. * gdbtcl/tclIndex: Regenerated.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in18
1 files changed, 17 insertions, 1 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 6a90e31..b4baf27 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -239,6 +239,16 @@ esac])
# end-sanitize-gm
# start-sanitize-gdbtk
+ENABLE_IDE=
+AC_ARG_ENABLE(ide, [ --enable-ide Enable IDE support])
+if test "$enable_ide" = yes; then
+ enable_ide=yes
+ ENABLE_IDE=1
+else
+ enable_ide=no
+fi
+AC_SUBST(ENABLE_IDE)
+
ENABLE_GDBTK=
AC_ARG_ENABLE(gdbtk,
@@ -292,11 +302,17 @@ if test "${enable_gdbtk}" = "yes"; then
CY_AC_LOAD_TKCONFIG
CY_AC_PATH_TCLH
CY_AC_PATH_TKH
+ CY_AC_PATH_ITCLH
+ CY_AC_PATH_TIX
ENABLE_GDBTK=1
# Include some libraries that Tcl and Tk want.
- TCL_LIBS='$(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
+ if test "${enable_ide}" = "yes"; then
+ TCL_LIBS='$(IDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
+ else
+ TCL_LIBS='$(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
+ 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.