# Make bison/src.
-# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
+# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# Use our own Bison to build the parser. Of course, you ought to
# keep a sane version of Bison nearby...
-YACC = ../tests/bison -y
+YACC = ../tests/bison -y --warnings=all,error
bin_PROGRAMS = bison
bin_SCRIPTS = $(YACC_SCRIPT)
yacc:
echo '#! /bin/sh' >$@
- echo "exec '$(bindir)/bison' -y \"$$@\"" >>$@
+ echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@
chmod a+x $@
echo: