File: error.test

package info (click to toggle)
automake 1%3A1.4-p6-13.1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 2,360 kB
  • ctags: 26
  • sloc: perl: 5,527; sh: 5,269; ansic: 404; makefile: 167
file content (20 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh

# Test to make sure error handling in add_file works.

. $srcdir/defs || exit 1

cat > configure.in << 'END'
AM_C_PROTOTYPES
END

# Set up a strange environment, where AM_C_PROTOTYPES exists but its
# dependency does not.
cat > AM_C_PROTOTYPES.m4 << 'END'
AC_DEFUN(AM_C_PROTOTYPES,
AC_REQUIRE([AM_PROG_CC_STDC]))
END

# Our --acdir overrides the one in $ACLOCAL.
$ACLOCAL --acdir=. && exit 1
exit 0