source: trunk/essentials/sys-devel/automake-1.4/tests/aclocali.test

Last change on this file was 3124, checked in by bird, 18 years ago

automake 1.4-p6

File size: 485 bytes
Line 
1#! /bin/sh
2
3# Make sure that ACLOCAL_AMFLAGS actually gets the right dependencies.
4. $srcdir/defs || exit 1
5
6echo AM_QUUX >> configure.in
7
8mkdir macros
9
10cat > macros/quux.m4 << 'END'
11AC_DEFUN([AM_QUUX], [
12])
13END
14
15cat > Makefile.am << 'END'
16ACLOCAL_AMFLAGS = -I macros
17END
18
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
22
23$AUTOMAKE || exit 1
24
25fgrep quux.m4 Makefile.in
Note: See TracBrowser for help on using the repository browser.