Hash :
8511c132
Author :
Date :
1997-04-30T01:10:36
added conditionals tests from ian
#! /bin/sh
# Check SUBDIRS set based on conditionals.
. $srcdir/defs || exit 1
cat > configure.in << 'END'
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AM_CONDITIONAL(TEST, true)
AC_OUTPUT(Makefile)
END
cat > Makefile.am << 'END'
if TEST
DIR = dir1
else
DIR = dir2
endif
SUBDIRS = $(DIR)
END
mkdir dir1
$AUTOMAKE && exit 1
exit 0