+2002-09-05 Keith Seitz <keiths@redhat.com>
+
+ * itk/Makefile.in (distclean): Remove pkgIndex.tcl and
+ itkConfig.sh
+ * itcl/Makefile.in (distclean): Remove pkgIndex.tcl and
+ itclConfig.sh
+ * iwidgets3.0.0/Makefile.in (distclean): Remove pkgIndex.tcl and
+ iwidgets.tcl.
+ * configure.in (subdirs): New variable. Don't put AC_CONFIG_SUBDIRS
+ macro into configure.in twice: it confuses autoconf. Instead use
+ the variable to hold the subdirs to be configured.
+ * configure: Regenerated.
+
2002-09-04 Keith Seitz <keiths@redhat.com>
From Chris Drexler <ckolumbus@users.sourceforge.net>:
# Source-Navigator does not use the iwidgets packag
+subdirs=
+
if test -d ${srcdir}/../snavigator && test ! -d ${srcdir}/../gdb/gdbtk ; then
subdirs="itcl itk"
-
else
- subdirs="itcl itk itcl itk iwidgets3.0.0"
-
+ subdirs="itcl itk iwidgets3.0.0"
fi
+subdirs="$subdirs"
+
trap '' 1 2 15
cat > confcache <<\EOF
esac
done
- for ac_config_dir in itcl itk itcl itk iwidgets3.0.0; do
+ for ac_config_dir in $subdirs; do
# Do not complain, so a configure script can configure whichever
# parts of a large source tree are present.
AC_PREFIX_PROGRAM(itclsh)
# Source-Navigator does not use the iwidgets packag
+subdirs=
+
if test -d ${srcdir}/../snavigator && test ! -d ${srcdir}/../gdb/gdbtk ; then
- AC_CONFIG_SUBDIRS(itcl itk)
+ subdirs="itcl itk"
else
- AC_CONFIG_SUBDIRS(itcl itk iwidgets3.0.0)
+ subdirs="itcl itk iwidgets3.0.0"
fi
+AC_CONFIG_SUBDIRS($subdirs)
AC_OUTPUT(Makefile,
chmod +x ${srcdir}/config/install-sh ${srcdir}/config/mkinstalldirs)
-rm -f *.tab.c
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
- -rm -f config.status
+ -rm -f config.status itclConfig.sh pkgIndex.tcl
#========================================================================
# Install binary object libraries. On Windows this includes both .dll and
-rm -f *.tab.c
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
- -rm -f config.status
+ -rm -f config.status itkConfig.sh pkgIndex.tcl
#========================================================================
# Install binary object libraries. On Windows this includes both .dll and
distclean: clean
rm -f Makefile config.status config.cache config.log
+ rm -f iwidgets.tcl pkgIndex.tcl
depend:
makedepend -- $(CC_SWITCHES) -- $(SRCS)