This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[Patch] Ignore iwidgets when building with Source-Navigator
- From: Mo DeJong <supermo at bayarea dot net>
- To: Insight <insight at sources dot redhat dot com>
- Date: Tue, 06 Aug 2002 01:00:49 -0700
- Subject: [Patch] Ignore iwidgets when building with Source-Navigator
- Organization: House of Mirth
Here is a patch that skips the iwidgets subdir when building
with Source-Navigator. It should not change anything related
to the Insight build.
cheers
Mo
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)
+