Tag
Hash :
852e99bc
Author :
Date :
2002-05-30T06:05:05
fgrep -> $FGREP, egrep -> $EGREP
#! /bin/sh
# Test that `+=' works with standard header-vars.
. $srcdir/defs || exit 1
echo 'AC_SUBST(ZZZ)' >> configure.in
# If you do this in a real Makefile.am, I will kill you.
cat > Makefile.am << 'END'
mandir += foo
zq = zzz
END
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
$FGREP '@mandir@ foo' Makefile.in || exit 1
num=`grep '^mandir =' Makefile.in | wc -l`
test $num -eq 1