Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Ian Roxborough <irox@redhat.com>
To: gdb@sources.redhat.com, insight@sources.redhat.com
Subject: [RFA] Locating Itcl and Itk depandancies.
Date: Wed, 05 Sep 2001 14:08:00 -0000	[thread overview]
Message-ID: <3B96942A.6F5C88C6@redhat.com> (raw)

Hi,

this seems to be the last little bit for gdb/Insight to make
it resistant to the Tcl/Tk upgrade.  It removes a couple of
hard coded paths (for Itcl and Itk library dependencies) and
uses the ITCL_LIB_FULL_PATH and ITK_LIB_FULL_PATH set in
itclConfig.sh and itkConfig.sh to set the dependencies.

I've not included a diff of the regenerated configure file.
I don't seem to have the same version of autoconf (even though
the version numbers match) and my regenerated configure
seems to change about even line of the configure file...

I've tested this fix on Windows NT and GNU/Linux x86,
everything seems to work fine.  If I can get this fix
checked in today then I maybe able to do the grand Tcl/Tk
switch over later tonight.

Comments, questions and autoconf tips welcome...

Thanks,
  Ian.


Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.71
diff -U1 -r1.71 configure.in
--- configure.in	2001/08/27 22:39:55	1.71
+++ configure.in	2001/09/05 19:59:14
@@ -997,15 +997,6 @@
            if test -z "${no_itcl}"; then
-             CY_AC_LOAD_ITCLCONFIG
-	     case "${host}" in
-	     *-*-cygwin*)
-		itcldir=../itcl/itcl/win/
-		;;
-	     *)
-		itcldir=../itcl/itcl/unix/
-		;;
-	     esac
- 
+             CY_AC_LOAD_ITCLCONFIG 
 
 	     ITCLLIB="${ITCL_BUILD_LIB_SPEC}"
-	     ITCL_DEPS="${itcldir}${ITCL_LIB_FILE}"
+	     ITCL_DEPS="${ITCL_LIB_FULL_PATH}"
            fi
@@ -1018,13 +1009,4 @@
 
-	     case "${host}" in
-	       *-*-cygwin*)
-		 itkdir=../itcl/itk/win/
-		 ;;
-	       *)
-		 itkdir=../itcl/itk/unix/
-		 ;;
-	       esac 
-
 	     ITKLIB="${ITK_BUILD_LIB_SPEC}"
-	     ITK_DEPS="${itkdir}${ITK_LIB_FILE}"
+	     ITK_DEPS="${ITK_LIB_FULL_PATH}"
            fi
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.1587
diff -U1 -r1.1587 ChangeLog
--- ChangeLog	2001/09/05 02:54:15	1.1587
+++ ChangeLog	2001/09/05 19:59:44
@@ -1 +1,7 @@
+2001-09-05  Ian Roxborough <irox@redhat.com>
+
+	* configure.in: Use ITCL_LIB_FULL_PATH and
+	ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
+	for gdb.
+
 2001-09-04  Elena Zannoni  <ezannoni@redhat.com>


             reply	other threads:[~2001-09-05 14:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05 14:08 Ian Roxborough [this message]
2001-09-05 14:49 ` Keith Seitz
2001-09-05 15:00   ` Ian Roxborough
2001-09-05 22:10 ` Andrew Cagney
2001-09-05 22:13 ` Andrew Cagney

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=3B96942A.6F5C88C6@redhat.com \
    --to=irox@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=insight@sources.redhat.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