source: vendor/automake/1.4-p6/tests/error.test

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

automake 1.4-p6

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