From 4031dec7abcef76c995fbf41c69861e3e2739ba9 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Mon, 10 Jun 2002 17:37:44 +0000 Subject: [PATCH] * tests/sinclude.test: Check for m4_include too. --- ChangeLog | 4 ++++ tests/sinclude.test | 15 ++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 969d509f..78a943f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-06-10 Alexandre Duret-Lutz + + * tests/sinclude.test: Check for m4_include too. + 2002-06-10 Alexandre Duret-Lutz * tests/sinclude.test: Rename the package as amsinclude; diff --git a/tests/sinclude.test b/tests/sinclude.test index c3b97142..1b6c619a 100755 --- a/tests/sinclude.test +++ b/tests/sinclude.test @@ -1,9 +1,11 @@ #! /bin/sh -# Test to see if `m4_sinclude' works. +# Test to see if `m4_sinclude' and `m4_include' works. . $srcdir/defs || exit 1 +set -e + # Overwrite configure.in, because the default uses `sinclude' as package # name and this play havoc with Autoconf on some platforms (`sinclude' # is an m4 macro). @@ -18,11 +20,18 @@ cat > sub/p.m4 << 'END' AC_SUBST(MAGICALPIG) END +cat > sub/h.m4 << 'END' +AC_SUBST(MAGICALHOG) +END + : > Makefile.am -$ACLOCAL || exit 1 +$ACLOCAL + echo 'm4_sinclude(sub/p.m4)' >> aclocal.m4 +echo 'm4_include(sub/h.m4)' >> aclocal.m4 -$AUTOMAKE --Wno-error || exit 1 +$AUTOMAKE grep MAGICALPIG Makefile.in +grep MAGICALHOG Makefile.in -- 2.43.5