summaryrefslogtreecommitdiff
path: root/tests/else.test
blob: 3aad8de0186b09a83b56b4587afb505af0ef77cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh

# Test to make sure line numbers are correct in some error reports.

. $srcdir/defs || exit 1

echo 'AM_CONDITIONAL(FOO, true)' >> configure.in

cat > Makefile.am << 'END'
# flag to tell us if apache dir is a source distribution
APACHE_DIR_IS_SRC = @APACHE_DIR_IS_SRC@

# we only need to descend into the c dir if we're doing a 1.3 DSO configuration
ifeq ("${APACHE_DIR_IS_SRC}","yes")
SUBDIRS = java 
else
SUBDIRS = c java
endif
END

$ACLOCAL || exit 1
$AUTOMAKE > out 2>&1 && exit 1
grep :7: out