Fixes PR autoconf/182.
+2001-06-02 Akim Demaille <akim@epita.fr>
+
+ * Makefile.am (.m4.m4f): Pass the options first.
+ Fixes PR autoconf/182.
+
2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
GNU getopt, when POSIXLY_CORRECT does not permute options and
# It may happen that the output does not end with a end of line, hence
# force an end of line when reporting errors.
.m4.m4f:
- $(M4) -I $(srcdir) $(srcdir)/$*.m4 -D divert | \
+ $(M4) -I $(srcdir) -D divert $(srcdir)/$*.m4 | \
sed 's/#.*//;/^$$/d' >process.log
if grep . process.log >/dev/null 2>&1; then \
echo "Processing $(srcdir)/$*.m4 produced output:" >&2; \
else \
rm -f process.log; \
fi
- $(M4) -I $(srcdir) $(srcdir)/$*.m4 --freeze-state=$*.m4f >freeze.log
+ $(M4) -I $(srcdir) --freeze-state=$*.m4f $(srcdir)/$*.m4 >freeze.log
if grep . freeze.log >/dev/null 2>&1; then \
echo "Freezing $(srcdir)/$*.m4 produced output:" >&2; \
sed "s,^,$(srcdir)/$*.m4: ," < freeze.log >&2; \
# It may happen that the output does not end with a end of line, hence
# force an end of line when reporting errors.
.m4.m4f:
- $(M4) -I $(srcdir) $(srcdir)/$*.m4 -D divert | \
+ $(M4) -I $(srcdir) -D divert $(srcdir)/$*.m4 | \
sed 's/#.*//;/^$$/d' >process.log
if grep . process.log >/dev/null 2>&1; then \
echo "Processing $(srcdir)/$*.m4 produced output:" >&2; \
else \
rm -f process.log; \
fi
- $(M4) -I $(srcdir) $(srcdir)/$*.m4 --freeze-state=$*.m4f >freeze.log
+ $(M4) -I $(srcdir) --freeze-state=$*.m4f $(srcdir)/$*.m4 >freeze.log
if grep . freeze.log >/dev/null 2>&1; then \
echo "Freezing $(srcdir)/$*.m4 produced output:" >&2; \
sed "s,^,$(srcdir)/$*.m4: ," < freeze.log >&2; \