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

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

automake 1.4-p6

File size: 491 bytes
Line 
1#! /bin/sh
2
3# Test to make sure line numbers are correct in some error reports.
4
5. $srcdir/defs || exit 1
6
7echo 'AM_CONDITIONAL(FOO, true)' >> configure.in
8
9cat > Makefile.am << 'END'
10# flag to tell us if apache dir is a source distribution
11APACHE_DIR_IS_SRC = @APACHE_DIR_IS_SRC@
12
13# we only need to descend into the c dir if we're doing a 1.3 DSO configuration
14ifeq ("${APACHE_DIR_IS_SRC}","yes")
15SUBDIRS = java
16else
17SUBDIRS = c java
18endif
19END
20
21$AUTOMAKE > out 2>&1 && exit 1
22grep :7: out
Note: See TracBrowser for help on using the repository browser.