]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* tests/dup3.test: Remove all -I from $ACLOCAL before using it.
authorAlexandre Duret-Lutz <adl@gnu.org>
Wed, 9 Jan 2002 10:32:28 +0000 (10:32 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Wed, 9 Jan 2002 10:32:28 +0000 (10:32 +0000)
* tests/error.test: Use some macro names which are not defined by
Automake itself.

ChangeLog
tests/dup3.test
tests/error.test

index 6bc6e06c3e681f0fabfc0772dbb8fdea1ddab8ea..65f470b90a88275a6f1b04173388fd67618d6efd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
+       * tests/error.test: Use some macro names which are not defined by
+       Automake itself.
+
 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
        * automake.texi (Complete, Macros, Options): Document the new style
index 11edf2939c0ecf83be91a624e1336112ed2d3c39..594b5d08f73f6810f8ebde85331b40f72378016b 100755 (executable)
@@ -14,5 +14,7 @@ cat > zoo/zoo.m4 << 'END'
 AC_DEFUN([AM_INIT_AUTOMAKE], zardoz)
 END
 
+# Strip all options from ACLOCAL, especially -I's.
+ACLOCAL="`echo $ACLOCAL | sed -e 's/ -.*$//'` --acdir=$srcdir/../m4"
 $ACLOCAL -I zoo || exit 1
 fgrep zardoz aclocal.m4
index a5a91178b7bd84dc96a6ef33d4ae6dacb4e5da8c..8c91829ffd68d5ecb61c8bfaae983d3806cb3697 100755 (executable)
@@ -5,16 +5,15 @@
 . $srcdir/defs || exit 1
 
 cat > configure.in << 'END'
-AM_C_PROTOTYPES
+AM_ONE_MACRO
 END
 
-# Set up a strange environment, where AM_C_PROTOTYPES exists but its
+# Set up a strange environment, where AM_ONE_MACRO exists but its
 # dependency does not.
-cat > AM_C_PROTOTYPES.m4 << 'END'
-AC_DEFUN(AM_C_PROTOTYPES,
-AC_REQUIRE([AM_PROG_CC_STDC]))
+cat > AM_ONE_MACRO.m4 << 'END'
+AC_DEFUN([AM_ONE_MACRO],
+[AC_REQUIRE([AM_UNEXISING_MACRO])])
 END
 
-# Our --acdir overrides the one in $ACLOCAL.
-$ACLOCAL --acdir=. && exit 1
+$ACLOCAL && exit 1
 exit 0