diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-22 06:05:39 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-22 06:05:39 +0000 |
commit | 2d0c5eefd05ebe38eaf003940b4fd0feaa3e7b2f (patch) | |
tree | 844383b486a93f7f0ca0082e33a2ee4b04c7344a /m4/bison.m4 | |
parent | 5a43b499b16b9eee62185953677ef2b0b32395e2 (diff) | |
download | coreutils-2d0c5eefd05ebe38eaf003940b4fd0feaa3e7b2f.tar.xz |
Sync from gnulib.
Diffstat (limited to 'm4/bison.m4')
-rw-r--r-- | m4/bison.m4 | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/m4/bison.m4 b/m4/bison.m4 index 273b641ed..91039b1ce 100644 --- a/m4/bison.m4 +++ b/m4/bison.m4 @@ -1,6 +1,6 @@ #serial 4 -# Copyright (C) 2002 Free Software Foundation, Inc. +# Copyright (C) 2002, 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -9,5 +9,16 @@ AC_DEFUN([gl_BISON], [ # getdate.y works with bison only. : ${YACC='bison -y'} - AC_SUBST(YACC) +dnl +dnl Declaring YACC & YFLAGS precious will not be necessary after GNULIB +dnl requires an Autoconf greater than 2.59c, but it will probably still be +dnl useful to override the description of YACC in the --help output, re +dnl getdate.y assuming `bison -y'. + AC_ARG_VAR(YACC, +[The `Yet Another C Compiler' implementation to use. Defaults to `bison -y'. +Values other than `bison -y' will most likely break on most systems.])dnl + AC_ARG_VAR(YFLAGS, +[YFLAGS contains the list arguments that will be passed by default to Bison. +This script will default YFLAGS to the empty string to avoid a default value of +`-d' given by some make applications.])dnl ]) |