#! /bin/sh
-# Copyright (C) 2001, 2002, 2003, 2010, 2011 Free Software Foundation,
-# Inc.
+# Copyright (C) 2001, 2002, 2003, 2010, 2011, 2012 Free Software
+# Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Please keep this in sync with sister test `yacc-d-vpath.test'.
-required=yacc
+required='cc yacc'
. ./defs || Exit 1
-set -e
-
cat >> configure.in << 'END'
AC_PROG_CC
AC_PROG_YACC
foo_SOURCES = parse.y foo.c
END
-# Original parser, with `foobar'
+# Original parser, with `foobar'.
cat > parse.y << 'END'
%{
int yylex () { return 0; }
$sleep
-# New parser, with `fubar'
+# New parser, with `fubar'.
cat > ../parse.y << 'END'
%{
int yylex () { return 0; }
$sleep
-# New parser, with `maude'
+# New parser, with `maude'.
cat > ../parse.y << 'END'
%{
int yylex () { return 0; }