public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: GDB Patches <gdb-patches@sourceware.cygnus.com>,
	"Insight (GDB GUI)" <insight@sourceware.cygnus.com>
Subject: [PATCH] Don't configure GDBtk unless it is there
Date: Thu, 02 Mar 2000 18:52:00 -0000	[thread overview]
Message-ID: <38BF28A9.D0CFE191@cygnus.com> (raw)

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 ----

                 reply	other threads:[~2000-03-02 18:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38BF28A9.D0CFE191@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb-patches@sourceware.cygnus.com \
    --cc=insight@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).