* tests/Makefile.am (TESTS): Added yacc5.test.
[automake.git] / tests / aclocali.test
blobdfd3d331473df00d7252be946b10f1419baf9b94
1 #! /bin/sh
3 # Make sure that ACLOCAL_AMFLAGS actually gets the right dependencies.
4 . $srcdir/defs || exit 1
6 echo AM_QUUX >> configure.in
8 mkdir macros
10 cat > macros/quux.m4 << 'END'
11 AC_DEFUN([AM_QUUX], [
13 END
15 cat > Makefile.am << 'END'
16 ACLOCAL_AMFLAGS = -I macros
17 END
19 # We have to run aclocal first to make sure that aclocal.m4 exists.
20 # Otherwise automake won't guess that we want to auto-generate it.
21 $ACLOCAL -I macros || exit 1
23 $AUTOMAKE || exit 1
25 fgrep quux.m4 Makefile.in