Fix for PR automake/14:
[automake.git] / tests / else.test
bloba1cd725ddb0fae6ca3c5a4921c14e92964796762
1 #! /bin/sh
3 # Test to make sure line numbers are correct in some error reports.
5 . $srcdir/defs || exit 1
7 echo 'AM_CONDITIONAL(FOO, true)' >> configure.in
9 cat > Makefile.am << 'END'
10 # flag to tell us if apache dir is a source distribution
11 APACHE_DIR_IS_SRC = @APACHE_DIR_IS_SRC@
13 # we only need to descend into the c dir if we're doing a 1.3 DSO configuration
14 ifeq ("${APACHE_DIR_IS_SRC}","yes")
15 SUBDIRS = java
16 else
17 SUBDIRS = c java
18 endif
19 END
21 $AUTOMAKE > out 2>&1 && exit 1
22 grep :7: out