Blame m4/bison.m4

Packit 8f70b4
# serial 7
Packit 8f70b4
Packit 8f70b4
# Copyright (C) 2002, 2005, 2009-2018 Free Software Foundation, Inc.
Packit 8f70b4
# This file is free software; the Free Software Foundation
Packit 8f70b4
# gives unlimited permission to copy and/or distribute it,
Packit 8f70b4
# with or without modifications, as long as this notice is preserved.
Packit 8f70b4
Packit 8f70b4
AC_DEFUN([gl_BISON],
Packit 8f70b4
[
Packit 8f70b4
  # parse-datetime.y works with bison only.
Packit 8f70b4
  : ${YACC='bison -y'}
Packit 8f70b4
dnl
Packit 8f70b4
dnl Declaring YACC & YFLAGS precious will not be necessary after GNULIB
Packit 8f70b4
dnl requires an Autoconf greater than 2.59c, but it will probably still be
Packit 8f70b4
dnl useful to override the description of YACC in the --help output, re
Packit 8f70b4
dnl parse-datetime.y assuming 'bison -y'.
Packit 8f70b4
  AC_ARG_VAR([YACC],
Packit 8f70b4
[The "Yet Another C Compiler" implementation to use.  Defaults to 'bison -y'.
Packit 8f70b4
Values other than 'bison -y' will most likely break on most systems.])dnl
Packit 8f70b4
  AC_ARG_VAR([YFLAGS],
Packit 8f70b4
[YFLAGS contains the list arguments that will be passed by default to Bison.
Packit 8f70b4
This script will default YFLAGS to the empty string to avoid a default value of
Packit 8f70b4
'-d' given by some make applications.])dnl
Packit 8f70b4
])