Line | |
---|
1 | #! /bin/sh
|
---|
2 |
|
---|
3 | # Test to make sure error handling in add_file works.
|
---|
4 |
|
---|
5 | . $srcdir/defs || exit 1
|
---|
6 |
|
---|
7 | cat > configure.in << 'END'
|
---|
8 | AM_C_PROTOTYPES
|
---|
9 | END
|
---|
10 |
|
---|
11 | # Set up a strange environment, where AM_C_PROTOTYPES exists but its
|
---|
12 | # dependency does not.
|
---|
13 | cat > AM_C_PROTOTYPES.m4 << 'END'
|
---|
14 | AC_DEFUN(AM_C_PROTOTYPES,
|
---|
15 | AC_REQUIRE([AM_PROG_CC_STDC]))
|
---|
16 | END
|
---|
17 |
|
---|
18 | # Our --acdir overrides the one in $ACLOCAL.
|
---|
19 | $ACLOCAL --acdir=. && exit 1
|
---|
20 | exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.