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