diff options
author | Tom Tromey <tromey@redhat.com> | 1998-09-27 21:29:44 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1998-09-27 21:29:44 +0000 |
commit | fe1c6e33a2bbff81f581a46f69ac60e352e71de2 (patch) | |
tree | 990e865be3ccf521bee8289cc1f2d589e31f2f23 /tests/else.test | |
parent | 08f0f8a0a2fb3b26b88ed891aca7db2f4539dd48 (diff) | |
download | automake-fe1c6e33a2bbff81f581a46f69ac60e352e71de2.tar.gz |
* Makefile.am (TESTS): Added else.test.
* else.test: New file.
Diffstat (limited to 'tests/else.test')
-rwxr-xr-x | tests/else.test | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/else.test b/tests/else.test new file mode 100755 index 000000000..a1cd725dd --- /dev/null +++ b/tests/else.test @@ -0,0 +1,22 @@ +#! /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 + +$AUTOMAKE > out 2>&1 && exit 1 +grep :7: out |