Only configure GDBtk when it is present.

This commit is contained in:
Andrew Cagney 2000-03-03 02:50:24 +00:00
parent 7b64ac2f7a
commit 379d643457
4 changed files with 336 additions and 322 deletions

View file

@ -1,3 +1,10 @@
Fri Mar 3 13:12:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (ENABLE_GDBTK): Delete variable.
(enable-gdbtk): Only enable gdbtk when there is a GDBTK directory.
* Makefile.in: Update.
* configure: Regenerate
2000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* config/alpha/alpha-linux.mh: Remove core-regset.o fron the

View file

@ -219,7 +219,6 @@ X11_LIBS =
WIN32LDAPP = @WIN32LDAPP@
ENABLE_GDBTK= @ENABLE_GDBTK@
LIBGUI = @LIBGUI@
GUI_CFLAGS_X = @GUI_CFLAGS_X@
IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X)

639
gdb/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -576,8 +576,6 @@ AC_DEFINE_UNQUOTED(TARGET_CPU_DEFAULT, "${with_cpu}")
],)
ENABLE_GDBTK=
AC_ARG_ENABLE(gdbtk,
[ --enable-gdbtk Enable GDBTK GUI front end],
[case "${enableval}" in
@ -603,8 +601,11 @@ case "$host" in
*go32* | *windows*)
;;
*)
enable_gdbtk=yes ;;
esac
if test -d "${srcdir}/gdbtk" ; then
enable_gdbtk=yes
fi
;;
esac
])
WIN32LDAPP=
@ -677,7 +678,6 @@ if test "${enable_gdbtk}" = "yes"; then
TIX_DEPS="${TIX_BUILD_LOCATION}/${TIX_LIB_FILE}"
fi
ENABLE_GDBTK=1
ENABLE_CFLAGS="$ENABLE_CFLAGS -DGDBTK"
# Tcl/Tk 8.1 require -fwritable strings. I don't
# know whether 8.2 will or not, but I bet it will.
@ -713,7 +713,6 @@ if test "${enable_gdbtk}" = "yes"; then
fi
fi
AC_SUBST(ENABLE_GDBTK)
AC_SUBST(X_CFLAGS)
AC_SUBST(X_LDFLAGS)
AC_SUBST(X_LIBS)