1#serial 4
2
3# Copyright (C) 2002, 2005 Free Software Foundation, Inc.
4# This file is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8AC_DEFUN([gl_BISON],
9[
10  # getdate.y works with bison only.
11  : ${YACC='bison -y'}
12dnl
13dnl Declaring YACC & YFLAGS precious will not be necessary after GNULIB
14dnl requires an Autoconf greater than 2.59c, but it will probably still be
15dnl useful to override the description of YACC in the --help output, re
16dnl getdate.y assuming `bison -y'.
17  AC_ARG_VAR(YACC,
18[The `Yet Another C Compiler' implementation to use.  Defaults to `bison -y'.
19Values other than `bison -y' will most likely break on most systems.])dnl
20  AC_ARG_VAR(YFLAGS,
21[YFLAGS contains the list arguments that will be passed by default to Bison.
22This script will default YFLAGS to the empty string to avoid a default value of
23`-d' given by some make applications.])dnl
24])
25