Merge branch 'yacc-work' into yl-work-for-master
[platform/upstream/automake.git] / tests / yacc-clean.test
index 156d603..9671b8c 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2011 Free Software Foundation, Inc.
+# Copyright (C) 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
 # distributed .y sources are cleaned by "make maintainer-clean".
 # See also sister test `yacc-cxx-clean.test'.
 
-required=yacc
+required='cc yacc'
 . ./defs || Exit 1
 
-set -e
-
 cat >> configure.in << 'END'
 AC_PROG_CC
 AC_PROG_YACC
@@ -133,7 +131,7 @@ for target in clean distclean; do
 done
 
 cp config.sav config.status
-./config.status # re-create Makefile
+./config.status # Re-create `Makefile'.
 
 $MAKE maintainer-clean
 ls -l . sub1 sub2