X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fbison.m4;h=2c4afbe1b5346c467a3d14b9e46e70b6fc5ece00;hb=0f5a4162a9a8361be7e1c63b8e438002bfdee945;hp=273b641ed38cd94d27f28271260c12d3a26b777f;hpb=2ccc3542393d799c3b9ca966101e9efe58df0495;p=gnulib.git diff --git a/m4/bison.m4 b/m4/bison.m4 index 273b641ed..2c4afbe1b 100644 --- a/m4/bison.m4 +++ b/m4/bison.m4 @@ -1,13 +1,24 @@ -#serial 4 +# serial 7 -# Copyright (C) 2002 Free Software Foundation, Inc. +# Copyright (C) 2002, 2005, 2009-2012 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_BISON], [ - # getdate.y works with bison only. + # parse-datetime.y works with bison only. : ${YACC='bison -y'} - AC_SUBST(YACC) +dnl +dnl Declaring YACC & YFLAGS precious will not be necessary after GNULIB +dnl requires an Autoconf greater than 2.59c, but it will probably still be +dnl useful to override the description of YACC in the --help output, re +dnl parse-datetime.y assuming 'bison -y'. + AC_ARG_VAR([YACC], +[The "Yet Another C Compiler" implementation to use. Defaults to 'bison -y'. +Values other than 'bison -y' will most likely break on most systems.])dnl + AC_ARG_VAR([YFLAGS], +[YFLAGS contains the list arguments that will be passed by default to Bison. +This script will default YFLAGS to the empty string to avoid a default value of +'-d' given by some make applications.])dnl ])