* bison.m4: Declare YACC & YFLAGS precious.
[gnulib.git] / m4 / bison.m4
1 #serial 4
2
3 # Copyright (C) 2002 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
8 AC_DEFUN([gl_BISON],
9 [
10   # getdate.y works with bison only.
11   : ${YACC='bison -y'}
12   AC_ARG_VAR(YACC,
13 [The `Yet Another C Compiler' implementation to use.  Defaults to `bison -y'.
14 Values other than `bison -y' will most likely break on most systems.])dnl
15   AC_ARG_VAR(YFLAGS,
16 [YFLAGS contains the list arguments that will be passed by default to Bison.
17 This script will default YFLAGS to the empty string to avoid a default value of
18 `-d' given by some make applications.])dnl
19 ])