+2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * tests/defs (required): Handle bison; set YACC automatically.
+ * tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
+ tests/yaccvpath.test: Require bison. Don't set YACC.
+
2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/defs (required): Handle `gcc' and `g++'; automatically
do
# Check that each required tool is present.
case $tool in
+ bison)
+ # Since bison is required, we pick YACC for ./configure.
+ YACC='bison -y'
+ export YACC
+ echo "$me: running bison --version"
+ ( bison --version ) || exit 77
+ ;;
GNUmake)
echo "$me: running $MAKE --version"
( $MAKE --version ) || exit 77
cp parse.y parse2.y
-# We are not checking Autoconf, so we pick $YACC for it.
-YACC="bison -y"
-export YACC
-
$ACLOCAL
$AUTOCONF
$AUTOMAKE -a
# Some simple tests of ylwrap functionality.
-required=gcc
+required='bison gcc'
. $srcdir/defs || exit 1
-(bison -V) > /dev/null 2>&1 || exit 77
-
cat > configure.in << 'END'
AC_INIT
AC_CONFIG_AUX_DIR([.])
int main () { return 0; }
END
-# We are not checking Autoconf, so we pick $YACC for it.
-YACC="bison -y"
-export YACC
-
-$YACC --version || exit 77
-
set -e
$ACLOCAL
foobar : 'f' 'o' 'o' 'b' 'a' 'r' {};
END
-# We are not checking Autoconf, so we pick $YACC for it.
-YACC="bison -y"
-export YACC
-
$ACLOCAL
$AUTOCONF
$AUTOMAKE -a
# to be distributed is up to date.
# Require GNU make for `make distdir'
-required='GNUmake gcc'
+required='GNUmake gcc bison'
. $srcdir/defs || exit 1
-(bison -V) > /dev/null 2>&1 || exit 77
-
cat > configure.in << 'END'
AC_INIT
AC_CONFIG_AUX_DIR([.])
int main () { return 0; }
END
-# We are not checking Autoconf, so we pick $YACC for it.
-YACC="bison -y"
-export YACC
-
set -e
$ACLOCAL