Many bug fixes
[platform/upstream/automake.git] / tests / error.test
index f46a8a8..a5a9117 100755 (executable)
@@ -11,7 +11,8 @@ END
 # Set up a strange environment, where AM_C_PROTOTYPES exists but its
 # dependency does not.
 cat > AM_C_PROTOTYPES.m4 << 'END'
-AC_REQUIRE([AM_PROG_CC_STDC])
+AC_DEFUN(AM_C_PROTOTYPES,
+AC_REQUIRE([AM_PROG_CC_STDC]))
 END
 
 # Our --acdir overrides the one in $ACLOCAL.