This is the mail archive of the
insight@sourceware.cygnus.com
mailing list for the Insight project.
[PATCH] Don't configure GDBtk unless it is there
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>, "Insight (GDB GUI)" <insight at sourceware dot cygnus dot com>
- Subject: [PATCH] Don't configure GDBtk unless it is there
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 03 Mar 2000 13:51:21 +1100
- Organization: Cygnus Solutions
FYI,
I've checked in the attatched. It stops GDB trying to configure Insight
when there there are no Insight sources to build.
Andrew
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
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.9
diff -p -r1.9 Makefile.in
*** Makefile.in 2000/02/26 13:57:35 1.9
--- Makefile.in 2000/03/03 02:42:46
*************** X11_LIBS =
*** 219,225 ****
WIN32LDAPP = @WIN32LDAPP@
- ENABLE_GDBTK= @ENABLE_GDBTK@
LIBGUI = @LIBGUI@
GUI_CFLAGS_X = @GUI_CFLAGS_X@
IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X)
--- 219,224 ----
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.8
diff -p -r1.8 configure.in
*** configure.in 2000/02/26 13:46:55 1.8
--- configure.in 2000/03/03 02:43:00
*************** AC_DEFINE_UNQUOTED(TARGET_CPU_DEFAULT, "
*** 576,583 ****
],)
- ENABLE_GDBTK=
-
AC_ARG_ENABLE(gdbtk,
[ --enable-gdbtk Enable GDBTK GUI front end],
[case "${enableval}" in
--- 576,581 ----
*************** case "$host" in
*** 603,610 ****
*go32* | *windows*)
;;
*)
! enable_gdbtk=yes ;;
! esac
])
WIN32LDAPP=
--- 601,611 ----
*go32* | *windows*)
;;
*)
! if test -d "${srcdir}/gdbtk" ; then
! enable_gdbtk=yes
! fi
! ;;
! esac
])
WIN32LDAPP=
*************** if test "${enable_gdbtk}" = "yes"; then
*** 677,683 ****
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.
--- 678,683 ----
*************** if test "${enable_gdbtk}" = "yes"; then
*** 713,719 ****
fi
fi
- AC_SUBST(ENABLE_GDBTK)
AC_SUBST(X_CFLAGS)
AC_SUBST(X_LDFLAGS)
AC_SUBST(X_LIBS)
--- 713,718 ----