+Mon Sep 30 08:31:51 1996 Tom Tromey <tromey@cygnus.com>
+
+ * automake.in (variable_value_as_list): Just return if comment
+ seen. Report from Mark Galassi.
+ (handle_options): Don't bother with explicit comment checking.
+
Tue Sep 24 09:15:46 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (read_am_file): Cleaned up dejagnu variables.
rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
done
-check-binSCRIPTS:
- pid=$$$$; list="$(bin_SCRIPTS)"; for p in $$list; do \
- for opt in --help --version; do \
- if test -f $$p; then :; \
- else if test -f $(srcdir)/$$p; then \
- p=$(srcdir)/$$p; \
- else exit 1; fi; fi; \
- if $$p $$opt > .chkout$$pid 2> .chkerr$$pid \
- && test -n "`cat .chkout$$pid`" \
- && test -z "`cat .chkerr$$pid`"; then :; \
- else echo "$$p failed $$opt test" 1>&2; exit 1; fi; \
- done; \
- done; rm -f .chk???$$pid
-
install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
$(NORMAL_INSTALL)
$(mkinstalldirs) $(pkgdatadir)
rm -f $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
done
-check-pkgdataSCRIPTS:
- pid=$$$$; list="$(pkgdata_SCRIPTS)"; for p in $$list; do \
- for opt in --help --version; do \
- if test -f $$p; then :; \
- else if test -f $(srcdir)/$$p; then \
- p=$(srcdir)/$$p; \
- else exit 1; fi; fi; \
- if $$p $$opt > .chkout$$pid 2> .chkerr$$pid \
- && test -n "`cat .chkout$$pid`" \
- && test -z "`cat .chkerr$$pid`"; then :; \
- else echo "$$p failed $$opt test" 1>&2; exit 1; fi; \
- done; \
- done; rm -f .chk???$$pid
-
version.texi: stamp-vti
stamp-vti: automake.texi $(top_srcdir)/configure.in
dvi: $(DVIS) dvi-recursive
-check: check-binSCRIPTS check-pkgdataSCRIPTS check-recursive
+check: check-recursive
installcheck: installcheck-recursive installcheck-local
- Per's suggestion
- man page fixes
+From David A Swierczek: automake should notice (eg) AC_CHECK_PROG and
+auto-generate Makefile substitution:
+ AC_CHECK_PROG(AR, ...)
+ => AR = @AR@ in Makefile.in
+Ditto AC_SUBST and other things that make sense. Furthermore, other
+macros (eg AC_PROG_CC) should be handled via a similar mechanism; many
+special cases could be eliminated.
+
consider putting all check-* targets onto @check?
To support --help/--version checking?
foreach (&variable_value_as_list ('AUTOMAKE_OPTIONS'))
{
- last if /^#/;
-
$options{$_} = 1;
if ($_ eq 'gnits' || $_ eq 'gnu' || $_ eq 'foreign')
{
$content_seen{$var} = 1;
foreach (split (' ', $contents{$var}))
{
+ # If a comment seen, just leave.
+ last if /^#/;
+
# Handle variable substitutions.
if (/^\$\{(.*)\}$/ || /^\$\((.*)\)$/)
{
+Mon Sep 30 08:34:07 1996 Tom Tromey <tromey@cygnus.com>
+
+ * comment2.test: New file.
+
Mon Sep 23 00:23:34 1996 Tom Tromey <tromey@creche.cygnus.com>
* spell3.test: New file.
exsource.test canon4.test dup.test defun.test cxxlink.test cxxnoc.test \
order.test libobj2.test interp.test alllib.test block.test libobj3.test \
gnits.test interp2.test colneq.test implicit.test spell.test spell2.test \
-confsub.test primary.test primary2.test depend2.test spell3.test
+confsub.test primary.test primary2.test depend2.test spell3.test comment2.test
EXTRA_DIST = defs $(TESTS)
exsource.test canon4.test dup.test defun.test cxxlink.test cxxnoc.test \
order.test libobj2.test interp.test alllib.test block.test libobj3.test \
gnits.test interp2.test colneq.test implicit.test spell.test spell2.test \
-confsub.test primary.test primary2.test depend2.test spell3.test
+confsub.test primary.test primary2.test depend2.test spell3.test comment2.test
EXTRA_DIST = defs $(TESTS)
mkinstalldirs = $(top_srcdir)/mkinstalldirs
--- /dev/null
+#! /bin/sh
+
+# Make sure comment recognition works in PROGRAMS. Report from Mark
+# Galassi.
+
+. $srcdir/defs || exit 1
+
+cat > Makefile.am << 'END'
+bin_PROGRAMS = sim_products receive_th receive_pos # image_proc
+END
+
+$AUTOMAKE || exit 1
+
+grep '^image_proc' Makefile.in && exit 1
+exit 0