From Nicolas Joly:
[automake.git] / tests / stdlib.test
blobe284bd63a43559e5751b77b7156d4985eae34704
1 #! /bin/sh
3 # Test "not a standard library" error.
5 . $srcdir/defs || exit 1
7 cat >> configure.in << 'END'
8 AC_PROG_CC
9 AC_PROG_RANLIB
10 END
12 cat > Makefile.am << 'END'
13 noinst_LIBRARIES = foo
14 END
16 $ACLOCAL || exit 1
17 $AUTOMAKE 2> output.log && exit 1
18 # We're specifically testing for line-number information.
19 # Well, when it is implemented.
20 # grep 1 output.log
21 exit 0