Blame m4/bison.m4

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