annotate m4/bison.m4 @ 6479:913b40e88d1a

Update
author Sergey Poznyakoff <gray@gnu.org.ua>
date Fri, 09 Dec 2005 12:34:04 +0000
parents 1bd98d92c928
children f6cba5a556ce
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5611
87c42e194f4a Use an all-permissive copyright notice, recommended by RMS.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5016
diff changeset
1 #serial 4
87c42e194f4a Use an all-permissive copyright notice, recommended by RMS.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5016
diff changeset
2
5929
1bd98d92c928 * bison.m4: Note that precious decls of YACC & YFLAGS will be
Derek R. Price <derek@ximbiot.com>
parents: 5926
diff changeset
3 # Copyright (C) 2002, 2005 Free Software Foundation, Inc.
5611
87c42e194f4a Use an all-permissive copyright notice, recommended by RMS.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5016
diff changeset
4 # This file is free software; the Free Software Foundation
87c42e194f4a Use an all-permissive copyright notice, recommended by RMS.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5016
diff changeset
5 # gives unlimited permission to copy and/or distribute it,
87c42e194f4a Use an all-permissive copyright notice, recommended by RMS.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5016
diff changeset
6 # with or without modifications, as long as this notice is preserved.
1932
f0f8b00ed584 *** empty log message ***
Jim Meyering <jim@meyering.net>
parents:
diff changeset
7
5016
7141ea4946af Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
Jim Meyering <jim@meyering.net>
parents: 3339
diff changeset
8 AC_DEFUN([gl_BISON],
1932
f0f8b00ed584 *** empty log message ***
Jim Meyering <jim@meyering.net>
parents:
diff changeset
9 [
f0f8b00ed584 *** empty log message ***
Jim Meyering <jim@meyering.net>
parents:
diff changeset
10 # getdate.y works with bison only.
5906
247f8fcff982 * bison.m4: Back out inadvertant change.
Derek R. Price <derek@ximbiot.com>
parents: 5901
diff changeset
11 : ${YACC='bison -y'}
5929
1bd98d92c928 * bison.m4: Note that precious decls of YACC & YFLAGS will be
Derek R. Price <derek@ximbiot.com>
parents: 5926
diff changeset
12 dnl
1bd98d92c928 * bison.m4: Note that precious decls of YACC & YFLAGS will be
Derek R. Price <derek@ximbiot.com>
parents: 5926
diff changeset
13 dnl Declaring YACC & YFLAGS precious will not be necessary after GNULIB
1bd98d92c928 * bison.m4: Note that precious decls of YACC & YFLAGS will be
Derek R. Price <derek@ximbiot.com>
parents: 5926
diff changeset
14 dnl requires an Autoconf greater than 2.59c, but it will probably still be
1bd98d92c928 * bison.m4: Note that precious decls of YACC & YFLAGS will be
Derek R. Price <derek@ximbiot.com>
parents: 5926
diff changeset
15 dnl useful to override the description of YACC in the --help output, re
1bd98d92c928 * bison.m4: Note that precious decls of YACC & YFLAGS will be
Derek R. Price <derek@ximbiot.com>
parents: 5926
diff changeset
16 dnl getdate.y assuming `bison -y'.
5926
3508054a2863 * bison.m4: Declare YACC & YFLAGS precious.
Derek R. Price <derek@ximbiot.com>
parents: 5906
diff changeset
17 AC_ARG_VAR(YACC,
3508054a2863 * bison.m4: Declare YACC & YFLAGS precious.
Derek R. Price <derek@ximbiot.com>
parents: 5906
diff changeset
18 [The `Yet Another C Compiler' implementation to use. Defaults to `bison -y'.
3508054a2863 * bison.m4: Declare YACC & YFLAGS precious.
Derek R. Price <derek@ximbiot.com>
parents: 5906
diff changeset
19 Values other than `bison -y' will most likely break on most systems.])dnl
3508054a2863 * bison.m4: Declare YACC & YFLAGS precious.
Derek R. Price <derek@ximbiot.com>
parents: 5906
diff changeset
20 AC_ARG_VAR(YFLAGS,
3508054a2863 * bison.m4: Declare YACC & YFLAGS precious.
Derek R. Price <derek@ximbiot.com>
parents: 5906
diff changeset
21 [YFLAGS contains the list arguments that will be passed by default to Bison.
3508054a2863 * bison.m4: Declare YACC & YFLAGS precious.
Derek R. Price <derek@ximbiot.com>
parents: 5906
diff changeset
22 This script will default YFLAGS to the empty string to avoid a default value of
3508054a2863 * bison.m4: Declare YACC & YFLAGS precious.
Derek R. Price <derek@ximbiot.com>
parents: 5906
diff changeset
23 `-d' given by some make applications.])dnl
1932
f0f8b00ed584 *** empty log message ***
Jim Meyering <jim@meyering.net>
parents:
diff changeset
24 ])