reduce dependence on autoconf

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Per a suggestion on the autoconf list, we should use missing to make the
error nicer if the user modifies sources to the testsuite, but hasn't
installed autoconf.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkj/E5IACgkQ84KuGfSFAYCNugCfQbi9+6Ri4yAmSypYR9EtrjgY
kq4AnAov4/fayyhfl6s9LXKeBC8U/EGq
=PleE
-----END PGP SIGNATURE-----

_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches
m4.patch382 (text/plain, 1.3 KB)
From 85848c00f2f6547c1f6416b0441c749e7658471c Mon Sep 17 00:00:00 2001
From: Eric Blake <[email protected]>
Date: Wed, 22 Oct 2008 05:49:47 -0600
Subject: [PATCH] Give nicer error if user modifies testsuite but lacks autoconf.

* Makefile.am (AUTOM4TE): Use missing in the definition.

Signed-off-by: Eric Blake <[email protected]>
---
 ChangeLog   |    5 +++++
 Makefile.am |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 38a37b4..cdfcc3e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-22  Eric Blake  <[email protected]>
+
+	Give nicer error if user modifies testsuite but lacks autoconf.
+	* Makefile.am (AUTOM4TE): Use missing in the definition.
+
 2008-10-09  Eric Blake  <[email protected]>
 
 	Allow user to choose which sed to use in testsuite.
diff --git a/Makefile.am b/Makefile.am
index 35b555b..92c6745 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -380,7 +380,7 @@ $(srcdir)/tests/generated.at: tests/generate.awk $(m4_texinfo)
 	$(generate) $(m4_texinfo) >$@t
 	mv $@t $@
 
-AUTOM4TE = autom4te
+AUTOM4TE = $(SHELL) $(srcdir)/$(config_aux_dir)/missing --run autom4te
 AUTOTEST = $(AUTOM4TE) --language=autotest
 $(TESTSUITE): $(srcdir)/tests/package.m4 $(TESTSUITE_AT)
 	$(AUTOTEST) -I '$(srcdir)/tests' -o [email protected] [email protected]
-- 
1.6.0.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.