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