* m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
* tags.am (ID, TAGS): Use $(AWK), not `awk'.
1999-07-13 Tom Tromey <tromey@cygnus.com>
+ Work around losing `awk'. Report from Harlan Stenn.
+ * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
+ * tags.am (ID, TAGS): Use $(AWK), not `awk'.
+
* automake.in (handle_source_transform): Mark prefix as seen if
corresponding _SOURCES variable exists. Fixes empty2.test.
## Handle VPATH correctly.
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
- awk ' { files[$$0] = 1; } \
+ $(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -f$$here/ID $$unique $(LISP)
## Handle VPATH correctly.
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
- awk ' { files[$$0] = 1; } \
+ $(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
## Make sure we have something to run etags on.
test -z "$(ETAGS_ARGS)@CONFIG@$$unique$(LISP)$$tags" \
dnl there's no other good way to do it. We prefer GNU tar if
dnl we can find it. If we can't find a tar, it doesn't really matter.
AC_CHECK_PROGS(AMTAR, gnutar gtar tar)
+dnl We need awk for the "check" target. The system "awk" is bad on
+dnl some platforms.
+AC_REQUIRE([AC_PROG_AWK])
AMTARFLAGS=
if test -n "$AMTAR"; then
if $SHELL -c "$AMTAR --version" > /dev/null 2>&1; then
## Handle VPATH correctly.
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
- awk ' { files[$$0] = 1; } \
+ $(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -f$$here/ID $$unique $(LISP)
## Handle VPATH correctly.
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
- awk ' { files[$$0] = 1; } \
+ $(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
## Make sure we have something to run etags on.
test -z "$(ETAGS_ARGS)@CONFIG@$$unique$(LISP)$$tags" \
else.test \
empty.test \
empty2.test \
+empty3.test \
error.test \
exdir.test \
exdir2.test \