This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: [Patch] Ignore iwidgets when building with Source-Navigator
- From: Keith Seitz <keiths at redhat dot com>
- To: Mo DeJong <supermo at bayarea dot net>
- Cc: Insight <insight at sources dot redhat dot com>
- Date: Tue, 6 Aug 2002 11:53:59 -0700 (PDT)
- Subject: Re: [Patch] Ignore iwidgets when building with Source-Navigator
/Patch/RFA/ :-)
On Tue, 6 Aug 2002, Mo DeJong wrote:
> Here is a patch that skips the iwidgets subdir when building
> with Source-Navigator. It should not change anything related
> to the Insight build.
I was about to say that this sort of thing belongs in src/configure...
Then a light went on about iwidgets -- it's not a toplevel thing that can
be configured.
Since this patch is so contained (and would only impact people with snav
checked out), I have committed it.
Keith
> 2002-08-06 Mo Dejong <supermo@bayarea.net>
>
> * configure.in: Don't configure and install
> the iwidgets package when building with a
> Source-Navigator directory layout.
>
> Index: configure.in
> ===================================================================
> RCS file: /cvs/src/src/itcl/configure.in,v
> retrieving revision 1.1.1.2
> diff -u -r1.1.1.2 configure.in
> --- configure.in 9 Sep 2001 19:49:03 -0000 1.1.1.2
> +++ configure.in 6 Aug 2002 07:57:13 -0000
> @@ -24,7 +24,13 @@
> AC_PREFIX_DEFAULT(/usr/local)
> AC_PREFIX_PROGRAM(itclsh)
>
> -AC_CONFIG_SUBDIRS(itcl itk iwidgets3.0.0)
> +# Source-Navigator does not use the iwidgets package
> +if test -d ${srcdir}/../snavigator && test ! -d ${srcdir}/../gdb/gdbtk ; then
> + AC_CONFIG_SUBDIRS(itcl itk)
> +else
> + AC_CONFIG_SUBDIRS(itcl itk iwidgets3.0.0)
> +fi
>
> AC_OUTPUT(Makefile,
> chmod +x ${srcdir}/config/install-sh ${srcdir}/config/mkinstalldirs)
> +
>