Added dependency on tcl/tk libraries.

This commit is contained in:
John R. Moore 2001-07-27 16:35:27 +00:00
parent 8bd8d2153f
commit dd2504abf3
3 changed files with 451 additions and 380 deletions

View File

@ -229,7 +229,7 @@ LIB_INSTALL_DIR = $(libdir)
LIB_RUNTIME_DIR = $(libdir)
TCL = @TCL_LD_SEARCH_FLAGS@ @TCL_BUILD_LIB_SPEC@
TCL_CFLAGS = @TCLHDIR@
TCL_DEPS =
TCL_DEPS = @TCL_DEPS@
GDBTKLIBS = @GDBTKLIBS@
# Extra flags that the GDBTK files need:
GDBTK_CFLAGS = @GDBTK_CFLAGS@
@ -237,7 +237,7 @@ GDBTK_CFLAGS = @GDBTK_CFLAGS@
# Where is the TK library? Typically in ../tk.
TK = @TK_BUILD_LIB_SPEC@
TK_CFLAGS = @TKHDIR@ @TK_BUILD_INCLUDES@
TK_DEPS =
TK_DEPS = @TK_DEPS@
# Where is Itcl? Typically in ../itcl/itcl.
ITCL_CFLAGS = @ITCLHDIR@

798
gdb/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -929,6 +929,19 @@ if test "${enable_gdbtk}" = "yes"; then
CY_AC_LOAD_TCLCONFIG
CY_AC_PATH_TKCONFIG
# now look for Tcl library stuff
case "${host}" in
*-*-cygwin*)
tcldir=../tcl/win/
;;
*)
tcldir=../tcl/unix/
;;
esac
TCL_DEPS="${tcldir}${TCL_LIB_FILE}"
# If $no_tk is nonempty, then we can't do Tk, and there is no
# point to doing Tcl.
if test -z "${no_tk}"; then
@ -939,6 +952,20 @@ if test "${enable_gdbtk}" = "yes"; then
CY_AC_PATH_ITKH
CY_AC_PATH_TIXH
# now look for Tk library stuff
case "${host}" in
*-*-cygwin*)
tkdir=../tk/win/
;;
*)
tkdir=../tk/unix/
;;
esac
TK_DEPS="${tkdir}${TK_LIB_FILE}"
# now look for Itcl library stuff
CY_AC_PATH_ITCLCONFIG
@ -1026,6 +1053,8 @@ fi
AC_SUBST(X_CFLAGS)
AC_SUBST(X_LDFLAGS)
AC_SUBST(X_LIBS)
AC_SUBST(TCL_DEPS)
AC_SUBST(TK_DEPS)
AC_SUBST(ITCLLIB)
AC_SUBST(ITCL_DEPS)
AC_SUBST(ITKLIB)