]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* tests/sinclude.test: Check for m4_include too.
authorAlexandre Duret-Lutz <adl@gnu.org>
Mon, 10 Jun 2002 17:37:46 +0000 (17:37 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Mon, 10 Jun 2002 17:37:46 +0000 (17:37 +0000)
ChangeLog
tests/sinclude.test

index 969d509f0ae42773f8ff7150ffa39ff71258b769..78a943f09846dc60025a44cfe367c24811267513 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * tests/sinclude.test: Check for m4_include too.
+
 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
        * tests/sinclude.test: Rename the package as amsinclude;
index c3b97142fba12281b8b44bfba1388cdceb608454..1b6c619ae10175f030f1d775cbee67b03d21deff 100755 (executable)
@@ -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