mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-08-14 21:25:14 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1b769ff28 | ||
|
|
94ff2b9475 | ||
|
|
470d206b2e | ||
|
|
08f0a4e409 | ||
|
|
00fda01856 | ||
|
|
bf31619762 | ||
|
|
31a743b2bb | ||
|
|
48b43d9d83 | ||
|
|
4b9e71f993 | ||
|
|
16cd214585 | ||
|
|
f2c7ab2c1f | ||
|
|
2c377512c2 | ||
|
|
74c3b26d85 | ||
|
|
72ab1d45d2 | ||
|
|
d9302e4b73 | ||
|
|
f1394282f0 | ||
|
|
d8b1af2801 | ||
|
|
445cb4e989 | ||
|
|
f40703a29a | ||
|
|
e348b12ae0 | ||
|
|
ba6f6bf90f | ||
|
|
d9af6cc62f | ||
|
|
ab30845981 | ||
|
|
0b3870c112 | ||
|
|
e92a5d5bae | ||
|
|
02cbcfc577 | ||
|
|
8c67836b58 | ||
|
|
cae30a7df4 | ||
|
|
9fb2ad6738 | ||
|
|
8bce355d7c | ||
|
|
ae7c7ada67 |
@@ -164,124 +164,128 @@ Available Packages
|
|||||||
==================
|
==================
|
||||||
|
|
||||||
Languages are not equally supported in all packages. The following
|
Languages are not equally supported in all packages. The following
|
||||||
matrix shows the current state of internationalization, as of July
|
matrix shows the current state of internationalization, as of September
|
||||||
2001. The matrix shows, in regard of each package, for which languages
|
2001. The matrix shows, in regard of each package, for which languages
|
||||||
PO files have been submitted to translation coordination, with a
|
PO files have been submitted to translation coordination, with a
|
||||||
translation percentage of at least 50%.
|
translation percentage of at least 50%.
|
||||||
|
|
||||||
Ready PO files bg cs da de el en eo es et fi fr gl he hr id it
|
Ready PO files bg cs da de el en eo es et fi fr gl he hr id it ja
|
||||||
+-------------------------------------------------+
|
+----------------------------------------------------+
|
||||||
a2ps | [] [] |
|
a2ps | [] [] [] |
|
||||||
bash | [] [] [] [] |
|
bash | [] [] [] [] |
|
||||||
bfd | |
|
bfd | |
|
||||||
binutils | |
|
binutils | [] |
|
||||||
bison | [] [] [] [] |
|
bison | [] [] [] [] [] |
|
||||||
clisp | [] [] [] [] |
|
clisp | [] [] [] [] |
|
||||||
cpio | [] [] [] [] [] |
|
cpio | [] [] [] [] [] |
|
||||||
diffutils | [] [] [] [] [] [] [] |
|
diffutils | [] [] [] [] [] [] [] |
|
||||||
enscript | [] [] |
|
enscript | [] [] |
|
||||||
error | [] [] |
|
error | [] [] |
|
||||||
fetchmail | |
|
fetchmail | |
|
||||||
fileutils | [] [] [] [] [] [] [] |
|
fileutils | [] [] [] [] [] [] [] [] |
|
||||||
findutils | [] [] [] [] [] [] [] [] |
|
findutils | [] [] [] [] [] [] [] [] |
|
||||||
flex | [] [] [] |
|
flex | [] [] [] |
|
||||||
freetype | |
|
freetype | |
|
||||||
gas | |
|
gas | |
|
||||||
gawk | [] |
|
gawk | [] [] |
|
||||||
gcal | |
|
gcal | |
|
||||||
gcc | |
|
gcc | |
|
||||||
gettext | [] [] [] [] [] [] [] [] [] |
|
gettext | [] [] [] [] [] [] [] [] [] [] |
|
||||||
gnupg | [] [] [] [] [] [] |
|
gnupg | [] [] [] [] [] [] [] |
|
||||||
gprof | |
|
gprof | |
|
||||||
grep | [] [] [] [] [] [] [] |
|
grep | [] [] [] [] [] [] [] [] |
|
||||||
hello | [] [] [] [] [] [] [] [] [] [] |
|
hello | [] [] [] [] [] [] [] [] [] [] [] |
|
||||||
id-utils | [] [] [] |
|
id-utils | [] [] [] |
|
||||||
indent | [] [] [] [] [] |
|
indent | [] [] [] [] [] |
|
||||||
jpilot | [] |
|
jpilot | [] |
|
||||||
kbd | |
|
kbd | |
|
||||||
ld | |
|
ld | [] |
|
||||||
libc | [] [] [] [] [] [] [] [] |
|
libc | [] [] [] [] [] [] [] [] |
|
||||||
lilypond | |
|
lilypond | [] |
|
||||||
lynx | [] [] [] |
|
lynx | [] [] [] [] |
|
||||||
m4 | [] [] [] [] [] [] [] |
|
m4 | [] [] [] [] [] [] [] [] |
|
||||||
make | [] [] [] [] [] |
|
make | [] [] [] [] [] [] |
|
||||||
nano | [] [] |
|
mysecretdiary | [] |
|
||||||
opcodes | |
|
nano | [] [] [] |
|
||||||
parted | [] [] |
|
opcodes | |
|
||||||
ptx | [] [] [] [] [] [] [] |
|
parted | [] [] [] |
|
||||||
python | |
|
ptx | [] [] [] [] [] [] [] |
|
||||||
recode | [] [] [] [] [] [] [] [] [] |
|
python | |
|
||||||
sed | [] [] [] [] [] [] [] [] [] [] |
|
recode | [] [] [] [] [] [] [] [] [] |
|
||||||
sh-utils | [] [] [] [] [] [] [] [] [] |
|
sed | [] [] [] [] [] [] [] [] [] [] [] [] |
|
||||||
sharutils | [] [] [] [] [] [] [] |
|
sh-utils | [] [] [] [] [] [] [] [] [] [] |
|
||||||
soundtracker | [] |
|
sharutils | [] [] [] [] [] [] [] [] |
|
||||||
sp | |
|
sketch | |
|
||||||
tar | [] [] [] [] [] [] [] [] |
|
soundtracker | [] [] [] |
|
||||||
texinfo | [] [] [] [] [] |
|
sp | |
|
||||||
textutils | [] [] [] [] [] [] [] |
|
tar | [] [] [] [] [] [] [] [] |
|
||||||
util-linux | [] [] |
|
texinfo | [] [] [] [] [] [] |
|
||||||
wdiff | [] [] |
|
textutils | [] [] [] [] [] [] [] [] |
|
||||||
wget | [] [] [] [] [] [] [] [] [] |
|
util-linux | [] [] |
|
||||||
+-------------------------------------------------+
|
wdiff | [] [] [] |
|
||||||
bg cs da de el en eo es et fi fr gl he hr id it
|
wget | [] [] [] [] [] [] [] [] [] [] |
|
||||||
0 13 23 30 11 1 8 21 13 1 29 22 3 0 8 10
|
+----------------------------------------------------+
|
||||||
|
bg cs da de el en eo es et fi fr gl he hr id it ja
|
||||||
|
0 14 24 32 11 1 8 23 13 1 33 22 4 0 7 9 18
|
||||||
|
|
||||||
ja ko lv nl no pl pt pt_BR ru sk sl sv tr uk zh
|
ko lv nb nl nn no pl pt pt_BR ru sk sl sv tr uk zh
|
||||||
+-------------------------------------------------+
|
+----------------------------------------------------+
|
||||||
a2ps | [] [] [] | 5
|
a2ps | [] [] [] | 6
|
||||||
bash | | 4
|
bash | | 4
|
||||||
bfd | | 0
|
bfd | | 0
|
||||||
binutils | | 0
|
binutils | | 1
|
||||||
bison | [] [] [] | 7
|
bison | [] | 6
|
||||||
clisp | [] | 5
|
clisp | [] | 5
|
||||||
cpio | [] [] [] [] [] | 10
|
cpio | [] [] [] [] [] | 10
|
||||||
diffutils | [] [] [] | 10
|
diffutils | [] [] [] [] | 11
|
||||||
enscript | [] [] [] | 5
|
enscript | [] [] [] | 5
|
||||||
error | [] | 3
|
error | [] [] | 4
|
||||||
fetchmail | | 0
|
fetchmail | | 0
|
||||||
fileutils | [] [] [] [] [] [] [] [] [] [] | 17
|
fileutils | [] [] [] [] [] [] [] [] [] | 17
|
||||||
findutils | [] [] [] [] [] [] [] [] | 16
|
findutils | [] [] [] [] [] [] [] [] | 16
|
||||||
flex | [] [] [] | 6
|
flex | [] [] [] | 6
|
||||||
freetype | | 0
|
freetype | | 0
|
||||||
gas | | 0
|
gas | | 0
|
||||||
gawk | [] | 2
|
gawk | [] | 3
|
||||||
gcal | | 0
|
gcal | | 0
|
||||||
gcc | | 0
|
gcc | | 0
|
||||||
gettext | [] [] [] [] [] [] [] [] [] | 18
|
gettext | [] [] [] [] [] [] [] [] | 18
|
||||||
gnupg | [] [] [] [] | 10
|
gnupg | [] [] [] | 10
|
||||||
gprof | | 0
|
gprof | | 0
|
||||||
grep | [] [] [] | 10
|
grep | [] [] [] [] | 12
|
||||||
hello | [] [] [] [] [] [] [] [] [] [] [] | 21
|
hello | [] [] [] [] [] [] [] [] [] [] [] | 22
|
||||||
id-utils | [] [] [] | 6
|
id-utils | [] [] [] | 6
|
||||||
indent | [] [] [] [] [] [] [] | 12
|
indent | [] [] [] [] [] [] [] | 12
|
||||||
jpilot | | 1
|
jpilot | | 1
|
||||||
kbd | [] | 1
|
kbd | [] | 1
|
||||||
ld | | 0
|
ld | | 1
|
||||||
libc | [] [] [] [] [] [] [] [] [] | 17
|
libc | [] [] [] [] [] [] [] [] | 16
|
||||||
lilypond | [] [] | 2
|
lilypond | [] [] | 3
|
||||||
lynx | [] [] [] [] [] | 8
|
lynx | [] [] [] [] | 8
|
||||||
m4 | [] [] [] [] [] | 12
|
m4 | [] [] [] [] | 12
|
||||||
make | [] [] [] [] [] [] [] | 12
|
make | [] [] [] [] [] [] | 12
|
||||||
nano | [] | 3
|
mysecretdiary | | 1
|
||||||
opcodes | | 0
|
nano | [] | 4
|
||||||
parted | [] [] [] | 5
|
opcodes | [] | 1
|
||||||
ptx | [] [] [] [] [] [] [] | 14
|
parted | [] [] | 5
|
||||||
python | | 0
|
ptx | [] [] [] [] [] [] [] [] | 15
|
||||||
recode | [] [] [] [] | 13
|
python | | 0
|
||||||
sed | [] [] [] [] [] [] [] [] | 18
|
recode | [] [] [] [] | 13
|
||||||
sh-utils | [] [] [] [] [] [] [] [] [] [] [] | 20
|
sed | [] [] [] [] [] [] [] | 19
|
||||||
sharutils | [] [] [] [] | 11
|
sh-utils | [] [] [] [] [] [] [] [] [] [] [] | 21
|
||||||
soundtracker | | 1
|
sharutils | [] [] [] | 11
|
||||||
sp | | 0
|
sketch | | 0
|
||||||
tar | [] [] [] [] [] [] [] [] [] | 17
|
soundtracker | | 3
|
||||||
texinfo | [] [] | 7
|
sp | | 0
|
||||||
textutils | [] [] [] [] [] [] [] [] | 15
|
tar | [] [] [] [] [] [] [] | 15
|
||||||
util-linux | [] [] | 4
|
texinfo | [] | 7
|
||||||
wdiff | [] [] [] | 5
|
textutils | [] [] [] [] [] [] [] [] | 16
|
||||||
wget | [] [] [] [] [] [] [] | 16
|
util-linux | [] [] | 4
|
||||||
+-------------------------------------------------+
|
wdiff | [] [] [] [] | 7
|
||||||
31 teams ja ko lv nl no pl pt pt_BR ru sk sl sv tr uk zh
|
wget | [] [] [] [] [] [] [] | 17
|
||||||
51 domains 17 9 1 23 6 17 1 13 26 9 11 20 19 2 2 369
|
+----------------------------------------------------+
|
||||||
|
33 teams ko lv nb nl nn no pl pt pt_BR ru sk sl sv tr uk zh
|
||||||
|
53 domains 9 1 6 20 0 6 17 1 13 25 10 11 23 21 2 2 387
|
||||||
|
|
||||||
Some counters in the preceding matrix are higher than the number of
|
Some counters in the preceding matrix are higher than the number of
|
||||||
visible blocks let us expect. This is because a few extra PO files are
|
visible blocks let us expect. This is because a few extra PO files are
|
||||||
@@ -294,9 +298,9 @@ distributed as such by its maintainer. There might be an observable
|
|||||||
lag between the mere existence a PO file and its wide availability in a
|
lag between the mere existence a PO file and its wide availability in a
|
||||||
distribution.
|
distribution.
|
||||||
|
|
||||||
If July 2001 seems to be old, you may fetch a more recent copy of
|
If September 2001 seems to be old, you may fetch a more recent copy
|
||||||
this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date
|
of this `ABOUT-NLS' file on most GNU archive sites. The most
|
||||||
matrix with full percentage details can be found at
|
up-to-date matrix with full percentage details can be found at
|
||||||
`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'.
|
`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'.
|
||||||
|
|
||||||
Using `gettext' in new packages
|
Using `gettext' in new packages
|
||||||
@@ -304,10 +308,11 @@ Using `gettext' in new packages
|
|||||||
|
|
||||||
If you are writing a freely available program and want to
|
If you are writing a freely available program and want to
|
||||||
internationalize it you are welcome to use GNU `gettext' in your
|
internationalize it you are welcome to use GNU `gettext' in your
|
||||||
package. Of course the GNU General Public License applies to your
|
package. Of course you have to respect the GNU Library General Public
|
||||||
sources from then on if you include `gettext' directly in your
|
License which covers the use of the GNU `gettext' library. This means
|
||||||
distribution but since you are writing free software anyway this is no
|
in particular that even non-free programs can use `libintl' as a shared
|
||||||
restriction.
|
library, whereas only free software can use `libintl' as a static
|
||||||
|
library or use modified versions of `libintl'.
|
||||||
|
|
||||||
Once the sources are changed appropriately and the setup can handle
|
Once the sources are changed appropriately and the setup can handle
|
||||||
to use of `gettext' the only thing missing are the translations. The
|
to use of `gettext' the only thing missing are the translations. The
|
||||||
|
|||||||
@@ -1,3 +1,115 @@
|
|||||||
|
2001-10-18 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Version 1.29e.
|
||||||
|
|
||||||
|
2001-10-18 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/atlocal.in (GCC): Add.
|
||||||
|
* tests/calc.at: s/m4_match/m4_bmatch/.
|
||||||
|
s/m4_patsubst/m4_bpatsubst/.
|
||||||
|
(AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
|
||||||
|
* configure.in: AC_SUBST(GCC).
|
||||||
|
|
||||||
|
2001-10-10 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* m4/m4.m4: Remove.
|
||||||
|
* configure.in: M4 is no longer needed, but autom4te is.
|
||||||
|
* tests/Makefile.am (AUTOTEST): Don't define AUTOM4TE, let
|
||||||
|
AC_SUBST do it.
|
||||||
|
|
||||||
|
2001-10-10 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Bump to 1.29e.
|
||||||
|
|
||||||
|
2001-10-10 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Version 1.29d.
|
||||||
|
* src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
|
||||||
|
Use `#if !YYSTACK_USE_ALLOCA', not `#ifndef'.
|
||||||
|
Reported by Airy Andre.
|
||||||
|
|
||||||
|
2001-10-10 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* INSTALL, config/config.guess, config/config.sub, config/mdate-sh
|
||||||
|
* config/mkinstalldirs, lib/ansi2knr.c: Update.
|
||||||
|
|
||||||
|
2001-10-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Bump 1.29d.
|
||||||
|
|
||||||
|
2001-10-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Version 1.29c.
|
||||||
|
|
||||||
|
2001-10-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/regression.at (Invalid CPP headers): New.
|
||||||
|
From Alexander Belopolsky.
|
||||||
|
* src/files.c (compute_header_macro): Map non alnum chars to `_'.
|
||||||
|
|
||||||
|
2001-10-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/regression.at (Invalid input): New.
|
||||||
|
* src/lex.c (lex): Be sure to set `token_buffer' in any case.
|
||||||
|
Reported by Shura.
|
||||||
|
|
||||||
|
2001-10-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/calc.at: Now that --debug works, the tests must be adjusted.
|
||||||
|
|
||||||
|
2001-10-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* src/output.c (output_parser): Assert `skeleton'.
|
||||||
|
* src/files.c (skeleton_find): Look harder for skeletons on DOSish
|
||||||
|
systems.
|
||||||
|
From Shura.
|
||||||
|
|
||||||
|
2001-10-01 Marc Autret <[email protected]>
|
||||||
|
|
||||||
|
* src/lex.h: Echo modifications.
|
||||||
|
* src/lex.c (unlex): Parameter is now token_t.
|
||||||
|
From Hans Aberg.
|
||||||
|
|
||||||
|
2001-10-01 Marc Autret <[email protected]>
|
||||||
|
|
||||||
|
* src/main.c: Include lex.h.
|
||||||
|
From Hans Aberg.
|
||||||
|
|
||||||
|
2001-09-29 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* src/getargs.c (longopts): `--debug' is `-t', not `-d'.
|
||||||
|
|
||||||
|
2001-09-28 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/testsuite.at: Update to newer Autotest.
|
||||||
|
* tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
|
||||||
|
|
||||||
|
2001-09-27 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Position independent wrapper.
|
||||||
|
|
||||||
|
* tests/bison: Remove.
|
||||||
|
* tests/bison.in: New.
|
||||||
|
* configure.in: Adjust.
|
||||||
|
|
||||||
|
2001-09-27 Paul Eggert <[email protected]>
|
||||||
|
|
||||||
|
Port quotearg fixes from tar 1.13.24.
|
||||||
|
|
||||||
|
* lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
|
||||||
|
tm to be declared.
|
||||||
|
(HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
|
||||||
|
(mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
|
||||||
|
|
||||||
|
* m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
|
||||||
|
* m4/mbrtowc.m4: New file.
|
||||||
|
* m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
|
||||||
|
Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
|
||||||
|
|
||||||
|
2001-09-27 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Bump to 1.29c.
|
||||||
|
|
||||||
2001-09-27 Akim Demaille <[email protected]>
|
2001-09-27 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
Version 1.29b.
|
Version 1.29b.
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
Copyright 1994, 1995, 1996, 1999, 2000, 2001 Free Software Foundation,
|
||||||
|
Inc.
|
||||||
|
|
||||||
|
This file is free documentation; the Free Software Foundation gives
|
||||||
|
unlimited permission to copy, distribute and modify it.
|
||||||
|
|
||||||
Basic Installation
|
Basic Installation
|
||||||
==================
|
==================
|
||||||
|
|
||||||
@@ -8,20 +14,27 @@ various system-dependent variables used during compilation. It uses
|
|||||||
those values to create a `Makefile' in each directory of the package.
|
those values to create a `Makefile' in each directory of the package.
|
||||||
It may also create one or more `.h' files containing system-dependent
|
It may also create one or more `.h' files containing system-dependent
|
||||||
definitions. Finally, it creates a shell script `config.status' that
|
definitions. Finally, it creates a shell script `config.status' that
|
||||||
you can run in the future to recreate the current configuration, a file
|
you can run in the future to recreate the current configuration, and a
|
||||||
`config.cache' that saves the results of its tests to speed up
|
file `config.log' containing compiler output (useful mainly for
|
||||||
reconfiguring, and a file `config.log' containing compiler output
|
debugging `configure').
|
||||||
(useful mainly for debugging `configure').
|
|
||||||
|
It can also use an optional file (typically called `config.cache'
|
||||||
|
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||||
|
the results of its tests to speed up reconfiguring. (Caching is
|
||||||
|
disabled by default to prevent problems with accidental use of stale
|
||||||
|
cache files.)
|
||||||
|
|
||||||
If you need to do unusual things to compile the package, please try
|
If you need to do unusual things to compile the package, please try
|
||||||
to figure out how `configure' could check whether to do them, and mail
|
to figure out how `configure' could check whether to do them, and mail
|
||||||
diffs or instructions to the address given in the `README' so they can
|
diffs or instructions to the address given in the `README' so they can
|
||||||
be considered for the next release. If at some point `config.cache'
|
be considered for the next release. If you are using the cache, and at
|
||||||
contains results you don't want to keep, you may remove or edit it.
|
some point `config.cache' contains results you don't want to keep, you
|
||||||
|
may remove or edit it.
|
||||||
|
|
||||||
The file `configure.in' is used to create `configure' by a program
|
The file `configure.ac' (or `configure.in') is used to create
|
||||||
called `autoconf'. You only need `configure.in' if you want to change
|
`configure' by a program called `autoconf'. You only need
|
||||||
it or regenerate `configure' using a newer version of `autoconf'.
|
`configure.ac' if you want to change it or regenerate `configure' using
|
||||||
|
a newer version of `autoconf'.
|
||||||
|
|
||||||
The simplest way to compile this package is:
|
The simplest way to compile this package is:
|
||||||
|
|
||||||
@@ -55,14 +68,15 @@ Compilers and Options
|
|||||||
=====================
|
=====================
|
||||||
|
|
||||||
Some systems require unusual options for compilation or linking that
|
Some systems require unusual options for compilation or linking that
|
||||||
the `configure' script does not know about. You can give `configure'
|
the `configure' script does not know about. Run `./configure --help'
|
||||||
initial values for variables by setting them in the environment. Using
|
for details on some of the pertinent environment variables.
|
||||||
a Bourne-compatible shell, you can do that on the command line like
|
|
||||||
this:
|
|
||||||
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
|
|
||||||
|
|
||||||
Or on systems that have the `env' program, you can do it like this:
|
You can give `configure' initial values for variables by setting
|
||||||
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
|
them in the environment. You can do that on the command line like this:
|
||||||
|
|
||||||
|
./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
|
||||||
|
|
||||||
|
*Note Defining Variables::, for more details.
|
||||||
|
|
||||||
Compiling For Multiple Architectures
|
Compiling For Multiple Architectures
|
||||||
====================================
|
====================================
|
||||||
@@ -75,11 +89,11 @@ directory where you want the object files and executables to go and run
|
|||||||
the `configure' script. `configure' automatically checks for the
|
the `configure' script. `configure' automatically checks for the
|
||||||
source code in the directory that `configure' is in and in `..'.
|
source code in the directory that `configure' is in and in `..'.
|
||||||
|
|
||||||
If you have to use a `make' that does not supports the `VPATH'
|
If you have to use a `make' that does not support the `VPATH'
|
||||||
variable, you have to compile the package for one architecture at a time
|
variable, you have to compile the package for one architecture at a
|
||||||
in the source code directory. After you have installed the package for
|
time in the source code directory. After you have installed the
|
||||||
one architecture, use `make distclean' before reconfiguring for another
|
package for one architecture, use `make distclean' before reconfiguring
|
||||||
architecture.
|
for another architecture.
|
||||||
|
|
||||||
Installation Names
|
Installation Names
|
||||||
==================
|
==================
|
||||||
@@ -122,22 +136,35 @@ you can use the `configure' options `--x-includes=DIR' and
|
|||||||
Specifying the System Type
|
Specifying the System Type
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
There may be some features `configure' can not figure out
|
There may be some features `configure' cannot figure out
|
||||||
automatically, but needs to determine by the type of host the package
|
automatically, but needs to determine by the type of host the package
|
||||||
will run on. Usually `configure' can figure that out, but if it prints
|
will run on. Usually `configure' can figure that out, but if it prints
|
||||||
a message saying it can not guess the host type, give it the
|
a message saying it cannot guess the host type, give it the
|
||||||
`--host=TYPE' option. TYPE can either be a short name for the system
|
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||||
type, such as `sun4', or a canonical name with three fields:
|
type, such as `sun4', or a canonical name which has the form:
|
||||||
|
|
||||||
CPU-COMPANY-SYSTEM
|
CPU-COMPANY-SYSTEM
|
||||||
|
|
||||||
See the file `config.sub' for the possible values of each field. If
|
where SYSTEM can have one of these forms:
|
||||||
|
|
||||||
|
OS KERNEL-OS
|
||||||
|
|
||||||
|
See the file `config.sub' for the possible values of each field. If
|
||||||
`config.sub' isn't included in this package, then this package doesn't
|
`config.sub' isn't included in this package, then this package doesn't
|
||||||
need to know the host type.
|
need to know the host type.
|
||||||
|
|
||||||
If you are building compiler tools for cross-compiling, you can also
|
If you are _building_ compiler tools for cross-compiling, you should
|
||||||
use the `--target=TYPE' option to select the type of system they will
|
use the `--target=TYPE' option to select the type of system they will
|
||||||
produce code for and the `--build=TYPE' option to select the type of
|
produce code for.
|
||||||
system on which you are compiling the package.
|
|
||||||
|
If you want to _use_ a cross compiler, that generates code for a
|
||||||
|
platform different from the build platform, you should specify the host
|
||||||
|
platform (i.e., that on which the generated programs will eventually be
|
||||||
|
run) with `--host=TYPE'. In this case, you should also specify the
|
||||||
|
build platform with `--build=TYPE', because, in this case, it may not
|
||||||
|
be possible to guess the build platform (it sometimes involves
|
||||||
|
compiling and running simple test programs, and this can't be done if
|
||||||
|
the compiler is a cross compiler).
|
||||||
|
|
||||||
Sharing Defaults
|
Sharing Defaults
|
||||||
================
|
================
|
||||||
@@ -150,20 +177,44 @@ default values for variables like `CC', `cache_file', and `prefix'.
|
|||||||
`CONFIG_SITE' environment variable to the location of the site script.
|
`CONFIG_SITE' environment variable to the location of the site script.
|
||||||
A warning: not all `configure' scripts look for a site script.
|
A warning: not all `configure' scripts look for a site script.
|
||||||
|
|
||||||
Operation Controls
|
Defining Variables
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
Variables not defined in a site shell script can be set in the
|
||||||
|
environment passed to `configure'. However, some packages may run
|
||||||
|
configure again during the build, and the customized values of these
|
||||||
|
variables may be lost. In order to avoid this problem, you should set
|
||||||
|
them in the `configure' command line, using `VAR=value'. For example:
|
||||||
|
|
||||||
|
./configure CC=/usr/local2/bin/gcc
|
||||||
|
|
||||||
|
will cause the specified gcc to be used as the C compiler (unless it is
|
||||||
|
overridden in the site shell script).
|
||||||
|
|
||||||
|
`configure' Invocation
|
||||||
|
======================
|
||||||
|
|
||||||
`configure' recognizes the following options to control how it
|
`configure' recognizes the following options to control how it
|
||||||
operates.
|
operates.
|
||||||
|
|
||||||
`--cache-file=FILE'
|
|
||||||
Use and save the results of the tests in FILE instead of
|
|
||||||
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
|
|
||||||
debugging `configure'.
|
|
||||||
|
|
||||||
`--help'
|
`--help'
|
||||||
|
`-h'
|
||||||
Print a summary of the options to `configure', and exit.
|
Print a summary of the options to `configure', and exit.
|
||||||
|
|
||||||
|
`--version'
|
||||||
|
`-V'
|
||||||
|
Print the version of Autoconf used to generate the `configure'
|
||||||
|
script, and exit.
|
||||||
|
|
||||||
|
`--cache-file=FILE'
|
||||||
|
Enable the cache: use and save the results of the tests in FILE,
|
||||||
|
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
||||||
|
disable caching.
|
||||||
|
|
||||||
|
`--config-cache'
|
||||||
|
`-C'
|
||||||
|
Alias for `--cache-file=config.cache'.
|
||||||
|
|
||||||
`--quiet'
|
`--quiet'
|
||||||
`--silent'
|
`--silent'
|
||||||
`-q'
|
`-q'
|
||||||
@@ -175,8 +226,6 @@ operates.
|
|||||||
Look for the package's source code in directory DIR. Usually
|
Look for the package's source code in directory DIR. Usually
|
||||||
`configure' can determine that directory automatically.
|
`configure' can determine that directory automatically.
|
||||||
|
|
||||||
`--version'
|
`configure' also accepts some other, not widely useful, options. Run
|
||||||
Print the version of Autoconf used to generate the `configure'
|
`configure --help' for more details.
|
||||||
script, and exit.
|
|
||||||
|
|
||||||
`configure' also accepts some other, not widely useful, options.
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
||||||
AUTOMAKE_OPTIONS = 1.5 check-news readme-alpha
|
AUTOMAKE_OPTIONS = 1.5 check-news readme-alpha dist-bzip2
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
|
|||||||
+44
-31
@@ -1,4 +1,4 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -43,6 +43,7 @@ AUTOCONF = @AUTOCONF@
|
|||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -57,7 +58,12 @@ PRE_UNINSTALL = :
|
|||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
|
AUTOM4TE = @AUTOM4TE@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
@@ -66,7 +72,7 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
DATADIRNAME = @DATADIRNAME@
|
DATADIRNAME = @DATADIRNAME@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
EXEEXT = @EXEEXT@
|
GCC = @GCC@
|
||||||
GENCAT = @GENCAT@
|
GENCAT = @GENCAT@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
@@ -79,10 +85,8 @@ INTLOBJS = @INTLOBJS@
|
|||||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||||
LIBICONV = @LIBICONV@
|
LIBICONV = @LIBICONV@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
M4 = @M4@
|
|
||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
OBJEXT = @OBJEXT@
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
POSUB = @POSUB@
|
POSUB = @POSUB@
|
||||||
@@ -96,7 +100,7 @@ am__include = @am__include@
|
|||||||
am__quote = @am__quote@
|
am__quote = @am__quote@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = 1.5 check-news readme-alpha
|
AUTOMAKE_OPTIONS = 1.5 check-news readme-alpha dist-bzip2
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
@@ -153,7 +157,7 @@ $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|||||||
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||||
cd $(srcdir) && $(AUTOCONF)
|
cd $(srcdir) && $(AUTOCONF)
|
||||||
|
|
||||||
$(ACLOCAL_M4): configure.in m4/c-bs-a.m4 m4/codeset.m4 m4/dmalloc.m4 m4/error.m4 m4/gettext.m4 m4/glibc21.m4 m4/iconv.m4 m4/isc-posix.m4 m4/lcmessage.m4 m4/m4.m4 m4/malloc.m4 m4/mbstate_t.m4 m4/prereq.m4 m4/progtest.m4 m4/realloc.m4 m4/strerror_r.m4 m4/warning.m4
|
$(ACLOCAL_M4): configure.in m4/c-bs-a.m4 m4/codeset.m4 m4/dmalloc.m4 m4/error.m4 m4/gettext.m4 m4/glibc21.m4 m4/iconv.m4 m4/isc-posix.m4 m4/lcmessage.m4 m4/malloc.m4 m4/mbrtowc.m4 m4/mbstate_t.m4 m4/prereq.m4 m4/progtest.m4 m4/realloc.m4 m4/strerror_r.m4 m4/warning.m4
|
||||||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||||
config.h: stamp-h
|
config.h: stamp-h
|
||||||
@if test ! -f $@; then \
|
@if test ! -f $@; then \
|
||||||
@@ -269,7 +273,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \
|
|||||||
|| etags $(ETAGS_ARGS) $$tags config.hin $$unique $(LISP)
|
|| etags $(ETAGS_ARGS) $$tags config.hin $$unique $(LISP)
|
||||||
|
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $(GTAGS_ARGS) $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
@@ -292,7 +296,7 @@ distdir: $(DISTFILES)
|
|||||||
fi
|
fi
|
||||||
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||||
mkdir $(distdir)
|
mkdir $(distdir)
|
||||||
$(mkinstalldirs) $(distdir)/intl $(distdir)/po
|
$(mkinstalldirs) $(distdir)/intl $(distdir)/po $(distdir)/tests
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
@@ -326,10 +330,19 @@ distdir: $(DISTFILES)
|
|||||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||||
|| chmod -R a+r $(distdir)
|
|| chmod -R a+r $(distdir)
|
||||||
dist: distdir
|
dist-gzip: distdir
|
||||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||||
|
|
||||||
|
dist-bzip2: distdir
|
||||||
|
$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||||
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||||
|
|
||||||
|
dist dist-all: distdir
|
||||||
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
|
$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||||
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||||
|
|
||||||
# This target untars the dist file and tries a VPATH configuration. Then
|
# This target untars the dist file and tries a VPATH configuration. Then
|
||||||
# it guarantees that the distribution is self-contained by making another
|
# it guarantees that the distribution is self-contained by making another
|
||||||
# tarfile.
|
# tarfile.
|
||||||
@@ -340,7 +353,7 @@ distcheck: dist
|
|||||||
mkdir $(distdir)/=build
|
mkdir $(distdir)/=build
|
||||||
mkdir $(distdir)/=inst
|
mkdir $(distdir)/=inst
|
||||||
chmod a-w $(distdir)
|
chmod a-w $(distdir)
|
||||||
dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
|
dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
|
||||||
&& cd $(distdir)/=build \
|
&& cd $(distdir)/=build \
|
||||||
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
||||||
--with-included-gettext \
|
--with-included-gettext \
|
||||||
@@ -351,14 +364,16 @@ distcheck: dist
|
|||||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||||
&& (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|
&& (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|
||||||
|| (echo "Error: files left after uninstall" 1>&2; \
|
|| { echo "ERROR: files left after uninstall:" ; \
|
||||||
exit 1) ) \
|
find $$dc_install_base -type f -print ; \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
exit 1; } >&2 ) \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
|
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
|
||||||
&& rm -f $(distdir).tar.gz \
|
&& rm -f $(distdir).tar.gz \
|
||||||
&& (test `find . -type f -print | wc -l` -eq 0 \
|
&& (test `find . -type f -print | wc -l` -eq 0 \
|
||||||
|| (echo "Error: files left after distclean" 1>&2; \
|
|| { echo "ERROR: files left after distclean:" ; \
|
||||||
exit 1) )
|
find . -type f -print ; \
|
||||||
|
exit 1; } >&2 )
|
||||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||||
@echo "$(distdir).tar.gz is ready for distribution" | \
|
@echo "$(distdir).tar.gz is ready for distribution" | \
|
||||||
sed 'h;s/./=/g;p;x;p;x'
|
sed 'h;s/./=/g;p;x;p;x'
|
||||||
@@ -396,9 +411,6 @@ clean: clean-recursive
|
|||||||
|
|
||||||
clean-am: clean-generic mostlyclean-am
|
clean-am: clean-generic mostlyclean-am
|
||||||
|
|
||||||
dist-all: distdir
|
|
||||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
|
||||||
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
|
||||||
distclean: distclean-recursive
|
distclean: distclean-recursive
|
||||||
-rm -f config.status config.cache config.log
|
-rm -f config.status config.cache config.log
|
||||||
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
|
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
|
||||||
@@ -434,19 +446,20 @@ uninstall-am: uninstall-info-am
|
|||||||
uninstall-info: uninstall-info-recursive
|
uninstall-info: uninstall-info-recursive
|
||||||
|
|
||||||
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
|
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
|
||||||
clean-generic clean-recursive dist dist-all distcheck distclean \
|
clean-generic clean-recursive dist dist-all dist-bzip2 \
|
||||||
distclean-generic distclean-hdr distclean-recursive \
|
dist-gzip distcheck distclean distclean-generic distclean-hdr \
|
||||||
distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
|
distclean-recursive distclean-tags distdir dvi dvi-am \
|
||||||
info-recursive install install-am install-data install-data-am \
|
dvi-recursive info info-am info-recursive install install-am \
|
||||||
install-data-recursive install-exec install-exec-am \
|
install-data install-data-am install-data-recursive \
|
||||||
install-exec-recursive install-info install-info-am \
|
install-exec install-exec-am install-exec-recursive \
|
||||||
install-info-recursive install-man install-recursive \
|
install-info install-info-am install-info-recursive install-man \
|
||||||
install-strip installcheck installcheck-am installdirs \
|
install-recursive install-strip installcheck installcheck-am \
|
||||||
installdirs-am installdirs-recursive maintainer-clean \
|
installdirs installdirs-am installdirs-recursive \
|
||||||
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
|
maintainer-clean maintainer-clean-generic \
|
||||||
mostlyclean-generic mostlyclean-recursive tags tags-recursive \
|
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
||||||
uninstall uninstall-am uninstall-info-am \
|
mostlyclean-recursive tags tags-recursive uninstall \
|
||||||
uninstall-info-recursive uninstall-recursive
|
uninstall-am uninstall-info-am uninstall-info-recursive \
|
||||||
|
uninstall-recursive
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Bison News
|
Bison News
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Changes in version 1.29b:
|
Changes in version 1.29e:
|
||||||
|
|
||||||
* `--defines' and `--graph' have now an optionnal argument which is the
|
* `--defines' and `--graph' have now an optionnal argument which is the
|
||||||
output file name. `-d' and `-g' do not change, they do not take any
|
output file name. `-d' and `-g' do not change, they do not take any
|
||||||
@@ -16,7 +16,10 @@ Changes in version 1.29b:
|
|||||||
|
|
||||||
Changes in version 1.29:
|
Changes in version 1.29:
|
||||||
|
|
||||||
* Output file does not redefine const; that is now config.h's job.
|
* The output file does not define const, as this caused problems when used
|
||||||
|
with common autoconfiguration schemes. If you still use ancient compilers
|
||||||
|
that lack const, compile with the equivalent of the C compiler option
|
||||||
|
`-Dconst='. autoconf's AC_C_CONST macro provides one way to do this.
|
||||||
|
|
||||||
* Added `-g' and `--graph'.
|
* Added `-g' and `--graph'.
|
||||||
|
|
||||||
|
|||||||
@@ -1,25 +1,28 @@
|
|||||||
Bison was originally written by Robert Corbett. It would not be what
|
Bison was originally written by Robert Corbett. It would not be what
|
||||||
it is today without the invaluable help of these people:
|
it is today without the invaluable help of these people:
|
||||||
|
|
||||||
Akim Demaille akim@epita.fr
|
Airy Andre Airy.Andre@edf.fr
|
||||||
|
Akim Demaille [email protected]
|
||||||
Albert Chin-A-Young [email protected]
|
Albert Chin-A-Young [email protected]
|
||||||
Daniel Hagerty [email protected]
|
Alexander Belopolsky [email protected]
|
||||||
David J. MacKenzie djm@gnu.org
|
Daniel Hagerty hag@gnu.org
|
||||||
Fabrice Bauzac [email protected]
|
David J. MacKenzie [email protected]
|
||||||
Hans Aberg [email protected]
|
Fabrice Bauzac [email protected]
|
||||||
Jesse Thilo [email protected]
|
Hans Aberg [email protected]
|
||||||
Jim Meyering meyering@gnu.org
|
Jesse Thilo jthilo@gnu.org
|
||||||
Juan Manuel Guerrero [email protected]
|
Jim Meyering [email protected]
|
||||||
Keith Browne [email protected]
|
Juan Manuel Guerrero [email protected]
|
||||||
Laurent Mascherpa [email protected]
|
Keith Browne [email protected]
|
||||||
|
Laurent Mascherpa [email protected]
|
||||||
Marc Autret [email protected]
|
Marc Autret [email protected]
|
||||||
Neil Booth [email protected]
|
Neil Booth [email protected]
|
||||||
Noah Friedman [email protected]
|
Noah Friedman [email protected]
|
||||||
Pascal Bart [email protected]
|
Pascal Bart [email protected]
|
||||||
Paul Eggert [email protected]
|
Paul Eggert [email protected]
|
||||||
Piotr Gackiewicz [email protected]
|
Piotr Gackiewicz [email protected]
|
||||||
Richard Stallman [email protected]
|
Richard Stallman [email protected]
|
||||||
Robert Anisko [email protected]
|
Robert Anisko [email protected]
|
||||||
|
Shura [email protected]
|
||||||
|
|
||||||
Many people are not named here because we lost track of them. We
|
Many people are not named here because we lost track of them. We
|
||||||
thank them! Please, help us keeping this list up to date.
|
thank them! Please, help us keeping this list up to date.
|
||||||
|
|||||||
Vendored
+295
-120
@@ -1,4 +1,4 @@
|
|||||||
# aclocal.m4 generated automatically by aclocal 1.5
|
# aclocal.m4 generated automatically by aclocal 1.5a
|
||||||
|
|
||||||
# Copyright 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -11,11 +11,29 @@
|
|||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
# Do all the work for Automake. This macro actually does too much --
|
# Do all the work for Automake. -*- Autoconf -*-
|
||||||
# some checks are only needed if your package does certain things.
|
|
||||||
# But this isn't really a big deal.
|
|
||||||
|
|
||||||
# serial 5
|
# This macro actually does too much some checks are only needed if
|
||||||
|
# your package does certain things. But this isn't really a big deal.
|
||||||
|
|
||||||
|
# Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
|
# serial 6
|
||||||
|
|
||||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||||
# written in clear, in which case automake, when reading aclocal.m4,
|
# written in clear, in which case automake, when reading aclocal.m4,
|
||||||
@@ -24,55 +42,29 @@
|
|||||||
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
||||||
|
|
||||||
|
|
||||||
# We require 2.13 because we rely on SHELL being computed by configure.
|
AC_PREREQ([2.52])
|
||||||
AC_PREREQ([2.13])
|
|
||||||
|
|
||||||
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
|
|
||||||
# -----------------------------------------------------------
|
|
||||||
# If MACRO-NAME is provided do IF-PROVIDED, else IF-NOT-PROVIDED.
|
|
||||||
# The purpose of this macro is to provide the user with a means to
|
|
||||||
# check macros which are provided without letting her know how the
|
|
||||||
# information is coded.
|
|
||||||
# If this macro is not defined by Autoconf, define it here.
|
|
||||||
ifdef([AC_PROVIDE_IFELSE],
|
|
||||||
[],
|
|
||||||
[define([AC_PROVIDE_IFELSE],
|
|
||||||
[ifdef([AC_PROVIDE_$1],
|
|
||||||
[$2], [$3])])])
|
|
||||||
|
|
||||||
|
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
|
||||||
|
# the ones we care about.
|
||||||
|
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||||
|
|
||||||
# AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
|
# AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
|
||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
AC_DEFUN([AM_INIT_AUTOMAKE],
|
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||||
[AC_REQUIRE([AC_PROG_INSTALL])dnl
|
[AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||||
# test to see if srcdir already configured
|
# test to see if srcdir already configured
|
||||||
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
|
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
||||||
test -f $srcdir/config.status; then
|
test -f $srcdir/config.status; then
|
||||||
AC_MSG_ERROR([source directory already configured; run \"make distclean\" there first])
|
AC_MSG_ERROR([source directory already configured; run \"make distclean\" there first])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Define the identity of the package.
|
# Define the identity of the package.
|
||||||
PACKAGE=$1
|
AC_SUBST([PACKAGE], [$1])dnl
|
||||||
AC_SUBST(PACKAGE)dnl
|
AC_SUBST([VERSION], [$2])dnl
|
||||||
VERSION=$2
|
|
||||||
AC_SUBST(VERSION)dnl
|
|
||||||
ifelse([$3],,
|
ifelse([$3],,
|
||||||
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
||||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
|
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
|
||||||
|
|
||||||
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
|
|
||||||
# the ones we care about.
|
|
||||||
ifdef([m4_pattern_allow],
|
|
||||||
[m4_pattern_allow([^AM_[A-Z]+FLAGS])])dnl
|
|
||||||
|
|
||||||
# Autoconf 2.50 always computes EXEEXT. However we need to be
|
|
||||||
# compatible with 2.13, for now. So we always define EXEEXT, but we
|
|
||||||
# don't compute it.
|
|
||||||
AC_SUBST(EXEEXT)
|
|
||||||
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
|
|
||||||
# requests that it be used. This is a bit dumb.
|
|
||||||
: ${OBJEXT=o}
|
|
||||||
AC_SUBST(OBJEXT)
|
|
||||||
|
|
||||||
# Some tools Automake needs.
|
# Some tools Automake needs.
|
||||||
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
||||||
@@ -105,6 +97,23 @@ AC_PROVIDE_IFELSE([AC_PROG_][CXX],
|
|||||||
# Check to make sure that the build environment is sane.
|
# Check to make sure that the build environment is sane.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
# serial 3
|
# serial 3
|
||||||
|
|
||||||
# AM_SANITY_CHECK
|
# AM_SANITY_CHECK
|
||||||
@@ -149,6 +158,23 @@ fi
|
|||||||
AC_MSG_RESULT(yes)])
|
AC_MSG_RESULT(yes)])
|
||||||
|
|
||||||
|
|
||||||
|
# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
# serial 2
|
# serial 2
|
||||||
|
|
||||||
# AM_MISSING_PROG(NAME, PROGRAM)
|
# AM_MISSING_PROG(NAME, PROGRAM)
|
||||||
@@ -178,6 +204,23 @@ fi
|
|||||||
|
|
||||||
# AM_AUX_DIR_EXPAND
|
# AM_AUX_DIR_EXPAND
|
||||||
|
|
||||||
|
# Copyright 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
||||||
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
|
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
|
||||||
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
|
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
|
||||||
@@ -216,19 +259,59 @@ fi
|
|||||||
# absolute PATH. The drawback is that using absolute paths prevent a
|
# absolute PATH. The drawback is that using absolute paths prevent a
|
||||||
# configured tree to be moved without reconfiguration.
|
# configured tree to be moved without reconfiguration.
|
||||||
|
|
||||||
|
# Rely on autoconf to set up CDPATH properly.
|
||||||
|
AC_PREREQ([2.50])
|
||||||
|
|
||||||
AC_DEFUN([AM_AUX_DIR_EXPAND], [
|
AC_DEFUN([AM_AUX_DIR_EXPAND], [
|
||||||
# expand $ac_aux_dir to an absolute path
|
# expand $ac_aux_dir to an absolute path
|
||||||
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
||||||
])
|
])
|
||||||
|
|
||||||
# AM_PROG_INSTALL_SH
|
# AM_PROG_INSTALL_SH
|
||||||
# ------------------
|
# ------------------
|
||||||
# Define $install_sh.
|
# Define $install_sh.
|
||||||
|
|
||||||
|
# Copyright 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
AC_DEFUN([AM_PROG_INSTALL_SH],
|
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||||
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
||||||
AC_SUBST(install_sh)])
|
AC_SUBST(install_sh)])
|
||||||
|
|
||||||
|
# AM_PROG_INSTALL_STRIP
|
||||||
|
|
||||||
|
# Copyright 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
# One issue with vendor `install' (even GNU) is that you can't
|
# One issue with vendor `install' (even GNU) is that you can't
|
||||||
# specify the program used to strip binaries. This is especially
|
# specify the program used to strip binaries. This is especially
|
||||||
# annoying in cross-compiling environments, where the build's strip
|
# annoying in cross-compiling environments, where the build's strip
|
||||||
@@ -243,6 +326,22 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
|||||||
|
|
||||||
# serial 4 -*- Autoconf -*-
|
# serial 4 -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
|
|
||||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||||
@@ -373,6 +472,24 @@ popdef([subst])
|
|||||||
])
|
])
|
||||||
|
|
||||||
# Generate code to set up dependency tracking.
|
# Generate code to set up dependency tracking.
|
||||||
|
|
||||||
|
# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
# This macro should only be invoked once -- use via AC_REQUIRE.
|
# This macro should only be invoked once -- use via AC_REQUIRE.
|
||||||
# Usage:
|
# Usage:
|
||||||
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||||
@@ -426,6 +543,24 @@ ac_aux_dir="$ac_aux_dir"])])
|
|||||||
# AM_MAKE_INCLUDE()
|
# AM_MAKE_INCLUDE()
|
||||||
# -----------------
|
# -----------------
|
||||||
# Check to see how make treats includes.
|
# Check to see how make treats includes.
|
||||||
|
|
||||||
|
# Copyright 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
AC_DEFUN([AM_MAKE_INCLUDE],
|
AC_DEFUN([AM_MAKE_INCLUDE],
|
||||||
[am_make=${MAKE-make}
|
[am_make=${MAKE-make}
|
||||||
cat > confinc << 'END'
|
cat > confinc << 'END'
|
||||||
@@ -464,23 +599,35 @@ AC_MSG_RESULT($_am_result)
|
|||||||
rm -f confinc confmf
|
rm -f confinc confmf
|
||||||
])
|
])
|
||||||
|
|
||||||
# serial 3
|
# AM_CONDITIONAL -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
|
# serial 5
|
||||||
|
|
||||||
|
AC_PREREQ(2.52)
|
||||||
|
|
||||||
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
||||||
# -------------------------------------
|
# -------------------------------------
|
||||||
# Define a conditional.
|
# Define a conditional.
|
||||||
#
|
|
||||||
# FIXME: Once using 2.50, use this:
|
|
||||||
# m4_match([$1], [^TRUE\|FALSE$], [AC_FATAL([$0: invalid condition: $1])])dnl
|
|
||||||
AC_DEFUN([AM_CONDITIONAL],
|
AC_DEFUN([AM_CONDITIONAL],
|
||||||
[ifelse([$1], [TRUE],
|
[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
||||||
[errprint(__file__:__line__: [$0: invalid condition: $1
|
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
||||||
])dnl
|
|
||||||
m4exit(1)])dnl
|
|
||||||
ifelse([$1], [FALSE],
|
|
||||||
[errprint(__file__:__line__: [$0: invalid condition: $1
|
|
||||||
])dnl
|
|
||||||
m4exit(1)])dnl
|
|
||||||
AC_SUBST([$1_TRUE])
|
AC_SUBST([$1_TRUE])
|
||||||
AC_SUBST([$1_FALSE])
|
AC_SUBST([$1_FALSE])
|
||||||
if $2; then
|
if $2; then
|
||||||
@@ -491,71 +638,62 @@ else
|
|||||||
$1_FALSE=
|
$1_FALSE=
|
||||||
fi])
|
fi])
|
||||||
|
|
||||||
# Like AC_CONFIG_HEADER, but automatically create stamp file.
|
# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
|
||||||
|
|
||||||
# serial 3
|
# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
|
# serial 4
|
||||||
|
|
||||||
# When config.status generates a header, we must update the stamp-h file.
|
# When config.status generates a header, we must update the stamp-h file.
|
||||||
# This file resides in the same directory as the config header
|
# This file resides in the same directory as the config header
|
||||||
# that is generated. We must strip everything past the first ":",
|
# that is generated. We must strip everything past the first ":",
|
||||||
# and everything past the last "/".
|
# and everything past the last "/".
|
||||||
|
|
||||||
AC_PREREQ([2.12])
|
AC_PREREQ([2.52])
|
||||||
|
|
||||||
AC_DEFUN([AM_CONFIG_HEADER],
|
AC_DEFUN([AM_CONFIG_HEADER],
|
||||||
[ifdef([AC_FOREACH],dnl
|
[dnl init our file count if it isn't already
|
||||||
[dnl init our file count if it isn't already
|
m4_ifndef([_AM_Config_Header_Index], m4_define([_AM_Config_Header_Index], [0]))
|
||||||
m4_ifndef([_AM_Config_Header_Index], m4_define([_AM_Config_Header_Index], [0]))
|
dnl prepare to store our destination file list for use in config.status
|
||||||
dnl prepare to store our destination file list for use in config.status
|
AC_FOREACH([_AM_File], [$1],
|
||||||
AC_FOREACH([_AM_File], [$1],
|
[m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*]))
|
||||||
[m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*]))
|
m4_define([_AM_Config_Header_Index],
|
||||||
m4_define([_AM_Config_Header_Index], m4_incr(_AM_Config_Header_Index))
|
m4_incr(_AM_Config_Header_Index))
|
||||||
dnl and add it to the list of files AC keeps track of, along
|
dnl and add it to the list of files AC keeps track of, along
|
||||||
dnl with our hook
|
dnl with our hook
|
||||||
AC_CONFIG_HEADERS(_AM_File,
|
AC_CONFIG_HEADERS(_AM_File,
|
||||||
dnl COMMANDS, [, INIT-CMDS]
|
[# update the timestamp
|
||||||
[# update the timestamp
|
|
||||||
echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index["
|
echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index["
|
||||||
][$2]m4_ifval([$3], [, [$3]]))dnl AC_CONFIG_HEADERS
|
][$2]m4_ifval([$3], [, [$3]]))
|
||||||
m4_popdef([_AM_Dest])])],dnl
|
m4_popdef([_AM_Dest])])
|
||||||
[AC_CONFIG_HEADER([$1])
|
]) # AM_CONFIG_HEADER
|
||||||
AC_OUTPUT_COMMANDS(
|
|
||||||
ifelse(patsubst([$1], [[^ ]], []),
|
|
||||||
[],
|
|
||||||
[test -z "$CONFIG_HEADERS" || echo timestamp >dnl
|
|
||||||
patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),dnl
|
|
||||||
[am_indx=1
|
|
||||||
for am_file in $1; do
|
|
||||||
case " \$CONFIG_HEADERS " in
|
|
||||||
*" \$am_file "*)
|
|
||||||
am_dir=\`echo \$am_file |sed 's%:.*%%;s%[^/]*\$%%'\`
|
|
||||||
if test -n "\$am_dir"; then
|
|
||||||
am_tmpdir=\`echo \$am_dir |sed 's%^\(/*\).*\$%\1%'\`
|
|
||||||
for am_subdir in \`echo \$am_dir |sed 's%/% %'\`; do
|
|
||||||
am_tmpdir=\$am_tmpdir\$am_subdir/
|
|
||||||
if test ! -d \$am_tmpdir; then
|
|
||||||
mkdir \$am_tmpdir
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
echo timestamp > "\$am_dir"stamp-h\$am_indx
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
am_indx=\`expr \$am_indx + 1\`
|
|
||||||
done])
|
|
||||||
])]) # AM_CONFIG_HEADER
|
|
||||||
|
|
||||||
# _AM_DIRNAME(PATH)
|
# _AM_DIRNAME(PATH)
|
||||||
# -----------------
|
# -----------------
|
||||||
# Like AS_DIRNAME, only do it during macro expansion
|
# Like AS_DIRNAME, only do it during macro expansion
|
||||||
AC_DEFUN([_AM_DIRNAME],
|
AC_DEFUN([_AM_DIRNAME],
|
||||||
[m4_if(m4_regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
|
[m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
|
||||||
m4_if(m4_regexp([$1], [^//\([^/]\|$\)]), -1,
|
m4_if(regexp([$1], [^//\([^/]\|$\)]), -1,
|
||||||
m4_if(m4_regexp([$1], [^/.*]), -1,
|
m4_if(regexp([$1], [^/.*]), -1,
|
||||||
[.],
|
[.],
|
||||||
m4_patsubst([$1], [^\(/\).*], [\1])),
|
patsubst([$1], [^\(/\).*], [\1])),
|
||||||
m4_patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
|
patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
|
||||||
m4_patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
|
patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
|
||||||
]) # _AM_DIRNAME
|
]) # _AM_DIRNAME
|
||||||
|
|
||||||
#serial 1
|
#serial 1
|
||||||
@@ -577,6 +715,23 @@ AC_DEFUN([AC_ISC_POSIX],
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# Copyright 1996, 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
# serial 1
|
# serial 1
|
||||||
|
|
||||||
# @defmac AC_PROG_CC_STDC
|
# @defmac AC_PROG_CC_STDC
|
||||||
@@ -665,23 +820,6 @@ case "x$am_cv_prog_cc_stdc" in
|
|||||||
esac
|
esac
|
||||||
])
|
])
|
||||||
|
|
||||||
# serial 1 -*- Autoconf -*-
|
|
||||||
|
|
||||||
# BISON_AC_PROG_GNU_M4
|
|
||||||
# --------------------
|
|
||||||
# Check for GNU m4, at least 1.3 (supports frozen files).
|
|
||||||
AC_DEFUN([BISON_AC_PROG_GNU_M4],
|
|
||||||
[AC_PATH_PROGS(M4, gm4 gnum4 m4, m4)
|
|
||||||
AC_CACHE_CHECK([whether m4 supports frozen files],
|
|
||||||
[ac_cv_prog_gnu_m4],
|
|
||||||
[ac_cv_prog_gnu_m4=no
|
|
||||||
if test x"$M4" != x; then
|
|
||||||
case `$M4 --help < /dev/null 2>&1` in
|
|
||||||
*reload-state*) ac_cv_prog_gnu_m4=yes ;;
|
|
||||||
esac
|
|
||||||
fi])
|
|
||||||
])# BISON_AC_PROG_GNU_M4
|
|
||||||
|
|
||||||
AC_DEFUN(BISON_WARNING,
|
AC_DEFUN(BISON_WARNING,
|
||||||
[AC_MSG_CHECKING(whether compiler accepts $1)
|
[AC_MSG_CHECKING(whether compiler accepts $1)
|
||||||
AC_SUBST(WARNING_CFLAGS)
|
AC_SUBST(WARNING_CFLAGS)
|
||||||
@@ -695,6 +833,23 @@ AC_MSG_RESULT(no))
|
|||||||
CFLAGS="$ac_save_CFLAGS"])
|
CFLAGS="$ac_save_CFLAGS"])
|
||||||
|
|
||||||
|
|
||||||
|
# Copyright 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
# serial 1
|
# serial 1
|
||||||
|
|
||||||
AC_DEFUN([AM_C_PROTOTYPES],
|
AC_DEFUN([AM_C_PROTOTYPES],
|
||||||
@@ -788,21 +943,41 @@ AC_DEFUN(jm_FUNC_REALLOC,
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
#serial 1
|
#serial 2
|
||||||
|
|
||||||
dnl These are the prerequisite macros for files in the lib/
|
dnl These are the prerequisite macros for files in the lib/
|
||||||
dnl directories of Bison.
|
dnl directories of Bison.
|
||||||
|
|
||||||
AC_DEFUN([jm_PREREQ_QUOTEARG],
|
AC_DEFUN([jm_PREREQ_QUOTEARG],
|
||||||
[
|
[
|
||||||
AC_CHECK_FUNCS(isascii iswprint mbrtowc)
|
AC_CHECK_FUNCS(isascii iswprint mbsinit)
|
||||||
AC_CHECK_HEADERS(limits.h stdlib.h string.h wchar.h wctype.h)
|
jm_FUNC_MBRTOWC
|
||||||
|
AC_CHECK_HEADERS(limits.h stddef.h stdlib.h string.h wchar.h wctype.h)
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_C_BACKSLASH_A
|
AC_C_BACKSLASH_A
|
||||||
AC_MBSTATE_T
|
AC_MBSTATE_T
|
||||||
AM_C_PROTOTYPES
|
AM_C_PROTOTYPES
|
||||||
])
|
])
|
||||||
|
|
||||||
|
#serial 4
|
||||||
|
|
||||||
|
dnl From Paul Eggert
|
||||||
|
|
||||||
|
AC_DEFUN([jm_FUNC_MBRTOWC],
|
||||||
|
[
|
||||||
|
AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared],
|
||||||
|
jm_cv_func_mbrtowc,
|
||||||
|
[AC_TRY_LINK(
|
||||||
|
[#include <wchar.h>],
|
||||||
|
[mbstate_t state; return ! (sizeof state && mbrtowc);],
|
||||||
|
jm_cv_func_mbrtowc=yes,
|
||||||
|
jm_cv_func_mbrtowc=no)])
|
||||||
|
if test $jm_cv_func_mbrtowc = yes; then
|
||||||
|
AC_DEFINE(HAVE_MBRTOWC, 1,
|
||||||
|
[Define to 1 if mbrtowc and mbstate_t are properly declared.])
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
#serial 3
|
#serial 3
|
||||||
|
|
||||||
dnl From Paul Eggert.
|
dnl From Paul Eggert.
|
||||||
|
|||||||
+4
-1
@@ -113,9 +113,12 @@
|
|||||||
/* Define if you have the <malloc.h> header file. */
|
/* Define if you have the <malloc.h> header file. */
|
||||||
#undef HAVE_MALLOC_H
|
#undef HAVE_MALLOC_H
|
||||||
|
|
||||||
/* Define if you have the `mbrtowc' function. */
|
/* Define to 1 if mbrtowc and mbstate_t are properly declared. */
|
||||||
#undef HAVE_MBRTOWC
|
#undef HAVE_MBRTOWC
|
||||||
|
|
||||||
|
/* Define if you have the `mbsinit' function. */
|
||||||
|
#undef HAVE_MBSINIT
|
||||||
|
|
||||||
/* Define if you have the `memchr' function. */
|
/* Define if you have the `memchr' function. */
|
||||||
#undef HAVE_MEMCHR
|
#undef HAVE_MEMCHR
|
||||||
|
|
||||||
|
|||||||
+8
-4
@@ -1,4 +1,4 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -43,6 +43,7 @@ AUTOCONF = @AUTOCONF@
|
|||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -57,7 +58,12 @@ PRE_UNINSTALL = :
|
|||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
|
AUTOM4TE = @AUTOM4TE@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
@@ -66,7 +72,7 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
DATADIRNAME = @DATADIRNAME@
|
DATADIRNAME = @DATADIRNAME@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
EXEEXT = @EXEEXT@
|
GCC = @GCC@
|
||||||
GENCAT = @GENCAT@
|
GENCAT = @GENCAT@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
@@ -79,10 +85,8 @@ INTLOBJS = @INTLOBJS@
|
|||||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||||
LIBICONV = @LIBICONV@
|
LIBICONV = @LIBICONV@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
M4 = @M4@
|
|
||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
OBJEXT = @OBJEXT@
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
POSUB = @POSUB@
|
POSUB = @POSUB@
|
||||||
|
|||||||
Vendored
+16
-17
@@ -3,7 +3,7 @@
|
|||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2001-09-13'
|
timestamp='2001-10-05'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
@@ -24,8 +24,9 @@ timestamp='2001-09-13'
|
|||||||
# configuration script generated by Autoconf, you may include it under
|
# configuration script generated by Autoconf, you may include it under
|
||||||
# the same distribution terms that you use for the rest of that program.
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
# Written by Per Bothner <[email protected]>.
|
# Originally written by Per Bothner <[email protected]>.
|
||||||
# Please send patches to <[email protected]>.
|
# Please send patches to <[email protected]>. Submit a context
|
||||||
|
# diff and a properly formatted ChangeLog entry.
|
||||||
#
|
#
|
||||||
# This script attempts to guess a canonical system name similar to
|
# This script attempts to guess a canonical system name similar to
|
||||||
# config.sub. If it succeeds, it prints the system name on stdout, and
|
# config.sub. If it succeeds, it prints the system name on stdout, and
|
||||||
@@ -547,10 +548,8 @@ EOF
|
|||||||
9000/31? ) HP_ARCH=m68000 ;;
|
9000/31? ) HP_ARCH=m68000 ;;
|
||||||
9000/[34]?? ) HP_ARCH=m68k ;;
|
9000/[34]?? ) HP_ARCH=m68k ;;
|
||||||
9000/[678][0-9][0-9])
|
9000/[678][0-9][0-9])
|
||||||
case "${HPUX_REV}" in
|
if [ -x /usr/bin/getconf ]; then
|
||||||
11.[0-9][0-9])
|
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
||||||
if [ -x /usr/bin/getconf ]; then
|
|
||||||
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
|
||||||
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
||||||
case "${sc_cpu_version}" in
|
case "${sc_cpu_version}" in
|
||||||
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
||||||
@@ -559,13 +558,13 @@ EOF
|
|||||||
case "${sc_kernel_bits}" in
|
case "${sc_kernel_bits}" in
|
||||||
32) HP_ARCH="hppa2.0n" ;;
|
32) HP_ARCH="hppa2.0n" ;;
|
||||||
64) HP_ARCH="hppa2.0w" ;;
|
64) HP_ARCH="hppa2.0w" ;;
|
||||||
|
'') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
|
||||||
esac ;;
|
esac ;;
|
||||||
esac
|
esac
|
||||||
fi ;;
|
fi
|
||||||
esac
|
if [ "${HP_ARCH}" = "" ]; then
|
||||||
if [ "${HP_ARCH}" = "" ]; then
|
eval $set_cc_for_build
|
||||||
eval $set_cc_for_build
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
sed 's/^ //' << EOF >$dummy.c
|
|
||||||
|
|
||||||
#define _HPUX_SOURCE
|
#define _HPUX_SOURCE
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -598,10 +597,10 @@ EOF
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
|
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
|
||||||
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
|
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
fi ;;
|
fi ;;
|
||||||
esac
|
esac
|
||||||
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -948,7 +947,7 @@ EOF
|
|||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
M68*:*:R3V[567]*:*)
|
M68*:*:R3V[567]*:*)
|
||||||
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
|
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
|
||||||
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
|
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
|
||||||
OS_REL=''
|
OS_REL=''
|
||||||
test -r /etc/.relid \
|
test -r /etc/.relid \
|
||||||
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
||||||
|
|||||||
Vendored
+6
-5
@@ -3,7 +3,7 @@
|
|||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2001-09-14'
|
timestamp='2001-10-05'
|
||||||
|
|
||||||
# This file is (in principle) common to ALL GNU software.
|
# This file is (in principle) common to ALL GNU software.
|
||||||
# The presence of a machine in this file suggests that SOME GNU software
|
# The presence of a machine in this file suggests that SOME GNU software
|
||||||
@@ -29,7 +29,8 @@ timestamp='2001-09-14'
|
|||||||
# configuration script generated by Autoconf, you may include it under
|
# configuration script generated by Autoconf, you may include it under
|
||||||
# the same distribution terms that you use for the rest of that program.
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
# Please send patches to <[email protected]>.
|
# Please send patches to <[email protected]>. Submit a context
|
||||||
|
# diff and a properly formatted ChangeLog entry.
|
||||||
#
|
#
|
||||||
# Configuration subroutine to validate and canonicalize a configuration type.
|
# Configuration subroutine to validate and canonicalize a configuration type.
|
||||||
# Supply the specified configuration type as an argument.
|
# Supply the specified configuration type as an argument.
|
||||||
@@ -725,7 +726,7 @@ case $basic_machine in
|
|||||||
pc532 | pc532-*)
|
pc532 | pc532-*)
|
||||||
basic_machine=ns32k-pc532
|
basic_machine=ns32k-pc532
|
||||||
;;
|
;;
|
||||||
pentium | p5 | k5 | k6 | nexgen)
|
pentium | p5 | k5 | k6 | nexgen | viac3)
|
||||||
basic_machine=i586-pc
|
basic_machine=i586-pc
|
||||||
;;
|
;;
|
||||||
pentiumpro | p6 | 6x86 | athlon)
|
pentiumpro | p6 | 6x86 | athlon)
|
||||||
@@ -734,7 +735,7 @@ case $basic_machine in
|
|||||||
pentiumii | pentium2)
|
pentiumii | pentium2)
|
||||||
basic_machine=i686-pc
|
basic_machine=i686-pc
|
||||||
;;
|
;;
|
||||||
pentium-* | p5-* | k5-* | k6-* | nexgen-*)
|
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
|
||||||
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
pentiumpro-* | p6-* | 6x86-* | athlon-*)
|
pentiumpro-* | p6-* | 6x86-* | athlon-*)
|
||||||
@@ -796,7 +797,7 @@ case $basic_machine in
|
|||||||
basic_machine=sh-hitachi
|
basic_machine=sh-hitachi
|
||||||
os=-hms
|
os=-hms
|
||||||
;;
|
;;
|
||||||
sparclite-wrs)
|
sparclite-wrs | simso-wrs)
|
||||||
basic_machine=sparclite-wrs
|
basic_machine=sparclite-wrs
|
||||||
os=-vxworks
|
os=-vxworks
|
||||||
;;
|
;;
|
||||||
|
|||||||
+6
-1
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Get modification time of a file or directory and pretty-print it.
|
# Get modification time of a file or directory and pretty-print it.
|
||||||
# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
# Copyright 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
# written by Ulrich Drepper <[email protected]>, June 1995
|
# written by Ulrich Drepper <[email protected]>, June 1995
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
@@ -17,6 +17,11 @@
|
|||||||
# along with this program; if not, write to the Free Software Foundation,
|
# along with this program; if not, write to the Free Software Foundation,
|
||||||
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
# Prevent date giving response in another language.
|
# Prevent date giving response in another language.
|
||||||
LANG=C
|
LANG=C
|
||||||
export LANG
|
export LANG
|
||||||
|
|||||||
+66
-5
@@ -7,6 +7,52 @@
|
|||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
errstatus=0
|
errstatus=0
|
||||||
|
dirmode=""
|
||||||
|
|
||||||
|
usage="\
|
||||||
|
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
|
||||||
|
|
||||||
|
# process command line arguments
|
||||||
|
while test $# -gt 0 ; do
|
||||||
|
case "${1}" in
|
||||||
|
-h | --help | --h* ) # -h for help
|
||||||
|
echo "${usage}" 1>&2; exit 0 ;;
|
||||||
|
-m ) # -m PERM arg
|
||||||
|
shift
|
||||||
|
test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
|
||||||
|
dirmode="${1}"
|
||||||
|
shift ;;
|
||||||
|
-- ) shift; break ;; # stop option processing
|
||||||
|
-* ) echo "${usage}" 1>&2; exit 1 ;; # unknown option
|
||||||
|
* ) break ;; # first non-opt arg
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
for file
|
||||||
|
do
|
||||||
|
if test -d "$file"; then
|
||||||
|
shift
|
||||||
|
else
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
case $# in
|
||||||
|
0) exit 0 ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case $dirmode in
|
||||||
|
'')
|
||||||
|
if mkdir -p -- . 2>/dev/null; then
|
||||||
|
echo "mkdir -p -- $*"
|
||||||
|
exec mkdir -p -- "$@"
|
||||||
|
fi ;;
|
||||||
|
*)
|
||||||
|
if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
|
||||||
|
echo "mkdir -m $dirmode -p -- $*"
|
||||||
|
exec mkdir -m "$dirmode" -p -- "$@"
|
||||||
|
fi ;;
|
||||||
|
esac
|
||||||
|
|
||||||
for file
|
for file
|
||||||
do
|
do
|
||||||
@@ -22,13 +68,24 @@ do
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
if test ! -d "$pathcomp"; then
|
if test ! -d "$pathcomp"; then
|
||||||
echo "mkdir $pathcomp"
|
echo "mkdir $pathcomp"
|
||||||
|
|
||||||
mkdir "$pathcomp" || lasterr=$?
|
mkdir "$pathcomp" || lasterr=$?
|
||||||
|
|
||||||
if test ! -d "$pathcomp"; then
|
if test ! -d "$pathcomp"; then
|
||||||
errstatus=$lasterr
|
errstatus=$lasterr
|
||||||
fi
|
else
|
||||||
|
if test ! -z "$dirmode"; then
|
||||||
|
echo "chmod $dirmode $pathcomp"
|
||||||
|
|
||||||
|
lasterr=""
|
||||||
|
chmod "$dirmode" "$pathcomp" || lasterr=$?
|
||||||
|
|
||||||
|
if test ! -z "$lasterr"; then
|
||||||
|
errstatus=$lasterr
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pathcomp="$pathcomp/"
|
pathcomp="$pathcomp/"
|
||||||
@@ -37,4 +94,8 @@ done
|
|||||||
|
|
||||||
exit $errstatus
|
exit $errstatus
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: shell-script
|
||||||
|
# sh-indentation: 3
|
||||||
|
# End:
|
||||||
# mkinstalldirs ends here
|
# mkinstalldirs ends here
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1.29a
|
1.29d
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.52e for GNU Bison 1.29b.
|
# Generated by GNU Autoconf 2.52e for GNU Bison 1.29e.
|
||||||
#
|
#
|
||||||
# Report bugs to <[email protected]>.
|
# Report bugs to <[email protected]>.
|
||||||
#
|
#
|
||||||
@@ -24,35 +24,93 @@ fi
|
|||||||
# Name of the executable.
|
# Name of the executable.
|
||||||
as_me=`echo "$0" |sed 's,\(.*[\\/]\+\)\?\([^\\/]\+\)[\\/]*,\2,'`
|
as_me=`echo "$0" |sed 's,\(.*[\\/]\+\)\?\([^\\/]\+\)[\\/]*,\2,'`
|
||||||
|
|
||||||
# If LINENO is not supported by the shell, produce a version of this
|
# Rewrite early, but we need PATH_SEPARATOR.
|
||||||
# script where LINENO is hard coded. Rewrite if not up to date only.
|
# The user is always right.
|
||||||
# Comparing LINENO against _oline_ is not a good solution, since in
|
if test "${PATH_SEPARATOR+set}" != set; then
|
||||||
# the case of embedded executables (such as config.status within
|
echo "#! $SHELL" >conftest.sh
|
||||||
# configure) you'd compare LINENO wrt config.status vs. _oline_ vs
|
echo "exit 0" >>conftest.sh
|
||||||
# configure. Hence a useless rewrite (not to mention the risk of
|
chmod +x conftest.sh
|
||||||
# ``infinite'' rewrites. Merely check that LINENO is incremented
|
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
|
||||||
# between two lines, which is a property guaranteed for _oline_, hence
|
PATH_SEPARATOR=';'
|
||||||
# it protects us from repetitive rewrites.
|
else
|
||||||
as_lineno_1=$LINENO
|
PATH_SEPARATOR=:
|
||||||
as_lineno_2=$LINENO
|
fi
|
||||||
# Compute as_lineno_1 in two steps: some shells restart LINENO for
|
rm -f conftest.sh
|
||||||
# subshells.
|
fi
|
||||||
as_lineno_1=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
|
||||||
if test "x$as_lineno_1" != "x$as_lineno_2"; then
|
as_command='
|
||||||
if test ! -f $as_me.lineno ||
|
as_lineno_1=$LINENO
|
||||||
test x`ls -1dt $as_me.lineno $as_me 2>/dev/null | sed 1q` \
|
as_lineno_2=$LINENO
|
||||||
!= x$as_me.lineno; then
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
||||||
|
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
||||||
|
test "x$as_lineno_3" = "x$as_lineno_2"
|
||||||
|
'
|
||||||
|
if eval "$as_command"; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
# Find who we are. Look in the path if we contain no path at all
|
||||||
|
# relative or not.
|
||||||
|
case $0 in
|
||||||
|
*[\\/]* ) as_myself=$0 ;;
|
||||||
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
test -z "$as_dir" && as_dir=.
|
||||||
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
||||||
|
done
|
||||||
|
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
||||||
|
# in which case we are not to be found in the path.
|
||||||
|
if test "x$as_myself" = x; then
|
||||||
|
as_myself=$0
|
||||||
|
fi
|
||||||
|
if test ! -f "$as_myself"; then
|
||||||
|
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
||||||
|
{ (exit 1); exit 1; }; }
|
||||||
|
fi
|
||||||
|
case $CONFIG_SHELL in
|
||||||
|
'')
|
||||||
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in /bin:/usr/bin:$PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
test -z "$as_dir" && as_dir=.
|
||||||
|
for as_base in sh bash ksh sh5; do
|
||||||
|
case $as_dir in
|
||||||
|
/*)
|
||||||
|
if ("$as_dir/$as_base" -c "$as_command") 2>/dev/null; then
|
||||||
|
CONFIG_SHELL=$as_dir/$as_base
|
||||||
|
export CONFIG_SHELL
|
||||||
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
||||||
|
fi;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
if test ! -f "$as_me.lineno" ||
|
||||||
|
test x`ls -1dt "$as_me.lineno" "$as_myself" 2>/dev/null | sed 1q` \
|
||||||
|
!= x"$as_me.lineno"; then
|
||||||
# Be sure to write the pattern so that it doesn't replace itself:
|
# Be sure to write the pattern so that it doesn't replace itself:
|
||||||
# it must not match itself.
|
# it must not match itself.
|
||||||
awk '{
|
awk <$as_myself '
|
||||||
if ($0 ~ /[$]LINENO/)
|
/[$]LINENO/ { printf "%d:", NR }
|
||||||
while (sub (/[$]LINENO/, NR))
|
{ print }
|
||||||
continue
|
' |
|
||||||
print
|
sed '/[$]LINENO/s/^\([0-9][0-9]*\):\(.*\)[$]LINENO/\2\1/' \
|
||||||
}' <$as_me >$as_me.lineno
|
>$as_me.lineno
|
||||||
chmod +x $as_me.lineno
|
chmod +x $as_me.lineno
|
||||||
fi
|
fi
|
||||||
exec ${SHELL-/bin/sh} ./$as_me.lineno
|
|
||||||
|
# Don't try to exec as it changes $[0], causing all sort of problems
|
||||||
|
# (the dirname of $[0] is not the place where we might find the
|
||||||
|
# original and so on. Autoconf is especially sensible to this).
|
||||||
|
. ./$as_me.lineno
|
||||||
|
# Exit status is that of the last command.
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Avoid depending upon Character Ranges.
|
# Avoid depending upon Character Ranges.
|
||||||
@@ -93,19 +151,6 @@ else
|
|||||||
fi
|
fi
|
||||||
rm -f conf$$ conf$$.exe conf$$.file
|
rm -f conf$$ conf$$.exe conf$$.file
|
||||||
|
|
||||||
# The user is always right.
|
|
||||||
if test "${PATH_SEPARATOR+set}" != set; then
|
|
||||||
echo "#! $SHELL" >conftest.sh
|
|
||||||
echo "exit 0" >>conftest.sh
|
|
||||||
chmod +x conftest.sh
|
|
||||||
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
|
|
||||||
PATH_SEPARATOR=';'
|
|
||||||
else
|
|
||||||
PATH_SEPARATOR=:
|
|
||||||
fi
|
|
||||||
rm -f conftest.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
as_executable_p="test -f"
|
as_executable_p="test -f"
|
||||||
|
|
||||||
# Sed expression to map a string onto a valid CPP name.
|
# Sed expression to map a string onto a valid CPP name.
|
||||||
@@ -240,8 +285,8 @@ mandir='${prefix}/man'
|
|||||||
# Identity of this package.
|
# Identity of this package.
|
||||||
PACKAGE_NAME='GNU Bison'
|
PACKAGE_NAME='GNU Bison'
|
||||||
PACKAGE_TARNAME='bison'
|
PACKAGE_TARNAME='bison'
|
||||||
PACKAGE_VERSION='1.29b'
|
PACKAGE_VERSION='1.29e'
|
||||||
PACKAGE_STRING='GNU Bison 1.29b'
|
PACKAGE_STRING='GNU Bison 1.29e'
|
||||||
PACKAGE_BUGREPORT='[email protected]'
|
PACKAGE_BUGREPORT='[email protected]'
|
||||||
|
|
||||||
ac_prev=
|
ac_prev=
|
||||||
@@ -658,7 +703,7 @@ if test "$ac_init_help" = "long"; then
|
|||||||
# Omit some internal or obsolete options to make the list less imposing.
|
# Omit some internal or obsolete options to make the list less imposing.
|
||||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||||
cat <<_ACEOF
|
cat <<_ACEOF
|
||||||
\`configure' configures GNU Bison 1.29b to adapt to many kinds of systems.
|
\`configure' configures GNU Bison 1.29e to adapt to many kinds of systems.
|
||||||
|
|
||||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||||
|
|
||||||
@@ -724,7 +769,7 @@ fi
|
|||||||
|
|
||||||
if test -n "$ac_init_help"; then
|
if test -n "$ac_init_help"; then
|
||||||
case $ac_init_help in
|
case $ac_init_help in
|
||||||
short | recursive ) echo "Configuration of GNU Bison 1.29b:";;
|
short | recursive ) echo "Configuration of GNU Bison 1.29e:";;
|
||||||
esac
|
esac
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
|
|
||||||
@@ -764,8 +809,10 @@ if test "$ac_init_help" = "recursive"; then
|
|||||||
# If there are subdirs, report their specific --help.
|
# If there are subdirs, report their specific --help.
|
||||||
ac_popdir=`pwd`
|
ac_popdir=`pwd`
|
||||||
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
||||||
cd $ac_dir
|
test -d $ac_dir || continue
|
||||||
if test "$ac_dir" != .; then
|
ac_builddir=.
|
||||||
|
|
||||||
|
if test "$ac_dir" != .; then
|
||||||
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
||||||
# A "../" for each directory in $ac_dir_suffix.
|
# A "../" for each directory in $ac_dir_suffix.
|
||||||
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
||||||
@@ -788,7 +835,14 @@ case $srcdir in
|
|||||||
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
||||||
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
||||||
esac
|
esac
|
||||||
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
||||||
|
# absolute.
|
||||||
|
ac_buildpath=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
||||||
|
ac_top_buildpath=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
|
||||||
|
ac_srcpath=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
||||||
|
ac_top_srcpath=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
||||||
|
|
||||||
|
cd $ac_dir
|
||||||
# Check for guested configure; otherwise get Cygnus style configure.
|
# Check for guested configure; otherwise get Cygnus style configure.
|
||||||
if test -f $ac_srcdir/configure.gnu; then
|
if test -f $ac_srcdir/configure.gnu; then
|
||||||
echo
|
echo
|
||||||
@@ -810,7 +864,7 @@ fi
|
|||||||
test -n "$ac_init_help" && exit 0
|
test -n "$ac_init_help" && exit 0
|
||||||
if $ac_init_version; then
|
if $ac_init_version; then
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
GNU Bison configure 1.29b
|
GNU Bison configure 1.29e
|
||||||
generated by GNU Autoconf 2.52e
|
generated by GNU Autoconf 2.52e
|
||||||
|
|
||||||
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
||||||
@@ -825,7 +879,7 @@ cat >&5 <<_ACEOF
|
|||||||
This file contains any messages produced by compilers while
|
This file contains any messages produced by compilers while
|
||||||
running configure, to aid debugging if configure makes a mistake.
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
|
|
||||||
It was created by GNU Bison $as_me 1.29b, which was
|
It was created by GNU Bison $as_me 1.29e, which was
|
||||||
generated by GNU Autoconf 2.52e. Invocation command line was
|
generated by GNU Autoconf 2.52e. Invocation command line was
|
||||||
|
|
||||||
$ $0 $@
|
$ $0 $@
|
||||||
@@ -1206,7 +1260,7 @@ program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
|||||||
rm conftest.sed
|
rm conftest.sed
|
||||||
|
|
||||||
# expand $ac_aux_dir to an absolute path
|
# expand $ac_aux_dir to an absolute path
|
||||||
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
||||||
|
|
||||||
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
||||||
# Use eval to expand $SHELL
|
# Use eval to expand $SHELL
|
||||||
@@ -1317,7 +1371,7 @@ fi
|
|||||||
rmdir .deps 2>/dev/null
|
rmdir .deps 2>/dev/null
|
||||||
|
|
||||||
# test to see if srcdir already configured
|
# test to see if srcdir already configured
|
||||||
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
|
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
||||||
test -f $srcdir/config.status; then
|
test -f $srcdir/config.status; then
|
||||||
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
||||||
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
||||||
@@ -1326,7 +1380,7 @@ fi
|
|||||||
|
|
||||||
# Define the identity of the package.
|
# Define the identity of the package.
|
||||||
PACKAGE=bison
|
PACKAGE=bison
|
||||||
VERSION=1.29b
|
VERSION=1.29e
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
#define PACKAGE "$PACKAGE"
|
#define PACKAGE "$PACKAGE"
|
||||||
@@ -1336,17 +1390,6 @@ cat >>confdefs.h <<_ACEOF
|
|||||||
#define VERSION "$VERSION"
|
#define VERSION "$VERSION"
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
|
|
||||||
# the ones we care about.
|
|
||||||
|
|
||||||
# Autoconf 2.50 always computes EXEEXT. However we need to be
|
|
||||||
# compatible with 2.13, for now. So we always define EXEEXT, but we
|
|
||||||
# don't compute it.
|
|
||||||
|
|
||||||
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
|
|
||||||
# requests that it be used. This is a bit dumb.
|
|
||||||
: ${OBJEXT=o}
|
|
||||||
|
|
||||||
# Some tools Automake needs.
|
# Some tools Automake needs.
|
||||||
|
|
||||||
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
|
||||||
@@ -1368,7 +1411,7 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
|||||||
# We need awk for the "check" target. The system "awk" is bad on
|
# We need awk for the "check" target. The system "awk" is bad on
|
||||||
# some platforms.
|
# some platforms.
|
||||||
|
|
||||||
ac_config_headers="$ac_config_headers config.h:config.hin"
|
ac_config_headers="$ac_config_headers config.h:config.hin"
|
||||||
|
|
||||||
# Initialize the test suite.
|
# Initialize the test suite.
|
||||||
ac_config_commands="$ac_config_commands tests/package.m4"
|
ac_config_commands="$ac_config_commands tests/package.m4"
|
||||||
@@ -1380,6 +1423,10 @@ if test -f $srcdir/tests/atlocal.in; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files tests/bison"
|
||||||
|
|
||||||
|
# Needed by tests/atlocal.in.
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
ac_ext=c
|
ac_ext=c
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
||||||
@@ -1749,7 +1796,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
|||||||
# Find the output, starting from the most likely. This scheme is
|
# Find the output, starting from the most likely. This scheme is
|
||||||
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
||||||
# resort.
|
# resort.
|
||||||
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
|
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
|
||||||
ls a.out conftest 2>/dev/null;
|
ls a.out conftest 2>/dev/null;
|
||||||
ls a.* conftest.* 2>/dev/null`; do
|
ls a.* conftest.* 2>/dev/null`; do
|
||||||
case $ac_file in
|
case $ac_file in
|
||||||
@@ -2563,6 +2610,7 @@ else
|
|||||||
echo "$as_me: program exited with status $ac_status" >&5
|
echo "$as_me: program exited with status $ac_status" >&5
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
|
( exit $ac_status )
|
||||||
ac_cv_header_stdc=no
|
ac_cv_header_stdc=no
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
@@ -2990,71 +3038,7 @@ else
|
|||||||
RANLIB="$ac_cv_prog_RANLIB"
|
RANLIB="$ac_cv_prog_RANLIB"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# GNU M4 is needed to build the testsuite.
|
AUTOM4TE=${AUTOM4TE-"${am_missing_run}autom4te"}
|
||||||
for ac_prog in gm4 gnum4 m4
|
|
||||||
do
|
|
||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
||||||
set dummy $ac_prog; ac_word=$2
|
|
||||||
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
||||||
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
||||||
if test "${ac_cv_path_M4+set}" = set; then
|
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
||||||
else
|
|
||||||
case $M4 in
|
|
||||||
[\\/]* | ?:[\\/]*)
|
|
||||||
ac_cv_path_M4="$M4" # Let the user override the test with a path.
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
||||||
for as_dir in $PATH
|
|
||||||
do
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
test -z "$as_dir" && as_dir=.
|
|
||||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
||||||
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
||||||
ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
|
|
||||||
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
M4=$ac_cv_path_M4
|
|
||||||
|
|
||||||
if test -n "$M4"; then
|
|
||||||
echo "$as_me:$LINENO: result: $M4" >&5
|
|
||||||
echo "${ECHO_T}$M4" >&6
|
|
||||||
else
|
|
||||||
echo "$as_me:$LINENO: result: no" >&5
|
|
||||||
echo "${ECHO_T}no" >&6
|
|
||||||
fi
|
|
||||||
|
|
||||||
test -n "$M4" && break
|
|
||||||
done
|
|
||||||
test -n "$M4" || M4="m4"
|
|
||||||
|
|
||||||
echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
|
|
||||||
echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
|
|
||||||
if test "${ac_cv_prog_gnu_m4+set}" = set; then
|
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
||||||
else
|
|
||||||
ac_cv_prog_gnu_m4=no
|
|
||||||
if test x"$M4" != x; then
|
|
||||||
case `$M4 --help < /dev/null 2>&1` in
|
|
||||||
*reload-state*) ac_cv_prog_gnu_m4=yes ;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
|
|
||||||
echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
|
|
||||||
|
|
||||||
if test "$ac_cv_prog_gnu_m4" != yes; then
|
|
||||||
missing_dir=`cd $ac_aux_dir && pwd`
|
|
||||||
M4="$missing_dir/missing m4"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check whether --enable-gcc-warnings or --disable-gcc-warnings was given.
|
# Check whether --enable-gcc-warnings or --disable-gcc-warnings was given.
|
||||||
if test "${enable_gcc_warnings+set}" = set; then
|
if test "${enable_gcc_warnings+set}" = set; then
|
||||||
@@ -3753,6 +3737,7 @@ else
|
|||||||
echo "$as_me: program exited with status $ac_status" >&5
|
echo "$as_me: program exited with status $ac_status" >&5
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
|
( exit $ac_status )
|
||||||
ac_cv_header_stdc=no
|
ac_cv_header_stdc=no
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
@@ -4274,6 +4259,7 @@ else
|
|||||||
echo "$as_me: program exited with status $ac_status" >&5
|
echo "$as_me: program exited with status $ac_status" >&5
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
|
( exit $ac_status )
|
||||||
ac_cv_header_stdc=no
|
ac_cv_header_stdc=no
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
@@ -4695,6 +4681,7 @@ else
|
|||||||
echo "$as_me: program exited with status $ac_status" >&5
|
echo "$as_me: program exited with status $ac_status" >&5
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
|
( exit $ac_status )
|
||||||
ac_cv_c_stack_direction=-1
|
ac_cv_c_stack_direction=-1
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
@@ -5142,6 +5129,7 @@ else
|
|||||||
echo "$as_me: program exited with status $ac_status" >&5
|
echo "$as_me: program exited with status $ac_status" >&5
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
|
( exit $ac_status )
|
||||||
jm_cv_func_working_malloc=no
|
jm_cv_func_working_malloc=no
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
@@ -5200,6 +5188,7 @@ else
|
|||||||
echo "$as_me: program exited with status $ac_status" >&5
|
echo "$as_me: program exited with status $ac_status" >&5
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
|
( exit $ac_status )
|
||||||
jm_cv_func_working_realloc=no
|
jm_cv_func_working_realloc=no
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
@@ -5218,7 +5207,7 @@ _ACEOF
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for ac_func in isascii iswprint mbrtowc
|
for ac_func in isascii iswprint mbsinit
|
||||||
do
|
do
|
||||||
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||||
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
||||||
@@ -5293,7 +5282,60 @@ _ACEOF
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
for ac_header in limits.h stdlib.h string.h wchar.h wctype.h
|
echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
|
||||||
|
echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6
|
||||||
|
if test "${jm_cv_func_mbrtowc+set}" = set; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
#line $LINENO "configure"
|
||||||
|
#include "confdefs.h"
|
||||||
|
#include <wchar.h>
|
||||||
|
#ifdef F77_DUMMY_MAIN
|
||||||
|
# ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
# endif
|
||||||
|
int F77_DUMMY_MAIN() { return 1; }
|
||||||
|
#endif
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
mbstate_t state; return ! (sizeof state && mbrtowc);
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||||
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||||
|
(eval $ac_link) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); } &&
|
||||||
|
{ ac_try='test -s conftest$ac_exeext'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; }; then
|
||||||
|
jm_cv_func_mbrtowc=yes
|
||||||
|
else
|
||||||
|
echo "$as_me: failed program was:" >&5
|
||||||
|
cat conftest.$ac_ext >&5
|
||||||
|
jm_cv_func_mbrtowc=no
|
||||||
|
fi
|
||||||
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
||||||
|
fi
|
||||||
|
echo "$as_me:$LINENO: result: $jm_cv_func_mbrtowc" >&5
|
||||||
|
echo "${ECHO_T}$jm_cv_func_mbrtowc" >&6
|
||||||
|
if test $jm_cv_func_mbrtowc = yes; then
|
||||||
|
|
||||||
|
cat >>confdefs.h <<\_ACEOF
|
||||||
|
#define HAVE_MBRTOWC 1
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
for ac_header in limits.h stddef.h stdlib.h string.h wchar.h wctype.h
|
||||||
do
|
do
|
||||||
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||||
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
||||||
@@ -5528,6 +5570,7 @@ else
|
|||||||
echo "$as_me: program exited with status $ac_status" >&5
|
echo "$as_me: program exited with status $ac_status" >&5
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
|
( exit $ac_status )
|
||||||
ac_cv_header_stdc=no
|
ac_cv_header_stdc=no
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
@@ -5913,6 +5956,7 @@ else
|
|||||||
echo "$as_me: program exited with status $ac_status" >&5
|
echo "$as_me: program exited with status $ac_status" >&5
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
|
( exit $ac_status )
|
||||||
ac_cv_header_stdc=no
|
ac_cv_header_stdc=no
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
@@ -6239,6 +6283,7 @@ else
|
|||||||
echo "$as_me: program exited with status $ac_status" >&5
|
echo "$as_me: program exited with status $ac_status" >&5
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
|
( exit $ac_status )
|
||||||
ac_cv_header_stdc=no
|
ac_cv_header_stdc=no
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
@@ -6603,6 +6648,7 @@ else
|
|||||||
echo "$as_me: program exited with status $ac_status" >&5
|
echo "$as_me: program exited with status $ac_status" >&5
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
|
( exit $ac_status )
|
||||||
ac_cv_func_strerror_r_works=no
|
ac_cv_func_strerror_r_works=no
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
@@ -7154,6 +7200,7 @@ else
|
|||||||
echo "$as_me: program exited with status $ac_status" >&5
|
echo "$as_me: program exited with status $ac_status" >&5
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
|
( exit $ac_status )
|
||||||
ac_cv_func_mmap_fixed_mapped=no
|
ac_cv_func_mmap_fixed_mapped=no
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
@@ -8522,35 +8569,94 @@ fi
|
|||||||
# Name of the executable.
|
# Name of the executable.
|
||||||
as_me=`echo "$0" |sed 's,\(.*[\\/]\+\)\?\([^\\/]\+\)[\\/]*,\2,'`
|
as_me=`echo "$0" |sed 's,\(.*[\\/]\+\)\?\([^\\/]\+\)[\\/]*,\2,'`
|
||||||
|
|
||||||
# If LINENO is not supported by the shell, produce a version of this
|
# Rewrite early, but we need PATH_SEPARATOR.
|
||||||
# script where LINENO is hard coded. Rewrite if not up to date only.
|
# The user is always right.
|
||||||
# Comparing LINENO against _oline_ is not a good solution, since in
|
if test "${PATH_SEPARATOR+set}" != set; then
|
||||||
# the case of embedded executables (such as config.status within
|
echo "#! $SHELL" >conftest.sh
|
||||||
# configure) you'd compare LINENO wrt config.status vs. _oline_ vs
|
echo "exit 0" >>conftest.sh
|
||||||
# configure. Hence a useless rewrite (not to mention the risk of
|
chmod +x conftest.sh
|
||||||
# ``infinite'' rewrites. Merely check that LINENO is incremented
|
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
|
||||||
# between two lines, which is a property guaranteed for _oline_, hence
|
PATH_SEPARATOR=';'
|
||||||
# it protects us from repetitive rewrites.
|
else
|
||||||
as_lineno_1=$LINENO
|
PATH_SEPARATOR=:
|
||||||
as_lineno_2=$LINENO
|
fi
|
||||||
# Compute as_lineno_1 in two steps: some shells restart LINENO for
|
rm -f conftest.sh
|
||||||
# subshells.
|
fi
|
||||||
as_lineno_1=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
|
||||||
if test "x$as_lineno_1" != "x$as_lineno_2"; then
|
as_command='
|
||||||
if test ! -f $as_me.lineno ||
|
as_lineno_1=$LINENO
|
||||||
test x`ls -1dt $as_me.lineno $as_me 2>/dev/null | sed 1q` \
|
as_lineno_2=$LINENO
|
||||||
!= x$as_me.lineno; then
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
||||||
|
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
||||||
|
test "x$as_lineno_3" = "x$as_lineno_2"
|
||||||
|
'
|
||||||
|
if eval "$as_command"; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
# Find who we are. Look in the path if we contain no path at all
|
||||||
|
# relative or not.
|
||||||
|
case $0 in
|
||||||
|
*[\\/]* ) as_myself=$0 ;;
|
||||||
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
test -z "$as_dir" && as_dir=.
|
||||||
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
||||||
|
done
|
||||||
|
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
||||||
|
# in which case we are not to be found in the path.
|
||||||
|
if test "x$as_myself" = x; then
|
||||||
|
as_myself=$0
|
||||||
|
fi
|
||||||
|
if test ! -f "$as_myself"; then
|
||||||
|
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
||||||
|
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
||||||
|
{ (exit 1); exit 1; }; }
|
||||||
|
fi
|
||||||
|
case $CONFIG_SHELL in
|
||||||
|
'')
|
||||||
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in /bin:/usr/bin:$PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
test -z "$as_dir" && as_dir=.
|
||||||
|
for as_base in sh bash ksh sh5; do
|
||||||
|
case $as_dir in
|
||||||
|
/*)
|
||||||
|
if ("$as_dir/$as_base" -c "$as_command") 2>/dev/null; then
|
||||||
|
CONFIG_SHELL=$as_dir/$as_base
|
||||||
|
export CONFIG_SHELL
|
||||||
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
||||||
|
fi;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
if test ! -f "$as_me.lineno" ||
|
||||||
|
test x`ls -1dt "$as_me.lineno" "$as_myself" 2>/dev/null | sed 1q` \
|
||||||
|
!= x"$as_me.lineno"; then
|
||||||
# Be sure to write the pattern so that it doesn't replace itself:
|
# Be sure to write the pattern so that it doesn't replace itself:
|
||||||
# it must not match itself.
|
# it must not match itself.
|
||||||
awk '{
|
awk <$as_myself '
|
||||||
if ($0 ~ /[$]LINENO/)
|
/[$]LINENO/ { printf "%d:", NR }
|
||||||
while (sub (/[$]LINENO/, NR))
|
{ print }
|
||||||
continue
|
' |
|
||||||
print
|
sed '/[$]LINENO/s/^\([0-9][0-9]*\):\(.*\)[$]LINENO/\2\1/' \
|
||||||
}' <$as_me >$as_me.lineno
|
>$as_me.lineno
|
||||||
chmod +x $as_me.lineno
|
chmod +x $as_me.lineno
|
||||||
fi
|
fi
|
||||||
exec ${SHELL-/bin/sh} ./$as_me.lineno
|
|
||||||
|
# Don't try to exec as it changes $[0], causing all sort of problems
|
||||||
|
# (the dirname of $[0] is not the place where we might find the
|
||||||
|
# original and so on. Autoconf is especially sensible to this).
|
||||||
|
. ./$as_me.lineno
|
||||||
|
# Exit status is that of the last command.
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Avoid depending upon Character Ranges.
|
# Avoid depending upon Character Ranges.
|
||||||
@@ -8591,19 +8697,6 @@ else
|
|||||||
fi
|
fi
|
||||||
rm -f conf$$ conf$$.exe conf$$.file
|
rm -f conf$$ conf$$.exe conf$$.file
|
||||||
|
|
||||||
# The user is always right.
|
|
||||||
if test "${PATH_SEPARATOR+set}" != set; then
|
|
||||||
echo "#! $SHELL" >conftest.sh
|
|
||||||
echo "exit 0" >>conftest.sh
|
|
||||||
chmod +x conftest.sh
|
|
||||||
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
|
|
||||||
PATH_SEPARATOR=';'
|
|
||||||
else
|
|
||||||
PATH_SEPARATOR=:
|
|
||||||
fi
|
|
||||||
rm -f conftest.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
as_executable_p="test -f"
|
as_executable_p="test -f"
|
||||||
|
|
||||||
# Sed expression to map a string onto a valid CPP name.
|
# Sed expression to map a string onto a valid CPP name.
|
||||||
@@ -8647,12 +8740,12 @@ exec 5>>config.log
|
|||||||
{
|
{
|
||||||
echo
|
echo
|
||||||
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
||||||
## Running \$as_me. ##
|
## Running $as_me. ##
|
||||||
_ASBOX
|
_ASBOX
|
||||||
} >&5
|
} >&5
|
||||||
cat >&5 <<_CSEOF
|
cat >&5 <<_CSEOF
|
||||||
|
|
||||||
This file was extended by GNU Bison $as_me 1.29b, which was
|
This file was extended by GNU Bison $as_me 1.29e, which was
|
||||||
generated by GNU Autoconf 2.52e. Invocation command line was
|
generated by GNU Autoconf 2.52e. Invocation command line was
|
||||||
|
|
||||||
CONFIG_FILES = $CONFIG_FILES
|
CONFIG_FILES = $CONFIG_FILES
|
||||||
@@ -8714,7 +8807,7 @@ _ACEOF
|
|||||||
|
|
||||||
cat >>$CONFIG_STATUS <<_ACEOF
|
cat >>$CONFIG_STATUS <<_ACEOF
|
||||||
ac_cs_version="\\
|
ac_cs_version="\\
|
||||||
GNU Bison config.status 1.29b
|
GNU Bison config.status 1.29e
|
||||||
configured by $0, generated by GNU Autoconf 2.52e,
|
configured by $0, generated by GNU Autoconf 2.52e,
|
||||||
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
||||||
|
|
||||||
@@ -8814,6 +8907,7 @@ do
|
|||||||
case "$ac_config_target" in
|
case "$ac_config_target" in
|
||||||
# Handling of arguments.
|
# Handling of arguments.
|
||||||
"tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
|
"tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
|
||||||
|
"tests/bison" ) CONFIG_FILES="$CONFIG_FILES tests/bison" ;;
|
||||||
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
||||||
"config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
|
"config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
|
||||||
"intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
|
"intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
|
||||||
@@ -8915,8 +9009,6 @@ s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
|||||||
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
||||||
s,@PACKAGE@,$PACKAGE,;t t
|
s,@PACKAGE@,$PACKAGE,;t t
|
||||||
s,@VERSION@,$VERSION,;t t
|
s,@VERSION@,$VERSION,;t t
|
||||||
s,@EXEEXT@,$EXEEXT,;t t
|
|
||||||
s,@OBJEXT@,$OBJEXT,;t t
|
|
||||||
s,@ACLOCAL@,$ACLOCAL,;t t
|
s,@ACLOCAL@,$ACLOCAL,;t t
|
||||||
s,@AUTOCONF@,$AUTOCONF,;t t
|
s,@AUTOCONF@,$AUTOCONF,;t t
|
||||||
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
||||||
@@ -8931,18 +9023,21 @@ s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
|
|||||||
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
|
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
|
||||||
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
|
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
|
||||||
s,@DEPDIR@,$DEPDIR,;t t
|
s,@DEPDIR@,$DEPDIR,;t t
|
||||||
|
s,@GCC@,$GCC,;t t
|
||||||
s,@CC@,$CC,;t t
|
s,@CC@,$CC,;t t
|
||||||
s,@CFLAGS@,$CFLAGS,;t t
|
s,@CFLAGS@,$CFLAGS,;t t
|
||||||
s,@LDFLAGS@,$LDFLAGS,;t t
|
s,@LDFLAGS@,$LDFLAGS,;t t
|
||||||
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
||||||
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
||||||
|
s,@EXEEXT@,$EXEEXT,;t t
|
||||||
|
s,@OBJEXT@,$OBJEXT,;t t
|
||||||
s,@am__include@,$am__include,;t t
|
s,@am__include@,$am__include,;t t
|
||||||
s,@am__quote@,$am__quote,;t t
|
s,@am__quote@,$am__quote,;t t
|
||||||
s,@CCDEPMODE@,$CCDEPMODE,;t t
|
s,@CCDEPMODE@,$CCDEPMODE,;t t
|
||||||
s,@CPP@,$CPP,;t t
|
s,@CPP@,$CPP,;t t
|
||||||
s,@RANLIB@,$RANLIB,;t t
|
s,@RANLIB@,$RANLIB,;t t
|
||||||
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
||||||
s,@M4@,$M4,;t t
|
s,@AUTOM4TE@,$AUTOM4TE,;t t
|
||||||
s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
|
s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
|
||||||
s,@U@,$U,;t t
|
s,@U@,$U,;t t
|
||||||
s,@ANSI2KNR@,$ANSI2KNR,;t t
|
s,@ANSI2KNR@,$ANSI2KNR,;t t
|
||||||
@@ -9066,7 +9161,9 @@ echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
|
|||||||
esac
|
esac
|
||||||
done; }
|
done; }
|
||||||
|
|
||||||
if test "$ac_dir" != .; then
|
ac_builddir=.
|
||||||
|
|
||||||
|
if test "$ac_dir" != .; then
|
||||||
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
||||||
# A "../" for each directory in $ac_dir_suffix.
|
# A "../" for each directory in $ac_dir_suffix.
|
||||||
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
||||||
@@ -9089,6 +9186,12 @@ case $srcdir in
|
|||||||
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
||||||
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
||||||
esac
|
esac
|
||||||
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
||||||
|
# absolute.
|
||||||
|
ac_buildpath=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
||||||
|
ac_top_buildpath=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
|
||||||
|
ac_srcpath=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
||||||
|
ac_top_srcpath=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
||||||
|
|
||||||
case $INSTALL in
|
case $INSTALL in
|
||||||
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
||||||
@@ -9143,7 +9246,13 @@ cat >>$CONFIG_STATUS <<\_ACEOF
|
|||||||
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
||||||
s,@configure_input@,$configure_input,;t t
|
s,@configure_input@,$configure_input,;t t
|
||||||
s,@srcdir@,$ac_srcdir,;t t
|
s,@srcdir@,$ac_srcdir,;t t
|
||||||
|
s,@srcpath@,$ac_srcpath,;t t
|
||||||
s,@top_srcdir@,$ac_top_srcdir,;t t
|
s,@top_srcdir@,$ac_top_srcdir,;t t
|
||||||
|
s,@top_srcpath@,$ac_top_srcpath,;t t
|
||||||
|
s,@builddir@,$ac_builddir,;t t
|
||||||
|
s,@buildpath@,$ac_buildpath,;t t
|
||||||
|
s,@top_builddir@,$ac_top_builddir,;t t
|
||||||
|
s,@top_buildpath@,$ac_top_buildpath,;t t
|
||||||
s,@INSTALL@,$ac_INSTALL,;t t
|
s,@INSTALL@,$ac_INSTALL,;t t
|
||||||
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
||||||
rm -f $tmp/stdin
|
rm -f $tmp/stdin
|
||||||
@@ -9154,6 +9263,10 @@ s,@INSTALL@,$ac_INSTALL,;t t
|
|||||||
rm -f $tmp/out
|
rm -f $tmp/out
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Run the commands associated with the file.
|
||||||
|
case $ac_file in
|
||||||
|
tests/bison ) chmod +x tests/bison ;;
|
||||||
|
esac
|
||||||
done
|
done
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat >>$CONFIG_STATUS <<\_ACEOF
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
||||||
@@ -9242,7 +9355,7 @@ s/[\\&,]/\\&/g
|
|||||||
s,[\\$`],\\&,g
|
s,[\\$`],\\&,g
|
||||||
t clear
|
t clear
|
||||||
: clear
|
: clear
|
||||||
s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
||||||
t end
|
t end
|
||||||
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
||||||
: end
|
: end
|
||||||
@@ -9397,7 +9510,9 @@ echo X"$ac_dest" |
|
|||||||
/^X\(\/\/\)$/{ s//\1/; q; }
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
||||||
/^X\(\/\).*/{ s//\1/; q; }
|
/^X\(\/\).*/{ s//\1/; q; }
|
||||||
s/.*/./; q'`
|
s/.*/./; q'`
|
||||||
if test "$ac_dir" != .; then
|
ac_builddir=.
|
||||||
|
|
||||||
|
if test "$ac_dir" != .; then
|
||||||
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
||||||
# A "../" for each directory in $ac_dir_suffix.
|
# A "../" for each directory in $ac_dir_suffix.
|
||||||
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
||||||
@@ -9420,6 +9535,12 @@ case $srcdir in
|
|||||||
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
||||||
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
||||||
esac
|
esac
|
||||||
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
||||||
|
# absolute.
|
||||||
|
ac_buildpath=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
||||||
|
ac_top_buildpath=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
|
||||||
|
ac_srcpath=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
||||||
|
ac_top_srcpath=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
||||||
|
|
||||||
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
||||||
echo "$as_me: executing $ac_dest commands" >&6;}
|
echo "$as_me: executing $ac_dest commands" >&6;}
|
||||||
@@ -9439,9 +9560,13 @@ ATEOF
|
|||||||
# Copyright 2000, 2001 Free Software Foundation, Inc.
|
# Copyright 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
at_testdir='tests'
|
at_testdir='tests'
|
||||||
|
buildpath='$ac_buildpath'
|
||||||
srcdir='$ac_srcdir'
|
srcdir='$ac_srcdir'
|
||||||
|
srcpath='$ac_srcpath'
|
||||||
top_srcdir='$ac_top_srcdir'
|
top_srcdir='$ac_top_srcdir'
|
||||||
|
top_srcpath='$ac_top_srcpath'
|
||||||
top_builddir='$ac_top_builddir'
|
top_builddir='$ac_top_builddir'
|
||||||
|
top_buildpath='$ac_top_buildpath'
|
||||||
|
|
||||||
AUTOTEST_PATH='tests'
|
AUTOTEST_PATH='tests'
|
||||||
|
|
||||||
|
|||||||
+6
-8
@@ -18,14 +18,17 @@
|
|||||||
# We need a recent Autoconf to run a recent Autotest.
|
# We need a recent Autoconf to run a recent Autotest.
|
||||||
AC_PREREQ(2.52e)
|
AC_PREREQ(2.52e)
|
||||||
|
|
||||||
AC_INIT([GNU Bison], [1.29b], [[email protected]])
|
AC_INIT([GNU Bison], [1.29e], [[email protected]])
|
||||||
AC_CONFIG_AUX_DIR(config)
|
AC_CONFIG_AUX_DIR(config)
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([bison], [1.29b])
|
AM_INIT_AUTOMAKE([bison], [1.29e])
|
||||||
AM_CONFIG_HEADER(config.h:config.hin)
|
AM_CONFIG_HEADER(config.h:config.hin)
|
||||||
|
|
||||||
# Initialize the test suite.
|
# Initialize the test suite.
|
||||||
AC_CONFIG_TESTDIR(tests)
|
AC_CONFIG_TESTDIR(tests)
|
||||||
|
AC_CONFIG_FILES([tests/bison], [chmod +x tests/bison])
|
||||||
|
# Needed by tests/atlocal.in.
|
||||||
|
AC_SUBST([GCC])
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
@@ -33,12 +36,7 @@ AC_MINIX
|
|||||||
AC_ISC_POSIX
|
AC_ISC_POSIX
|
||||||
AM_PROG_CC_STDC
|
AM_PROG_CC_STDC
|
||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
# GNU M4 is needed to build the testsuite.
|
AM_MISSING_PROG([AUTOM4TE], [autom4te])
|
||||||
BISON_AC_PROG_GNU_M4
|
|
||||||
if test "$ac_cv_prog_gnu_m4" != yes; then
|
|
||||||
missing_dir=`cd $ac_aux_dir && pwd`
|
|
||||||
M4="$missing_dir/missing m4"
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(gcc-warnings,
|
AC_ARG_ENABLE(gcc-warnings,
|
||||||
[ --enable-gcc-warnings turn on lots of GCC warnings (not recommended)],
|
[ --enable-gcc-warnings turn on lots of GCC warnings (not recommended)],
|
||||||
|
|||||||
+18
-12
@@ -1,4 +1,4 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -43,6 +43,7 @@ AUTOCONF = @AUTOCONF@
|
|||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -57,7 +58,12 @@ PRE_UNINSTALL = :
|
|||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
|
AUTOM4TE = @AUTOM4TE@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
@@ -66,7 +72,7 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
DATADIRNAME = @DATADIRNAME@
|
DATADIRNAME = @DATADIRNAME@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
EXEEXT = @EXEEXT@
|
GCC = @GCC@
|
||||||
GENCAT = @GENCAT@
|
GENCAT = @GENCAT@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
@@ -79,10 +85,8 @@ INTLOBJS = @INTLOBJS@
|
|||||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||||
LIBICONV = @LIBICONV@
|
LIBICONV = @LIBICONV@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
M4 = @M4@
|
|
||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
OBJEXT = @OBJEXT@
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
POSUB = @POSUB@
|
POSUB = @POSUB@
|
||||||
@@ -161,7 +165,7 @@ bison.dvi: bison.texinfo $(srcdir)/version.texi $(bison_TEXINFOS)
|
|||||||
`echo $< | sed 's,.*/,,'`
|
`echo $< | sed 's,.*/,,'`
|
||||||
|
|
||||||
.texinfo.dvi:
|
.texinfo.dvi:
|
||||||
TEXINPUTS=$(top_srcdir)/config:$$TEXINPUTS \
|
TEXINPUTS="$(top_srcdir)/config$(PATH_SEPARATOR)$$TEXINPUTS" \
|
||||||
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
|
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
|
||||||
$(TEXI2DVI) $<
|
$(TEXI2DVI) $<
|
||||||
|
|
||||||
@@ -200,9 +204,10 @@ dist-info: $(INFO_DEPS)
|
|||||||
list='$(INFO_DEPS)'; \
|
list='$(INFO_DEPS)'; \
|
||||||
for base in $$list; do \
|
for base in $$list; do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
|
for file in $$d/$$base*; do \
|
||||||
test -f $(distdir)/$$file \
|
relfile=`expr "$$file" : "$$d/\(.*\)"`; \
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file; \
|
test -f $(distdir)/$$relfile || \
|
||||||
|
cp -p $$file $(distdir)/$$relfile; \
|
||||||
done; \
|
done; \
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -344,10 +349,11 @@ install-info-am: $(INFO_DEPS)
|
|||||||
@list='$(INFO_DEPS)'; \
|
@list='$(INFO_DEPS)'; \
|
||||||
for file in $$list; do \
|
for file in $$list; do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
|
||||||
if test -f $$d/$$ifile; then \
|
if test -f $$ifile; then \
|
||||||
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
|
relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
|
||||||
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
|
echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
|
||||||
|
$(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
|
||||||
else : ; fi; \
|
else : ; fi; \
|
||||||
done; \
|
done; \
|
||||||
done
|
done
|
||||||
|
|||||||
+2
-2
@@ -34,7 +34,7 @@ File: bison.info, Node: Top, Next: Introduction, Up: (dir)
|
|||||||
Bison
|
Bison
|
||||||
*****
|
*****
|
||||||
|
|
||||||
This manual documents version 1.29b of Bison, updated 20 September
|
This manual documents version 1.29e of Bison, updated 20 September
|
||||||
2001.
|
2001.
|
||||||
|
|
||||||
* Menu:
|
* Menu:
|
||||||
@@ -238,7 +238,7 @@ Bison in detail.
|
|||||||
it Yacc-compatible. Wilfred Hansen of Carnegie Mellon University added
|
it Yacc-compatible. Wilfred Hansen of Carnegie Mellon University added
|
||||||
multi-character string literals and other features.
|
multi-character string literals and other features.
|
||||||
|
|
||||||
This edition corresponds to version 1.29b of Bison.
|
This edition corresponds to version 1.29e of Bison.
|
||||||
|
|
||||||
|
|
||||||
File: bison.info, Node: Conditions, Next: Copying, Prev: Introduction, Up: Top
|
File: bison.info, Node: Conditions, Next: Copying, Prev: Introduction, Up: Top
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
@set UPDATED 20 September 2001
|
@set UPDATED 20 September 2001
|
||||||
@set UPDATED-MONTH September 2001
|
@set UPDATED-MONTH September 2001
|
||||||
@set EDITION 1.29b
|
@set EDITION 1.29e
|
||||||
@set VERSION 1.29b
|
@set VERSION 1.29e
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
@set UPDATED 20 September 2001
|
@set UPDATED 20 September 2001
|
||||||
@set UPDATED-MONTH September 2001
|
@set UPDATED-MONTH September 2001
|
||||||
@set EDITION 1.29b
|
@set EDITION 1.29e
|
||||||
@set VERSION 1.29b
|
@set VERSION 1.29e
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
2001-07-24 GNU <[email protected]>
|
2001-09-13 GNU <[email protected]>
|
||||||
|
|
||||||
* Version 0.10.39 released.
|
* Version 0.10.40 released.
|
||||||
|
|
||||||
|
|||||||
+12
-11
@@ -1,19 +1,20 @@
|
|||||||
# Makefile for directory with message catalog handling in GNU NLS Utilities.
|
# Makefile for directory with message catalog handling in GNU NLS Utilities.
|
||||||
# Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
# Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# it under the terms of the GNU General Public License as published by
|
# under the terms of the GNU Library General Public License as published
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# by the Free Software Foundation; either version 2, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# GNU General Public License for more details.
|
# Library General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU Library General Public
|
||||||
# along with this program; if not, write to the Free Software
|
# License along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
# USA.
|
||||||
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
@@ -74,7 +75,7 @@ DISTFILES.common = Makefile.in \
|
|||||||
config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
|
config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
|
||||||
DISTFILES.generated = plural.c
|
DISTFILES.generated = plural.c
|
||||||
DISTFILES.normal = VERSION
|
DISTFILES.normal = VERSION
|
||||||
DISTFILES.gettext = libintl.glibc
|
DISTFILES.gettext = COPYING.LIB-2 COPYING.LIB-2.1 libintl.glibc
|
||||||
DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c
|
DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c
|
||||||
|
|
||||||
# Libtool's library version information for libintl.
|
# Libtool's library version information for libintl.
|
||||||
@@ -184,7 +185,7 @@ install-data: all
|
|||||||
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
|
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
|
||||||
$(INSTALL_DATA) VERSION $(DESTDIR)$(gettextsrcdir)/VERSION; \
|
$(INSTALL_DATA) VERSION $(DESTDIR)$(gettextsrcdir)/VERSION; \
|
||||||
$(INSTALL_DATA) ChangeLog.inst $(DESTDIR)$(gettextsrcdir)/ChangeLog; \
|
$(INSTALL_DATA) ChangeLog.inst $(DESTDIR)$(gettextsrcdir)/ChangeLog; \
|
||||||
dists="$(DISTFILES.common)"; \
|
dists="COPYING.LIB-2 COPYING.LIB-2.1 $(DISTFILES.common)"; \
|
||||||
for file in $$dists; do \
|
for file in $$dists; do \
|
||||||
$(INSTALL_DATA) $(srcdir)/$$file \
|
$(INSTALL_DATA) $(srcdir)/$$file \
|
||||||
$(DESTDIR)$(gettextsrcdir)/$$file; \
|
$(DESTDIR)$(gettextsrcdir)/$$file; \
|
||||||
@@ -243,7 +244,7 @@ uninstall:
|
|||||||
: ; \
|
: ; \
|
||||||
fi
|
fi
|
||||||
if test "$(PACKAGE)" = "gettext"; then \
|
if test "$(PACKAGE)" = "gettext"; then \
|
||||||
for file in VERSION ChangeLog $(DISTFILES.common) $(DISTFILES.generated); do \
|
for file in VERSION ChangeLog COPYING.LIB-2 COPYING.LIB-2.1 $(DISTFILES.common) $(DISTFILES.generated); do \
|
||||||
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
|
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
|
||||||
done; \
|
done; \
|
||||||
else \
|
else \
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
GNU gettext library from gettext-0.10.39
|
GNU gettext library from gettext-0.10.40
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of the bindtextdomain(3) function
|
/* Implementation of the bindtextdomain(3) function
|
||||||
Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of the dcgettext(3) function.
|
/* Implementation of the dcgettext(3) function.
|
||||||
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of the internal dcigettext function.
|
/* Implementation of the internal dcigettext function.
|
||||||
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* Tell glibc's <string.h> to provide a prototype for mempcpy().
|
/* Tell glibc's <string.h> to provide a prototype for mempcpy().
|
||||||
This must come before <config.h> because <config.h> may include
|
This must come before <config.h> because <config.h> may include
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of the dcngettext(3) function.
|
/* Implementation of the dcngettext(3) function.
|
||||||
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of the dgettext(3) function.
|
/* Implementation of the dgettext(3) function.
|
||||||
Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of the dngettext(3) function.
|
/* Implementation of the dngettext(3) function.
|
||||||
Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
/* Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
||||||
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
|
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -2,19 +2,20 @@
|
|||||||
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
Written by Ulrich Drepper <drepper@gnu.org>, 1995.
|
Written by Ulrich Drepper <drepper@gnu.org>, 1995.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of gettext(3) function.
|
/* Implementation of gettext(3) function.
|
||||||
Copyright (C) 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Description of GNU message catalog format: general file layout.
|
/* Description of GNU message catalog format: general file layout.
|
||||||
Copyright (C) 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifndef _GETTEXT_H
|
#ifndef _GETTEXT_H
|
||||||
#define _GETTEXT_H 1
|
#define _GETTEXT_H 1
|
||||||
|
|||||||
+9
-8
@@ -2,19 +2,20 @@
|
|||||||
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
Written by Ulrich Drepper <drepper@cygnus.com>, 1995.
|
Written by Ulrich Drepper <drepper@cygnus.com>, 1995.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifndef _GETTEXTP_H
|
#ifndef _GETTEXTP_H
|
||||||
#define _GETTEXTP_H
|
#define _GETTEXTP_H
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Description of GNU message catalog format: string hashing function.
|
/* Description of GNU message catalog format: string hashing function.
|
||||||
Copyright (C) 1995, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* @@ end of prolog @@ */
|
/* @@ end of prolog @@ */
|
||||||
|
|
||||||
|
|||||||
+12
-11
@@ -2,19 +2,20 @@
|
|||||||
Library.
|
Library.
|
||||||
Copyright (C) 1995, 2000, 2001 Software Foundation, Inc.
|
Copyright (C) 1995, 2000, 2001 Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software
|
License along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
/* Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
|
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* Tell glibc's <string.h> to provide a prototype for stpcpy().
|
/* Tell glibc's <string.h> to provide a prototype for stpcpy().
|
||||||
This must come before <config.h> because <config.h> may include
|
This must come before <config.h> because <config.h> may include
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Convenience header for conditional use of GNU <libintl.h>.
|
/* Convenience header for conditional use of GNU <libintl.h>.
|
||||||
Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifndef _LIBGETTEXT_H
|
#ifndef _LIBGETTEXT_H
|
||||||
#define _LIBGETTEXT_H 1
|
#define _LIBGETTEXT_H 1
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Message catalogs for internationalization.
|
/* Message catalogs for internationalization.
|
||||||
Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifndef _LIBINTL_H
|
#ifndef _LIBINTL_H
|
||||||
#define _LIBINTL_H 1
|
#define _LIBINTL_H 1
|
||||||
|
|||||||
+9
-8
@@ -2,19 +2,20 @@
|
|||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifndef _LOADINFO_H
|
#ifndef _LOADINFO_H
|
||||||
#define _LOADINFO_H 1
|
#define _LOADINFO_H 1
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Load needed message catalogs.
|
/* Load needed message catalogs.
|
||||||
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* Tell glibc's <string.h> to provide a prototype for mempcpy().
|
/* Tell glibc's <string.h> to provide a prototype for mempcpy().
|
||||||
This must come before <config.h> because <config.h> may include
|
This must come before <config.h> because <config.h> may include
|
||||||
|
|||||||
+10
-9
@@ -1,19 +1,20 @@
|
|||||||
# Locale name alias data base.
|
# Locale name alias data base.
|
||||||
# Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
|
# Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# it under the terms of the GNU General Public License as published by
|
# under the terms of the GNU Library General Public License as published
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# by the Free Software Foundation; either version 2, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# GNU General Public License for more details.
|
# Library General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU Library General Public
|
||||||
# along with this program; if not, write to the Free Software
|
# License along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
# USA.
|
||||||
|
|
||||||
# The format of this file is the same as for the corresponding file of
|
# The format of this file is the same as for the corresponding file of
|
||||||
# the X Window System, which normally can be found in
|
# the X Window System, which normally can be found in
|
||||||
@@ -46,7 +47,7 @@ galego gl_ES.ISO-8859-1
|
|||||||
galician gl_ES.ISO-8859-1
|
galician gl_ES.ISO-8859-1
|
||||||
german de_DE.ISO-8859-1
|
german de_DE.ISO-8859-1
|
||||||
greek el_GR.ISO-8859-7
|
greek el_GR.ISO-8859-7
|
||||||
hebrew iw_IL.ISO-8859-8
|
hebrew he_IL.ISO-8859-8
|
||||||
hrvatski hr_HR.ISO-8859-2
|
hrvatski hr_HR.ISO-8859-2
|
||||||
hungarian hu_HU.ISO-8859-2
|
hungarian hu_HU.ISO-8859-2
|
||||||
icelandic is_IS.ISO-8859-1
|
icelandic is_IS.ISO-8859-1
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Handle aliases for locale names.
|
/* Handle aliases for locale names.
|
||||||
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* Tell glibc's <string.h> to provide a prototype for mempcpy().
|
/* Tell glibc's <string.h> to provide a prototype for mempcpy().
|
||||||
This must come before <config.h> because <config.h> may include
|
This must come before <config.h> because <config.h> may include
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of ngettext(3) function.
|
/* Implementation of ngettext(3) function.
|
||||||
Copyright (C) 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+26
-25
@@ -23,19 +23,20 @@
|
|||||||
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
||||||
Written by Ulrich Drepper <drepper@cygnus.com>, 2000.
|
Written by Ulrich Drepper <drepper@cygnus.com>, 2000.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* The bison generated parser uses alloca. AIX 3 forces us to put this
|
/* The bison generated parser uses alloca. AIX 3 forces us to put this
|
||||||
declaration at the beginning of the file. The declaration in bison's
|
declaration at the beginning of the file. The declaration in bison's
|
||||||
@@ -66,13 +67,13 @@
|
|||||||
#define YYLEX_PARAM &((struct parse_args *) arg)->cp
|
#define YYLEX_PARAM &((struct parse_args *) arg)->cp
|
||||||
#define YYPARSE_PARAM arg
|
#define YYPARSE_PARAM arg
|
||||||
|
|
||||||
#line 52 "plural.y"
|
#line 53 "plural.y"
|
||||||
typedef union {
|
typedef union {
|
||||||
unsigned long int num;
|
unsigned long int num;
|
||||||
enum operator op;
|
enum operator op;
|
||||||
struct expression *exp;
|
struct expression *exp;
|
||||||
} YYSTYPE;
|
} YYSTYPE;
|
||||||
#line 58 "plural.y"
|
#line 59 "plural.y"
|
||||||
|
|
||||||
/* Prototypes for local functions. */
|
/* Prototypes for local functions. */
|
||||||
static struct expression *new_exp PARAMS ((int nargs, enum operator op,
|
static struct expression *new_exp PARAMS ((int nargs, enum operator op,
|
||||||
@@ -234,8 +235,8 @@ static const short yyrhs[] = { 17,
|
|||||||
|
|
||||||
#if YYDEBUG != 0
|
#if YYDEBUG != 0
|
||||||
static const short yyrline[] = { 0,
|
static const short yyrline[] = { 0,
|
||||||
177, 185, 189, 193, 197, 201, 205, 209, 213, 217,
|
178, 186, 190, 194, 198, 202, 206, 210, 214, 218,
|
||||||
221, 226
|
222, 227
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -845,7 +846,7 @@ yyreduce:
|
|||||||
switch (yyn) {
|
switch (yyn) {
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
#line 178 "plural.y"
|
#line 179 "plural.y"
|
||||||
{
|
{
|
||||||
if (yyvsp[0].exp == NULL)
|
if (yyvsp[0].exp == NULL)
|
||||||
YYABORT;
|
YYABORT;
|
||||||
@@ -853,68 +854,68 @@ case 1:
|
|||||||
;
|
;
|
||||||
break;}
|
break;}
|
||||||
case 2:
|
case 2:
|
||||||
#line 186 "plural.y"
|
#line 187 "plural.y"
|
||||||
{
|
{
|
||||||
yyval.exp = new_exp_3 (qmop, yyvsp[-4].exp, yyvsp[-2].exp, yyvsp[0].exp);
|
yyval.exp = new_exp_3 (qmop, yyvsp[-4].exp, yyvsp[-2].exp, yyvsp[0].exp);
|
||||||
;
|
;
|
||||||
break;}
|
break;}
|
||||||
case 3:
|
case 3:
|
||||||
#line 190 "plural.y"
|
#line 191 "plural.y"
|
||||||
{
|
{
|
||||||
yyval.exp = new_exp_2 (lor, yyvsp[-2].exp, yyvsp[0].exp);
|
yyval.exp = new_exp_2 (lor, yyvsp[-2].exp, yyvsp[0].exp);
|
||||||
;
|
;
|
||||||
break;}
|
break;}
|
||||||
case 4:
|
case 4:
|
||||||
#line 194 "plural.y"
|
#line 195 "plural.y"
|
||||||
{
|
{
|
||||||
yyval.exp = new_exp_2 (land, yyvsp[-2].exp, yyvsp[0].exp);
|
yyval.exp = new_exp_2 (land, yyvsp[-2].exp, yyvsp[0].exp);
|
||||||
;
|
;
|
||||||
break;}
|
break;}
|
||||||
case 5:
|
case 5:
|
||||||
#line 198 "plural.y"
|
#line 199 "plural.y"
|
||||||
{
|
{
|
||||||
yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp);
|
yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp);
|
||||||
;
|
;
|
||||||
break;}
|
break;}
|
||||||
case 6:
|
case 6:
|
||||||
#line 202 "plural.y"
|
#line 203 "plural.y"
|
||||||
{
|
{
|
||||||
yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp);
|
yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp);
|
||||||
;
|
;
|
||||||
break;}
|
break;}
|
||||||
case 7:
|
case 7:
|
||||||
#line 206 "plural.y"
|
#line 207 "plural.y"
|
||||||
{
|
{
|
||||||
yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp);
|
yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp);
|
||||||
;
|
;
|
||||||
break;}
|
break;}
|
||||||
case 8:
|
case 8:
|
||||||
#line 210 "plural.y"
|
#line 211 "plural.y"
|
||||||
{
|
{
|
||||||
yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp);
|
yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp);
|
||||||
;
|
;
|
||||||
break;}
|
break;}
|
||||||
case 9:
|
case 9:
|
||||||
#line 214 "plural.y"
|
#line 215 "plural.y"
|
||||||
{
|
{
|
||||||
yyval.exp = new_exp_1 (lnot, yyvsp[0].exp);
|
yyval.exp = new_exp_1 (lnot, yyvsp[0].exp);
|
||||||
;
|
;
|
||||||
break;}
|
break;}
|
||||||
case 10:
|
case 10:
|
||||||
#line 218 "plural.y"
|
#line 219 "plural.y"
|
||||||
{
|
{
|
||||||
yyval.exp = new_exp_0 (var);
|
yyval.exp = new_exp_0 (var);
|
||||||
;
|
;
|
||||||
break;}
|
break;}
|
||||||
case 11:
|
case 11:
|
||||||
#line 222 "plural.y"
|
#line 223 "plural.y"
|
||||||
{
|
{
|
||||||
if ((yyval.exp = new_exp_0 (num)) != NULL)
|
if ((yyval.exp = new_exp_0 (num)) != NULL)
|
||||||
yyval.exp->val.num = yyvsp[0].num;
|
yyval.exp->val.num = yyvsp[0].num;
|
||||||
;
|
;
|
||||||
break;}
|
break;}
|
||||||
case 12:
|
case 12:
|
||||||
#line 227 "plural.y"
|
#line 228 "plural.y"
|
||||||
{
|
{
|
||||||
yyval.exp = yyvsp[-1].exp;
|
yyval.exp = yyvsp[-1].exp;
|
||||||
;
|
;
|
||||||
@@ -1141,7 +1142,7 @@ yyerrhandle:
|
|||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
#line 232 "plural.y"
|
#line 233 "plural.y"
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+9
-8
@@ -3,19 +3,20 @@
|
|||||||
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
||||||
Written by Ulrich Drepper <[email protected]>, 2000.
|
Written by Ulrich Drepper <[email protected]>, 2000.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* The bison generated parser uses alloca. AIX 3 forces us to put this
|
/* The bison generated parser uses alloca. AIX 3 forces us to put this
|
||||||
declaration at the beginning of the file. The declaration in bison's
|
declaration at the beginning of the file. The declaration in bison's
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of the textdomain(3) function.
|
/* Implementation of the textdomain(3) function.
|
||||||
Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify it
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-5
@@ -1,4 +1,4 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -43,6 +43,7 @@ AUTOCONF = @AUTOCONF@
|
|||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -57,7 +58,12 @@ PRE_UNINSTALL = :
|
|||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
|
AUTOM4TE = @AUTOM4TE@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
@@ -66,7 +72,7 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
DATADIRNAME = @DATADIRNAME@
|
DATADIRNAME = @DATADIRNAME@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
EXEEXT = @EXEEXT@
|
GCC = @GCC@
|
||||||
GENCAT = @GENCAT@
|
GENCAT = @GENCAT@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
@@ -79,10 +85,8 @@ INTLOBJS = @INTLOBJS@
|
|||||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||||
LIBICONV = @LIBICONV@
|
LIBICONV = @LIBICONV@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
M4 = @M4@
|
|
||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
OBJEXT = @OBJEXT@
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
POSUB = @POSUB@
|
POSUB = @POSUB@
|
||||||
@@ -286,7 +290,7 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|||||||
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
|
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
|
||||||
|
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $(GTAGS_ARGS) $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
|
|||||||
+182
-52
@@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1989, 1997, 1998 Aladdin Enterprises. All rights reserved. */
|
/* Copyright (C) 1989, 2000 Aladdin Enterprises. All rights reserved. */
|
||||||
|
|
||||||
/*$Id$*/
|
/*$Id$*/
|
||||||
/* Convert ANSI C function definitions to K&R ("traditional C") syntax */
|
/* Convert ANSI C function definitions to K&R ("traditional C") syntax */
|
||||||
@@ -37,27 +37,62 @@ program under the GPL.
|
|||||||
* There are no error messages.
|
* There are no error messages.
|
||||||
*
|
*
|
||||||
* ansi2knr recognizes function definitions by seeing a non-keyword
|
* ansi2knr recognizes function definitions by seeing a non-keyword
|
||||||
* identifier at the left margin, followed by a left parenthesis,
|
* identifier at the left margin, followed by a left parenthesis, with a
|
||||||
* with a right parenthesis as the last character on the line,
|
* right parenthesis as the last character on the line, and with a left
|
||||||
* and with a left brace as the first token on the following line
|
* brace as the first token on the following line (ignoring possible
|
||||||
* (ignoring possible intervening comments), except that a line
|
* intervening comments and/or preprocessor directives), except that a line
|
||||||
* consisting of only
|
* consisting of only
|
||||||
* identifier1(identifier2)
|
* identifier1(identifier2)
|
||||||
* will not be considered a function definition unless identifier2 is
|
* will not be considered a function definition unless identifier2 is
|
||||||
* the word "void". ansi2knr will recognize a multi-line header provided
|
* the word "void", and a line consisting of
|
||||||
* that no intervening line ends with a left or right brace or a semicolon.
|
* identifier1(identifier2, <<arbitrary>>)
|
||||||
* These algorithms ignore whitespace and comments, except that
|
* will not be considered a function definition.
|
||||||
* the function name must be the first thing on the line.
|
* ansi2knr will recognize a multi-line header provided that no intervening
|
||||||
* The following constructs will confuse it:
|
* line ends with a left or right brace or a semicolon. These algorithms
|
||||||
|
* ignore whitespace, comments, and preprocessor directives, except that
|
||||||
|
* the function name must be the first thing on the line. The following
|
||||||
|
* constructs will confuse it:
|
||||||
* - Any other construct that starts at the left margin and
|
* - Any other construct that starts at the left margin and
|
||||||
* follows the above syntax (such as a macro or function call).
|
* follows the above syntax (such as a macro or function call).
|
||||||
* - Some macros that tinker with the syntax of the function header.
|
* - Some macros that tinker with the syntax of function headers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The original and principal author of ansi2knr is L. Peter Deutsch
|
* The original and principal author of ansi2knr is L. Peter Deutsch
|
||||||
* <ghost@aladdin.com>. Other authors are noted in the change history
|
* <ghost@aladdin.com>. Other authors are noted in the change history
|
||||||
* that follows (in reverse chronological order):
|
* that follows (in reverse chronological order):
|
||||||
|
|
||||||
|
lpd 2000-04-12 backs out Eggert's changes because of bugs:
|
||||||
|
- concatlits didn't declare the type of its bufend argument;
|
||||||
|
- concatlits didn't't recognize when it was inside a comment;
|
||||||
|
- scanstring could scan backward past the beginning of the string; when
|
||||||
|
- the check for \ + newline in scanstring was unnecessary.
|
||||||
|
|
||||||
|
2000-03-05 Paul Eggert <eggert@twinsun.com>
|
||||||
|
|
||||||
|
Add support for concatenated string literals.
|
||||||
|
* ansi2knr.c (concatlits): New decl.
|
||||||
|
(main): Invoke concatlits to concatenate string literals.
|
||||||
|
(scanstring): Handle backslash-newline correctly. Work with
|
||||||
|
character constants. Fix bug when scanning backwards through
|
||||||
|
backslash-quote. Check for unterminated strings.
|
||||||
|
(convert1): Parse character constants, too.
|
||||||
|
(appendline, concatlits): New functions.
|
||||||
|
* ansi2knr.1: Document this.
|
||||||
|
|
||||||
|
lpd 1999-08-17 added code to allow preprocessor directives
|
||||||
|
wherever comments are allowed
|
||||||
|
lpd 1999-04-12 added minor fixes from Pavel Roskin
|
||||||
|
<pavel_roskin@geocities.com> for clean compilation with
|
||||||
|
gcc -W -Wall
|
||||||
|
lpd 1999-03-22 added hack to recognize lines consisting of
|
||||||
|
identifier1(identifier2, xxx) as *not* being procedures
|
||||||
|
lpd 1999-02-03 made indentation of preprocessor commands consistent
|
||||||
|
lpd 1999-01-28 fixed two bugs: a '/' in an argument list caused an
|
||||||
|
endless loop; quoted strings within an argument list
|
||||||
|
confused the parser
|
||||||
|
lpd 1999-01-24 added a check for write errors on the output,
|
||||||
|
suggested by Jim Meyering <meyering@ascend.com>
|
||||||
lpd 1998-11-09 added further hack to recognize identifier(void)
|
lpd 1998-11-09 added further hack to recognize identifier(void)
|
||||||
as being a procedure
|
as being a procedure
|
||||||
lpd 1998-10-23 added hack to recognize lines consisting of
|
lpd 1998-10-23 added hack to recognize lines consisting of
|
||||||
@@ -153,19 +188,24 @@ program under the GPL.
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Define NULL (for *very* old compilers). */
|
||||||
|
#ifndef NULL
|
||||||
|
# define NULL (0)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The ctype macros don't always handle 8-bit characters correctly.
|
* The ctype macros don't always handle 8-bit characters correctly.
|
||||||
* Compensate for this here.
|
* Compensate for this here.
|
||||||
*/
|
*/
|
||||||
#ifdef isascii
|
#ifdef isascii
|
||||||
# undef HAVE_ISASCII /* just in case */
|
# undef HAVE_ISASCII /* just in case */
|
||||||
# define HAVE_ISASCII 1
|
# define HAVE_ISASCII 1
|
||||||
#else
|
#else
|
||||||
#endif
|
#endif
|
||||||
#if STDC_HEADERS || !HAVE_ISASCII
|
#if STDC_HEADERS || !HAVE_ISASCII
|
||||||
# define is_ascii(c) 1
|
# define is_ascii(c) 1
|
||||||
#else
|
#else
|
||||||
# define is_ascii(c) isascii(c)
|
# define is_ascii(c) isascii(c)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define is_space(c) (is_ascii(c) && isspace(c))
|
#define is_space(c) (is_ascii(c) && isspace(c))
|
||||||
@@ -177,7 +217,10 @@ program under the GPL.
|
|||||||
#define isidfirstchar(ch) (is_alpha(ch) || (ch) == '_')
|
#define isidfirstchar(ch) (is_alpha(ch) || (ch) == '_')
|
||||||
|
|
||||||
/* Forward references */
|
/* Forward references */
|
||||||
|
char *ppdirforward();
|
||||||
|
char *ppdirbackward();
|
||||||
char *skipspace();
|
char *skipspace();
|
||||||
|
char *scanstring();
|
||||||
int writeblanks();
|
int writeblanks();
|
||||||
int test1();
|
int test1();
|
||||||
int convert1();
|
int convert1();
|
||||||
@@ -190,6 +233,8 @@ main(argc, argv)
|
|||||||
{ FILE *in = stdin;
|
{ FILE *in = stdin;
|
||||||
FILE *out = stdout;
|
FILE *out = stdout;
|
||||||
char *filename = 0;
|
char *filename = 0;
|
||||||
|
char *program_name = argv[0];
|
||||||
|
char *output_name = 0;
|
||||||
#define bufsize 5000 /* arbitrary size */
|
#define bufsize 5000 /* arbitrary size */
|
||||||
char *buf;
|
char *buf;
|
||||||
char *line;
|
char *line;
|
||||||
@@ -205,6 +250,7 @@ main(argc, argv)
|
|||||||
* check for this switch for backward compatibility.
|
* check for this switch for backward compatibility.
|
||||||
*/
|
*/
|
||||||
int convert_varargs = 1;
|
int convert_varargs = 1;
|
||||||
|
int output_error;
|
||||||
|
|
||||||
while ( argc > 1 && argv[1][0] == '-' ) {
|
while ( argc > 1 && argv[1][0] == '-' ) {
|
||||||
if ( !strcmp(argv[1], "--varargs") ) {
|
if ( !strcmp(argv[1], "--varargs") ) {
|
||||||
@@ -219,7 +265,8 @@ main(argc, argv)
|
|||||||
argv += 2;
|
argv += 2;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
fprintf(stderr, "Unrecognized switch: %s\n", argv[1]);
|
fprintf(stderr, "%s: Unrecognized switch: %s\n", program_name,
|
||||||
|
argv[1]);
|
||||||
fprintf(stderr, usage);
|
fprintf(stderr, usage);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
@@ -229,16 +276,19 @@ main(argc, argv)
|
|||||||
fprintf(stderr, usage);
|
fprintf(stderr, usage);
|
||||||
exit(0);
|
exit(0);
|
||||||
case 3:
|
case 3:
|
||||||
out = fopen(argv[2], "w");
|
output_name = argv[2];
|
||||||
|
out = fopen(output_name, "w");
|
||||||
if ( out == NULL ) {
|
if ( out == NULL ) {
|
||||||
fprintf(stderr, "Cannot open output file %s\n", argv[2]);
|
fprintf(stderr, "%s: Cannot open output file %s\n",
|
||||||
|
program_name, output_name);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
/* falls through */
|
/* falls through */
|
||||||
case 2:
|
case 2:
|
||||||
in = fopen(argv[1], "r");
|
in = fopen(argv[1], "r");
|
||||||
if ( in == NULL ) {
|
if ( in == NULL ) {
|
||||||
fprintf(stderr, "Cannot open input file %s\n", argv[1]);
|
fprintf(stderr, "%s: Cannot open input file %s\n",
|
||||||
|
program_name, argv[1]);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if ( filename == 0 )
|
if ( filename == 0 )
|
||||||
@@ -250,6 +300,11 @@ main(argc, argv)
|
|||||||
if ( filename )
|
if ( filename )
|
||||||
fprintf(out, "#line 1 \"%s\"\n", filename);
|
fprintf(out, "#line 1 \"%s\"\n", filename);
|
||||||
buf = malloc(bufsize);
|
buf = malloc(bufsize);
|
||||||
|
if ( buf == NULL )
|
||||||
|
{
|
||||||
|
fprintf(stderr, "Unable to allocate read buffer!\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
line = buf;
|
line = buf;
|
||||||
while ( fgets(line, (unsigned)(buf + bufsize - line), in) != NULL )
|
while ( fgets(line, (unsigned)(buf + bufsize - line), in) != NULL )
|
||||||
{
|
{
|
||||||
@@ -266,7 +321,7 @@ f: if ( line >= buf + (bufsize - 1) ) /* overflow check */
|
|||||||
goto wl;
|
goto wl;
|
||||||
if ( fgets(line, (unsigned)(buf + bufsize - line), in) == NULL )
|
if ( fgets(line, (unsigned)(buf + bufsize - line), in) == NULL )
|
||||||
goto wl;
|
goto wl;
|
||||||
switch ( *skipspace(more, 1) )
|
switch ( *skipspace(ppdirforward(more), 1) )
|
||||||
{
|
{
|
||||||
case '{':
|
case '{':
|
||||||
/* Definitely a function header. */
|
/* Definitely a function header. */
|
||||||
@@ -300,32 +355,91 @@ wl: fputs(buf, out);
|
|||||||
if ( line != buf )
|
if ( line != buf )
|
||||||
fputs(buf, out);
|
fputs(buf, out);
|
||||||
free(buf);
|
free(buf);
|
||||||
if ( out != stdout )
|
if ( output_name ) {
|
||||||
fclose(out);
|
output_error = ferror(out);
|
||||||
|
output_error |= fclose(out);
|
||||||
|
} else { /* out == stdout */
|
||||||
|
fflush(out);
|
||||||
|
output_error = ferror(out);
|
||||||
|
}
|
||||||
|
if ( output_error ) {
|
||||||
|
fprintf(stderr, "%s: error writing to %s\n", program_name,
|
||||||
|
(output_name ? output_name : "stdout"));
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
if ( in != stdin )
|
if ( in != stdin )
|
||||||
fclose(in);
|
fclose(in);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Skip over space and comments, in either direction. */
|
/*
|
||||||
|
* Skip forward or backward over one or more preprocessor directives.
|
||||||
|
*/
|
||||||
|
char *
|
||||||
|
ppdirforward(p)
|
||||||
|
char *p;
|
||||||
|
{
|
||||||
|
for (; *p == '#'; ++p) {
|
||||||
|
for (; *p != '\r' && *p != '\n'; ++p)
|
||||||
|
if (*p == 0)
|
||||||
|
return p;
|
||||||
|
if (*p == '\r' && p[1] == '\n')
|
||||||
|
++p;
|
||||||
|
}
|
||||||
|
return p;
|
||||||
|
}
|
||||||
|
char *
|
||||||
|
ppdirbackward(p, limit)
|
||||||
|
char *p;
|
||||||
|
char *limit;
|
||||||
|
{
|
||||||
|
char *np = p;
|
||||||
|
|
||||||
|
for (;; p = --np) {
|
||||||
|
if (*np == '\n' && np[-1] == '\r')
|
||||||
|
--np;
|
||||||
|
for (; np > limit && np[-1] != '\r' && np[-1] != '\n'; --np)
|
||||||
|
if (np[-1] == 0)
|
||||||
|
return np;
|
||||||
|
if (*np != '#')
|
||||||
|
return p;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Skip over whitespace, comments, and preprocessor directives,
|
||||||
|
* in either direction.
|
||||||
|
*/
|
||||||
char *
|
char *
|
||||||
skipspace(p, dir)
|
skipspace(p, dir)
|
||||||
register char *p;
|
char *p;
|
||||||
register int dir; /* 1 for forward, -1 for backward */
|
int dir; /* 1 for forward, -1 for backward */
|
||||||
{ for ( ; ; )
|
{
|
||||||
{ while ( is_space(*p) )
|
for ( ; ; ) {
|
||||||
p += dir;
|
while ( is_space(*p) )
|
||||||
if ( !(*p == '/' && p[dir] == '*') )
|
p += dir;
|
||||||
break;
|
if ( !(*p == '/' && p[dir] == '*') )
|
||||||
p += dir; p += dir;
|
break;
|
||||||
while ( !(*p == '*' && p[dir] == '/') )
|
p += dir; p += dir;
|
||||||
{ if ( *p == 0 )
|
while ( !(*p == '*' && p[dir] == '/') ) {
|
||||||
return p; /* multi-line comment?? */
|
if ( *p == 0 )
|
||||||
p += dir;
|
return p; /* multi-line comment?? */
|
||||||
}
|
p += dir;
|
||||||
p += dir; p += dir;
|
}
|
||||||
}
|
p += dir; p += dir;
|
||||||
return p;
|
}
|
||||||
|
return p;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Scan over a quoted string, in either direction. */
|
||||||
|
char *
|
||||||
|
scanstring(p, dir)
|
||||||
|
char *p;
|
||||||
|
int dir;
|
||||||
|
{
|
||||||
|
for (p += dir; ; p += dir)
|
||||||
|
if (*p == '"' && p[-dir] != '\\')
|
||||||
|
return p + dir;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -359,14 +473,14 @@ writeblanks(start, end)
|
|||||||
int
|
int
|
||||||
test1(buf)
|
test1(buf)
|
||||||
char *buf;
|
char *buf;
|
||||||
{ register char *p = buf;
|
{ char *p = buf;
|
||||||
char *bend;
|
char *bend;
|
||||||
char *endfn;
|
char *endfn;
|
||||||
int contin;
|
int contin;
|
||||||
|
|
||||||
if ( !isidfirstchar(*p) )
|
if ( !isidfirstchar(*p) )
|
||||||
return 0; /* no name at left margin */
|
return 0; /* no name at left margin */
|
||||||
bend = skipspace(buf + strlen(buf) - 1, -1);
|
bend = skipspace(ppdirbackward(buf + strlen(buf) - 1, buf), -1);
|
||||||
switch ( *bend )
|
switch ( *bend )
|
||||||
{
|
{
|
||||||
case ';': contin = 0 /*2*/; break;
|
case ';': contin = 0 /*2*/; break;
|
||||||
@@ -396,7 +510,7 @@ test1(buf)
|
|||||||
};
|
};
|
||||||
char **key = words;
|
char **key = words;
|
||||||
char *kp;
|
char *kp;
|
||||||
int len = endfn - buf;
|
unsigned len = endfn - buf;
|
||||||
|
|
||||||
while ( (kp = *key) != 0 )
|
while ( (kp = *key) != 0 )
|
||||||
{ if ( strlen(kp) == len && !strncmp(kp, buf, len) )
|
{ if ( strlen(kp) == len && !strncmp(kp, buf, len) )
|
||||||
@@ -409,14 +523,16 @@ test1(buf)
|
|||||||
int len;
|
int len;
|
||||||
/*
|
/*
|
||||||
* Check for identifier1(identifier2) and not
|
* Check for identifier1(identifier2) and not
|
||||||
* identifier1(void).
|
* identifier1(void), or identifier1(identifier2, xxxx).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
while ( isidchar(*p) )
|
while ( isidchar(*p) )
|
||||||
p++;
|
p++;
|
||||||
len = p - id;
|
len = p - id;
|
||||||
p = skipspace(p, 1);
|
p = skipspace(p, 1);
|
||||||
if ( *p == ')' && (len != 4 || strncmp(id, "void", 4)) )
|
if (*p == ',' ||
|
||||||
|
(*p == ')' && (len != 4 || strncmp(id, "void", 4)))
|
||||||
|
)
|
||||||
return 0; /* not a function */
|
return 0; /* not a function */
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
@@ -443,7 +559,7 @@ convert1(buf, out, header, convert_varargs)
|
|||||||
int header; /* Boolean */
|
int header; /* Boolean */
|
||||||
int convert_varargs; /* Boolean */
|
int convert_varargs; /* Boolean */
|
||||||
{ char *endfn;
|
{ char *endfn;
|
||||||
register char *p;
|
char *p;
|
||||||
/*
|
/*
|
||||||
* The breaks table contains pointers to the beginning and end
|
* The breaks table contains pointers to the beginning and end
|
||||||
* of each argument.
|
* of each argument.
|
||||||
@@ -461,7 +577,7 @@ convert1(buf, out, header, convert_varargs)
|
|||||||
;
|
;
|
||||||
top: p = endfn;
|
top: p = endfn;
|
||||||
breaks = (char **)malloc(sizeof(char *) * num_breaks * 2);
|
breaks = (char **)malloc(sizeof(char *) * num_breaks * 2);
|
||||||
if ( breaks == 0 )
|
if ( breaks == NULL )
|
||||||
{ /* Couldn't allocate break table, give up */
|
{ /* Couldn't allocate break table, give up */
|
||||||
fprintf(stderr, "Unable to allocate break table!\n");
|
fprintf(stderr, "Unable to allocate break table!\n");
|
||||||
fputs(buf, out);
|
fputs(buf, out);
|
||||||
@@ -473,7 +589,7 @@ top: p = endfn;
|
|||||||
do
|
do
|
||||||
{ int level = 0;
|
{ int level = 0;
|
||||||
char *lp = NULL;
|
char *lp = NULL;
|
||||||
char *rp;
|
char *rp = NULL;
|
||||||
char *end = NULL;
|
char *end = NULL;
|
||||||
|
|
||||||
if ( bp >= btop )
|
if ( bp >= btop )
|
||||||
@@ -500,14 +616,18 @@ top: p = endfn;
|
|||||||
else rp = p;
|
else rp = p;
|
||||||
break;
|
break;
|
||||||
case '/':
|
case '/':
|
||||||
p = skipspace(p, 1) - 1;
|
if (p[1] == '*')
|
||||||
|
p = skipspace(p, 1) - 1;
|
||||||
break;
|
break;
|
||||||
|
case '"':
|
||||||
|
p = scanstring(p, 1) - 1;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Erase any embedded prototype parameters. */
|
/* Erase any embedded prototype parameters. */
|
||||||
if ( lp )
|
if ( lp && rp )
|
||||||
writeblanks(lp + 1, rp);
|
writeblanks(lp + 1, rp);
|
||||||
p--; /* back up over terminator */
|
p--; /* back up over terminator */
|
||||||
/* Find the name being declared. */
|
/* Find the name being declared. */
|
||||||
@@ -523,9 +643,19 @@ top: p = endfn;
|
|||||||
while ( level )
|
while ( level )
|
||||||
switch ( *--p )
|
switch ( *--p )
|
||||||
{
|
{
|
||||||
case ']': case ')': level++; break;
|
case ']': case ')':
|
||||||
case '[': case '(': level--; break;
|
level++;
|
||||||
case '/': p = skipspace(p, -1) + 1; break;
|
break;
|
||||||
|
case '[': case '(':
|
||||||
|
level--;
|
||||||
|
break;
|
||||||
|
case '/':
|
||||||
|
if (p > buf && p[-1] == '*')
|
||||||
|
p = skipspace(p, -1) + 1;
|
||||||
|
break;
|
||||||
|
case '"':
|
||||||
|
p = scanstring(p, -1) + 1;
|
||||||
|
break;
|
||||||
default: ;
|
default: ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+10
-1
@@ -63,6 +63,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_WCHAR_H
|
#if HAVE_WCHAR_H
|
||||||
|
|
||||||
|
/* BSD/OS 4.1 wchar.h requires FILE and struct tm to be declared. */
|
||||||
|
# include <stdio.h>
|
||||||
|
# include <time.h>
|
||||||
|
|
||||||
# include <wchar.h>
|
# include <wchar.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -73,8 +78,12 @@
|
|||||||
# undef MB_CUR_MAX
|
# undef MB_CUR_MAX
|
||||||
# define MB_CUR_MAX 1
|
# define MB_CUR_MAX 1
|
||||||
# define mbrtowc(pwc, s, n, ps) ((*(pwc) = *(s)) != 0)
|
# define mbrtowc(pwc, s, n, ps) ((*(pwc) = *(s)) != 0)
|
||||||
# define mbsinit(ps) 1
|
|
||||||
# define iswprint(wc) ISPRINT ((unsigned char) (wc))
|
# define iswprint(wc) ISPRINT ((unsigned char) (wc))
|
||||||
|
# undef HAVE_MBSINIT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined mbsinit && !HAVE_MBSINIT
|
||||||
|
# define mbsinit(ps) 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef iswprint
|
#ifndef iswprint
|
||||||
|
|||||||
+1
-1
@@ -9,8 +9,8 @@ glibc21.m4 \
|
|||||||
iconv.m4 \
|
iconv.m4 \
|
||||||
isc-posix.m4 \
|
isc-posix.m4 \
|
||||||
lcmessage.m4 \
|
lcmessage.m4 \
|
||||||
m4.m4 \
|
|
||||||
malloc.m4 \
|
malloc.m4 \
|
||||||
|
mbrtowc.m4 \
|
||||||
mbstate_t.m4 \
|
mbstate_t.m4 \
|
||||||
prereq.m4 \
|
prereq.m4 \
|
||||||
progtest.m4 \
|
progtest.m4 \
|
||||||
|
|||||||
+9
-5
@@ -1,4 +1,4 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -43,6 +43,7 @@ AUTOCONF = @AUTOCONF@
|
|||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -57,7 +58,12 @@ PRE_UNINSTALL = :
|
|||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
|
AUTOM4TE = @AUTOM4TE@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
@@ -66,7 +72,7 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
DATADIRNAME = @DATADIRNAME@
|
DATADIRNAME = @DATADIRNAME@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
EXEEXT = @EXEEXT@
|
GCC = @GCC@
|
||||||
GENCAT = @GENCAT@
|
GENCAT = @GENCAT@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
@@ -79,10 +85,8 @@ INTLOBJS = @INTLOBJS@
|
|||||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||||
LIBICONV = @LIBICONV@
|
LIBICONV = @LIBICONV@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
M4 = @M4@
|
|
||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
OBJEXT = @OBJEXT@
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
POSUB = @POSUB@
|
POSUB = @POSUB@
|
||||||
@@ -106,8 +110,8 @@ glibc21.m4 \
|
|||||||
iconv.m4 \
|
iconv.m4 \
|
||||||
isc-posix.m4 \
|
isc-posix.m4 \
|
||||||
lcmessage.m4 \
|
lcmessage.m4 \
|
||||||
m4.m4 \
|
|
||||||
malloc.m4 \
|
malloc.m4 \
|
||||||
|
mbrtowc.m4 \
|
||||||
mbstate_t.m4 \
|
mbstate_t.m4 \
|
||||||
prereq.m4 \
|
prereq.m4 \
|
||||||
progtest.m4 \
|
progtest.m4 \
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
# serial 1 -*- Autoconf -*-
|
|
||||||
|
|
||||||
# BISON_AC_PROG_GNU_M4
|
|
||||||
# --------------------
|
|
||||||
# Check for GNU m4, at least 1.3 (supports frozen files).
|
|
||||||
AC_DEFUN([BISON_AC_PROG_GNU_M4],
|
|
||||||
[AC_PATH_PROGS(M4, gm4 gnum4 m4, m4)
|
|
||||||
AC_CACHE_CHECK([whether m4 supports frozen files],
|
|
||||||
[ac_cv_prog_gnu_m4],
|
|
||||||
[ac_cv_prog_gnu_m4=no
|
|
||||||
if test x"$M4" != x; then
|
|
||||||
case `$M4 --help < /dev/null 2>&1` in
|
|
||||||
*reload-state*) ac_cv_prog_gnu_m4=yes ;;
|
|
||||||
esac
|
|
||||||
fi])
|
|
||||||
])# BISON_AC_PROG_GNU_M4
|
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
#serial 4
|
||||||
|
|
||||||
|
dnl From Paul Eggert
|
||||||
|
|
||||||
|
AC_DEFUN([jm_FUNC_MBRTOWC],
|
||||||
|
[
|
||||||
|
AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared],
|
||||||
|
jm_cv_func_mbrtowc,
|
||||||
|
[AC_TRY_LINK(
|
||||||
|
[#include <wchar.h>],
|
||||||
|
[mbstate_t state; return ! (sizeof state && mbrtowc);],
|
||||||
|
jm_cv_func_mbrtowc=yes,
|
||||||
|
jm_cv_func_mbrtowc=no)])
|
||||||
|
if test $jm_cv_func_mbrtowc = yes; then
|
||||||
|
AC_DEFINE(HAVE_MBRTOWC, 1,
|
||||||
|
[Define to 1 if mbrtowc and mbstate_t are properly declared.])
|
||||||
|
fi
|
||||||
|
])
|
||||||
+4
-3
@@ -1,12 +1,13 @@
|
|||||||
#serial 1
|
#serial 2
|
||||||
|
|
||||||
dnl These are the prerequisite macros for files in the lib/
|
dnl These are the prerequisite macros for files in the lib/
|
||||||
dnl directories of Bison.
|
dnl directories of Bison.
|
||||||
|
|
||||||
AC_DEFUN([jm_PREREQ_QUOTEARG],
|
AC_DEFUN([jm_PREREQ_QUOTEARG],
|
||||||
[
|
[
|
||||||
AC_CHECK_FUNCS(isascii iswprint mbrtowc)
|
AC_CHECK_FUNCS(isascii iswprint mbsinit)
|
||||||
AC_CHECK_HEADERS(limits.h stdlib.h string.h wchar.h wctype.h)
|
jm_FUNC_MBRTOWC
|
||||||
|
AC_CHECK_HEADERS(limits.h stddef.h stdlib.h string.h wchar.h wctype.h)
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_C_BACKSLASH_A
|
AC_C_BACKSLASH_A
|
||||||
AC_MBSTATE_T
|
AC_MBSTATE_T
|
||||||
|
|||||||
@@ -1,3 +1,21 @@
|
|||||||
|
2001-10-10 gettextize <[email protected]>
|
||||||
|
|
||||||
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
|
||||||
|
2001-10-10 gettextize <[email protected]>
|
||||||
|
|
||||||
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
|
||||||
|
2001-10-09 gettextize <[email protected]>
|
||||||
|
|
||||||
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
* cat-id-tbl.c: Remove file.
|
||||||
|
|
||||||
|
2001-09-27 gettextize <[email protected]>
|
||||||
|
|
||||||
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
* cat-id-tbl.c: Remove file.
|
||||||
|
|
||||||
2001-08-03 gettextize <[email protected]>
|
2001-08-03 gettextize <[email protected]>
|
||||||
|
|
||||||
* Makefile.in.in: Upgrade to gettext-0.10.39.
|
* Makefile.in.in: Upgrade to gettext-0.10.39.
|
||||||
|
|||||||
-188
@@ -1,188 +0,0 @@
|
|||||||
/* Automatically generated by po2tbl.sed from bison.pot. */
|
|
||||||
|
|
||||||
#if HAVE_CONFIG_H
|
|
||||||
# include <config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "libgettext.h"
|
|
||||||
|
|
||||||
const struct _msg_ent _msg_tbl[] = {
|
|
||||||
{"", 1},
|
|
||||||
{"too many states (max %d)", 2},
|
|
||||||
{"Conflict in state %d between rule %d and token %s resolved as %s.\n", 3},
|
|
||||||
{"reduce", 4},
|
|
||||||
{"shift", 5},
|
|
||||||
{"an error", 6},
|
|
||||||
{" 1 shift/reduce conflict", 7},
|
|
||||||
{" %d shift/reduce conflicts", 8},
|
|
||||||
{" and", 9},
|
|
||||||
{" 1 reduce/reduce conflict", 10},
|
|
||||||
{" %d reduce/reduce conflicts", 11},
|
|
||||||
{"State %d contains", 12},
|
|
||||||
{"conflicts: ", 13},
|
|
||||||
{" %d shift/reduce", 14},
|
|
||||||
{" %d reduce/reduce", 15},
|
|
||||||
{"%s contains", 16},
|
|
||||||
{" %-4s\t[reduce using rule %d (%s)]\n", 17},
|
|
||||||
{"\
|
|
||||||
$default\treduce using rule %d (%s)\n\
|
|
||||||
\n", 18},
|
|
||||||
{" %-4s\treduce using rule %d (%s)\n", 19},
|
|
||||||
{" $default\treduce using rule %d (%s)\n", 20},
|
|
||||||
{"DERIVES", 21},
|
|
||||||
{"%s derives", 22},
|
|
||||||
{"GNU bison generates parsers for LALR(1) grammars.\n", 23},
|
|
||||||
{"Usage: %s [OPTION]... FILE\n", 24},
|
|
||||||
{"\
|
|
||||||
If a long option shows an argument as mandatory, then it is mandatory\n\
|
|
||||||
for the equivalent short option also. Similarly for optional arguments.\n", 25},
|
|
||||||
{"\
|
|
||||||
Operation modes:\n\
|
|
||||||
-h, --help display this help and exit\n\
|
|
||||||
-V, --version output version information and exit\n\
|
|
||||||
-y, --yacc emulate POSIX yacc\n", 26},
|
|
||||||
{"\
|
|
||||||
Parser:\n\
|
|
||||||
-S, --skeleton=FILE specify the skeleton to use\n\
|
|
||||||
-t, --debug instrument the parser for debugging\n\
|
|
||||||
--locations enable locations computation\n\
|
|
||||||
-p, --name-prefix=PREFIX prepend PREFIX to the external symbols\n\
|
|
||||||
-l, --no-lines don't generate `#line' directives\n\
|
|
||||||
-n, --no-parser generate the tables only\n\
|
|
||||||
-r, --raw number the tokens from 3\n\
|
|
||||||
-k, --token-table include a table of token names\n", 27},
|
|
||||||
{"\
|
|
||||||
Output:\n\
|
|
||||||
-d, --defines also produce a header file\n\
|
|
||||||
-v, --verbose also produce an explanation of the automaton\n\
|
|
||||||
-b, --file-prefix=PREFIX specify a PREFIX for output files\n\
|
|
||||||
-o, --output-file=FILE leave output to FILE\n", 28},
|
|
||||||
{"Report bugs to <[email protected]>.\n", 29},
|
|
||||||
{"bison (GNU Bison) %s", 30},
|
|
||||||
{"\
|
|
||||||
Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n", 31},
|
|
||||||
{"\
|
|
||||||
This is free software; see the source for copying conditions. There is NO\n\
|
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n", 32},
|
|
||||||
{"Try `%s --help' for more information.\n", 33},
|
|
||||||
{"%s: no grammar file given\n", 34},
|
|
||||||
{"%s: extra arguments ignored after `%s'\n", 35},
|
|
||||||
{"too many gotos (max %d)", 36},
|
|
||||||
{"unexpected `/' found and ignored", 37},
|
|
||||||
{"unterminated comment", 38},
|
|
||||||
{"unexpected end of file", 39},
|
|
||||||
{"unescaped newline in constant", 40},
|
|
||||||
{"octal value outside range 0...255: `\\%o'", 41},
|
|
||||||
{"hexadecimal value above 255: `\\x%x'", 42},
|
|
||||||
{"unknown escape sequence: `\\' followed by `%s'", 43},
|
|
||||||
{"unterminated type name at end of file", 44},
|
|
||||||
{"unterminated type name", 45},
|
|
||||||
{"use \"...\" for multi-character literal tokens", 46},
|
|
||||||
{"%s: internal error: %s\n", 47},
|
|
||||||
{"Entering set_nullable", 48},
|
|
||||||
{"maximum table size (%d) exceeded", 49},
|
|
||||||
{" type %d is %s\n", 50},
|
|
||||||
{" (rule %d)", 51},
|
|
||||||
{" $default\taccept\n", 52},
|
|
||||||
{" NO ACTIONS\n", 53},
|
|
||||||
{" $ \tgo to state %d\n", 54},
|
|
||||||
{" %-4s\tshift, and go to state %d\n", 55},
|
|
||||||
{" %-4s\terror (nonassociative)\n", 56},
|
|
||||||
{" %-4s\tgo to state %d\n", 57},
|
|
||||||
{"state %d", 58},
|
|
||||||
{"Grammar", 59},
|
|
||||||
{"rule %-4d %s ->", 60},
|
|
||||||
{"\t\t/* empty */", 61},
|
|
||||||
{"Terminals, with rules where they appear", 62},
|
|
||||||
{"Nonterminals, with rules where they appear", 63},
|
|
||||||
{" on left:", 64},
|
|
||||||
{" on right:", 65},
|
|
||||||
{" Skipping to next \\n", 66},
|
|
||||||
{" Skipping to next %c", 67},
|
|
||||||
{"invalid $ value", 68},
|
|
||||||
{"unterminated string at end of file", 69},
|
|
||||||
{"unterminated string", 70},
|
|
||||||
{"%s is invalid", 71},
|
|
||||||
{"$$ of `%s' has no declared type", 72},
|
|
||||||
{"$%d of `%s' has no declared type", 73},
|
|
||||||
{"unterminated `%{' definition", 74},
|
|
||||||
{"Premature EOF after %s", 75},
|
|
||||||
{"symbol `%s' used more than once as a literal string", 76},
|
|
||||||
{"symbol `%s' given more than one literal string", 77},
|
|
||||||
{"symbol %s redefined", 78},
|
|
||||||
{"type redeclaration for %s", 79},
|
|
||||||
{"`%s' is invalid in %s", 80},
|
|
||||||
{"multiple %s declarations", 81},
|
|
||||||
{"invalid %s declaration", 82},
|
|
||||||
{"%type declaration has no <typename>", 83},
|
|
||||||
{"invalid %%type declaration due to item: %s", 84},
|
|
||||||
{"redefining precedence of %s", 85},
|
|
||||||
{"invalid text (%s) - number should be after identifier", 86},
|
|
||||||
{"unexpected item: %s", 87},
|
|
||||||
{"unmatched %s", 88},
|
|
||||||
{"argument of %%expect is not an integer", 89},
|
|
||||||
{"unrecognized item %s, expected an identifier", 90},
|
|
||||||
{"expected string constant instead of %s", 91},
|
|
||||||
{"unrecognized: %s", 92},
|
|
||||||
{"no input grammar", 93},
|
|
||||||
{"unknown character: %s", 94},
|
|
||||||
{"unterminated %guard clause", 95},
|
|
||||||
{"ill-formed rule: initial symbol not followed by colon", 96},
|
|
||||||
{"grammar starts with vertical bar", 97},
|
|
||||||
{"rule given for %s, which is a token", 98},
|
|
||||||
{"two @prec's in a row", 99},
|
|
||||||
{"%%guard present but %%semantic_parser not specified", 100},
|
|
||||||
{"two actions at end of one rule", 101},
|
|
||||||
{"type clash (`%s' `%s') on default action", 102},
|
|
||||||
{"empty rule for typed nonterminal, and no action", 103},
|
|
||||||
{"invalid input: %s", 104},
|
|
||||||
{"too many symbols (tokens plus nonterminals); maximum %d", 105},
|
|
||||||
{"no rules in the input grammar", 106},
|
|
||||||
{"symbol %s is used, but is not defined as a token and has no rules", 107},
|
|
||||||
{"conflicting precedences for %s and %s", 108},
|
|
||||||
{"conflicting assoc values for %s and %s", 109},
|
|
||||||
{"tokens %s and %s both assigned number %d", 110},
|
|
||||||
{"the start symbol %s is undefined", 111},
|
|
||||||
{"the start symbol %s is a token", 112},
|
|
||||||
{"Useless nonterminals:", 113},
|
|
||||||
{"Terminals which are not used:", 114},
|
|
||||||
{"Useless rules:", 115},
|
|
||||||
{"\
|
|
||||||
Variables\n\
|
|
||||||
---------\n\
|
|
||||||
\n", 116},
|
|
||||||
{"Value Sprec Sassoc Tag\n", 117},
|
|
||||||
{"\
|
|
||||||
Rules\n\
|
|
||||||
-----\n\
|
|
||||||
\n", 118},
|
|
||||||
{"\
|
|
||||||
Rules interpreted\n\
|
|
||||||
-----------------\n\
|
|
||||||
\n", 119},
|
|
||||||
{"%d rules never reduced\n", 120},
|
|
||||||
{"%s contains ", 121},
|
|
||||||
{"%d useless nonterminal%s", 122},
|
|
||||||
{" and ", 123},
|
|
||||||
{"%d useless rule%s", 124},
|
|
||||||
{"Start symbol %s does not derive any sentence", 125},
|
|
||||||
{"\
|
|
||||||
reduced %s defines %d terminal%s, %d nonterminal%s, and %d production%s.\n", 126},
|
|
||||||
{"Unknown system error", 127},
|
|
||||||
{"%s: option `%s' is ambiguous\n", 128},
|
|
||||||
{"%s: option `--%s' doesn't allow an argument\n", 129},
|
|
||||||
{"%s: option `%c%s' doesn't allow an argument\n", 130},
|
|
||||||
{"%s: option `%s' requires an argument\n", 131},
|
|
||||||
{"%s: unrecognized option `--%s'\n", 132},
|
|
||||||
{"%s: unrecognized option `%c%s'\n", 133},
|
|
||||||
{"%s: illegal option -- %c\n", 134},
|
|
||||||
{"%s: invalid option -- %c\n", 135},
|
|
||||||
{"%s: option requires an argument -- %c\n", 136},
|
|
||||||
{"%s: option `-W %s' is ambiguous\n", 137},
|
|
||||||
{"%s: option `-W %s' doesn't allow an argument\n", 138},
|
|
||||||
{"memory exhausted", 139},
|
|
||||||
{"`", 140},
|
|
||||||
{"'", 141},
|
|
||||||
};
|
|
||||||
|
|
||||||
int _msg_tbl_length = 141;
|
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.25\n"
|
"Project-Id-Version: bison 1.25\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
||||||
"PO-Revision-Date: 1996-10-10 17:54 MET DST\n"
|
"PO-Revision-Date: 1996-10-10 17:54 MET DST\n"
|
||||||
"Last-Translator: Ulrich Drepper <[email protected]>\n"
|
"Last-Translator: Ulrich Drepper <[email protected]>\n"
|
||||||
"Language-Team: German <[email protected]>\n"
|
"Language-Team: German <[email protected]>\n"
|
||||||
@@ -129,12 +129,12 @@ msgstr ""
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s leitet ab"
|
msgstr "%s leitet ab"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:133
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:152
|
||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -208,7 +208,7 @@ msgid ""
|
|||||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:214 src/lex.c:650
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -278,7 +278,7 @@ msgstr "unerwarteter Typname"
|
|||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "für Literal mit mehreren Zeichen bitte \"...\" verwenden"
|
msgstr "für Literal mit mehreren Zeichen bitte \"...\" verwenden"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/main.c:125
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "interner Fehler, %s\n"
|
msgstr "interner Fehler, %s\n"
|
||||||
@@ -794,11 +794,11 @@ msgstr "%s: Hauptspeicher ersch
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GNU bison 1.25\n"
|
"Project-Id-Version: GNU bison 1.25\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
||||||
"PO-Revision-Date: 1998-09-21 10:19+0200\n"
|
"PO-Revision-Date: 1998-09-21 10:19+0200\n"
|
||||||
"Last-Translator: Nicolás García-Pedrajas <[email protected]>\n"
|
"Last-Translator: Nicolás García-Pedrajas <[email protected]>\n"
|
||||||
"Language-Team: Spanish <[email protected]>\n"
|
"Language-Team: Spanish <[email protected]>\n"
|
||||||
@@ -192,12 +192,12 @@ msgstr ""
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s deriva"
|
msgstr "%s deriva"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:133
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:152
|
||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -271,7 +271,7 @@ msgid ""
|
|||||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:214 src/lex.c:650
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -346,7 +346,7 @@ msgstr "nombre de tipo sin terminar"
|
|||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "use \"...\" para terminales literales multicarácter"
|
msgstr "use \"...\" para terminales literales multicarácter"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/main.c:125
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "error interno, %s\n"
|
msgstr "error interno, %s\n"
|
||||||
@@ -924,11 +924,11 @@ msgstr "%s: memoria agotada\n"
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.28d\n"
|
"Project-Id-Version: bison 1.28d\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
||||||
"PO-Revision-Date: 2001-08-29 17:06+02:00\n"
|
"PO-Revision-Date: 2001-08-29 17:06+02:00\n"
|
||||||
"Last-Translator: Toomas Soome <[email protected]>\n"
|
"Last-Translator: Toomas Soome <[email protected]>\n"
|
||||||
"Language-Team: Estonian <[email protected]>\n"
|
"Language-Team: Estonian <[email protected]>\n"
|
||||||
@@ -128,12 +128,12 @@ msgstr "DERIVES"
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s derives"
|
msgstr "%s derives"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:133
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr "faili `%s' ei saa avada"
|
msgstr "faili `%s' ei saa avada"
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:152
|
||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr "faili ei õnnestu sulgeda"
|
msgstr "faili ei õnnestu sulgeda"
|
||||||
|
|
||||||
@@ -231,7 +231,7 @@ msgstr ""
|
|||||||
"See on vaba tarkvara; kopeerimistingimused leiate lähtetekstidest. Garantii\n"
|
"See on vaba tarkvara; kopeerimistingimused leiate lähtetekstidest. Garantii\n"
|
||||||
"PUUDUB; ka müügiks või mingil eesmärgil kasutamiseks.\n"
|
"PUUDUB; ka müügiks või mingil eesmärgil kasutamiseks.\n"
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:214 src/lex.c:650
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr "`%s' ei ole enam toetatud"
|
msgstr "`%s' ei ole enam toetatud"
|
||||||
@@ -299,7 +299,7 @@ msgstr "l
|
|||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "kasuta mitmesümboliliste literaalidega \"...\" konstruktsiooni"
|
msgstr "kasuta mitmesümboliliste literaalidega \"...\" konstruktsiooni"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/main.c:125
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "%s: sisemine viga: %s\n"
|
msgstr "%s: sisemine viga: %s\n"
|
||||||
@@ -783,11 +783,11 @@ msgstr "m
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "`"
|
msgstr "`"
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr "'"
|
msgstr "'"
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GNU bison 1.28d\n"
|
"Project-Id-Version: GNU bison 1.28d\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
||||||
"PO-Revision-Date: 2001-08-29 20:00-0500\n"
|
"PO-Revision-Date: 2001-08-29 20:00-0500\n"
|
||||||
"Last-Translator: Michel Robitaille <[email protected]>\n"
|
"Last-Translator: Michel Robitaille <[email protected]>\n"
|
||||||
"Language-Team: French <[email protected]>\n"
|
"Language-Team: French <[email protected]>\n"
|
||||||
@@ -130,12 +130,12 @@ msgstr "D
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s dérive"
|
msgstr "%s dérive"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:133
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr "ne peut ouvrir le fichier `%s'"
|
msgstr "ne peut ouvrir le fichier `%s'"
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:152
|
||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr "ne peut fermer le fichier"
|
msgstr "ne peut fermer le fichier"
|
||||||
|
|
||||||
@@ -237,7 +237,7 @@ msgstr ""
|
|||||||
"reproduction. AUCUNE garantie n'est donnée; tant pour des raisons\n"
|
"reproduction. AUCUNE garantie n'est donnée; tant pour des raisons\n"
|
||||||
"COMMERCIALES que pour RÉPONDRE À UN BESOIN PARTICULIER.\n"
|
"COMMERCIALES que pour RÉPONDRE À UN BESOIN PARTICULIER.\n"
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:214 src/lex.c:650
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr "`%s' n'est plus supporté"
|
msgstr "`%s' n'est plus supporté"
|
||||||
@@ -305,7 +305,7 @@ msgstr "le nom de type ne se termine pas"
|
|||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "utilisez \"...\" pour les terminaux litéraux de plusieurs caractères"
|
msgstr "utilisez \"...\" pour les terminaux litéraux de plusieurs caractères"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/main.c:125
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "%s: erreur interne: %s\n"
|
msgstr "%s: erreur interne: %s\n"
|
||||||
@@ -790,11 +790,11 @@ msgstr "m
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "`"
|
msgstr "`"
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr "'"
|
msgstr "'"
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GNU bison 1.28\n"
|
"Project-Id-Version: GNU bison 1.28\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
||||||
"PO-Revision-Date: 1999-09-28 21:10+0900\n"
|
"PO-Revision-Date: 1999-09-28 21:10+0900\n"
|
||||||
"Last-Translator: Daisuke Yamashita <[email protected]>\n"
|
"Last-Translator: Daisuke Yamashita <[email protected]>\n"
|
||||||
"Language-Team: Japanese <[email protected]>\n"
|
"Language-Team: Japanese <[email protected]>\n"
|
||||||
@@ -135,12 +135,12 @@ msgstr ""
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s は以下から派生"
|
msgstr "%s は以下から派生"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:133
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:152
|
||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -214,7 +214,7 @@ msgid ""
|
|||||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:214 src/lex.c:650
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -283,7 +283,7 @@ msgstr "
|
|||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "複数文字のリテラルトークンには \"...\" を使いましょう"
|
msgstr "複数文字のリテラルトークンには \"...\" を使いましょう"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/main.c:125
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "%s: 内部エラー: %s\n"
|
msgstr "%s: 内部エラー: %s\n"
|
||||||
@@ -796,11 +796,11 @@ msgstr "%s:
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.25\n"
|
"Project-Id-Version: bison 1.25\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
||||||
"PO-Revision-Date: 1996-08-27 15:34 MET DST\n"
|
"PO-Revision-Date: 1996-08-27 15:34 MET DST\n"
|
||||||
"Last-Translator: Erick Branderhorst <[email protected]>\n"
|
"Last-Translator: Erick Branderhorst <[email protected]>\n"
|
||||||
"Language-Team: Dutch <[email protected]>\n"
|
"Language-Team: Dutch <[email protected]>\n"
|
||||||
@@ -135,12 +135,12 @@ msgstr ""
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s afgeleiden"
|
msgstr "%s afgeleiden"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:133
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:152
|
||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -214,7 +214,7 @@ msgid ""
|
|||||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:214 src/lex.c:650
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -283,7 +283,7 @@ msgstr "niet getermineerd type naam"
|
|||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "gebruik \"...\" voor meerdere karakters literal tekens"
|
msgstr "gebruik \"...\" voor meerdere karakters literal tekens"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/main.c:125
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "interne fout, %s\n"
|
msgstr "interne fout, %s\n"
|
||||||
@@ -799,11 +799,11 @@ msgstr "%s: geen geheugen meer beschikbaar\n"
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.29\n"
|
"Project-Id-Version: bison 1.29\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
||||||
"PO-Revision-Date: 2001-09-09 13:49+04:00\n"
|
"PO-Revision-Date: 2001-09-09 13:49+04:00\n"
|
||||||
"Last-Translator: Dmitry S. Sivachenko <[email protected]>\n"
|
"Last-Translator: Dmitry S. Sivachenko <[email protected]>\n"
|
||||||
"Language-Team: Russian <[email protected]>\n"
|
"Language-Team: Russian <[email protected]>\n"
|
||||||
@@ -129,12 +129,12 @@ msgstr "DERIVES"
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s ×Ù×ÏÄÉÔ"
|
msgstr "%s ×Ù×ÏÄÉÔ"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:133
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr "ÎÅ ÕÄÁÅÔÓÑ ÏÔËÒÙÔØ ÆÁÊÌ `%s'"
|
msgstr "ÎÅ ÕÄÁÅÔÓÑ ÏÔËÒÙÔØ ÆÁÊÌ `%s'"
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:152
|
||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr "ÎÅ ÕÄÁÅÔÓÑ ÚÁËÒÙÔØ ÆÁÊÌ"
|
msgstr "ÎÅ ÕÄÁÅÔÓÑ ÚÁËÒÙÔØ ÆÁÊÌ"
|
||||||
|
|
||||||
@@ -236,7 +236,7 @@ msgstr ""
|
|||||||
"ðòéçïäîïóôé\n"
|
"ðòéçïäîïóôé\n"
|
||||||
"äìñ ïðòåäåìåîîïê ãåìé.\n"
|
"äìñ ïðòåäåìåîîïê ãåìé.\n"
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:214 src/lex.c:650
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr "`%s' ÂÏÌØÛÅ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ"
|
msgstr "`%s' ÂÏÌØÛÅ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ"
|
||||||
@@ -304,7 +304,7 @@ msgstr "
|
|||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "ÉÓÐÏÌØÚÕÊÔÅ \"...\" ÄÌÑ ÍÎÏÇÏÓÉÍ×ÏÌØÎÙÈ ÌÉÔÅÒÁÌØÎÙÈ ÌÅËÓÅÍ"
|
msgstr "ÉÓÐÏÌØÚÕÊÔÅ \"...\" ÄÌÑ ÍÎÏÇÏÓÉÍ×ÏÌØÎÙÈ ÌÉÔÅÒÁÌØÎÙÈ ÌÅËÓÅÍ"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/main.c:125
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "%s: ×ÎÕÔÒÅÎÎÑÑ ÏÛÉÂËÁ: %s\n"
|
msgstr "%s: ×ÎÕÔÒÅÎÎÑÑ ÏÛÉÂËÁ: %s\n"
|
||||||
@@ -787,11 +787,11 @@ msgstr "
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "`"
|
msgstr "`"
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr "'"
|
msgstr "'"
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.28c\n"
|
"Project-Id-Version: bison 1.28c\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
||||||
"PO-Revision-Date: 2001-09-10 10:54GMT\n"
|
"PO-Revision-Date: 2001-09-10 10:54GMT\n"
|
||||||
"Last-Translator: Altug Bayram <[email protected]>\n"
|
"Last-Translator: Altug Bayram <[email protected]>\n"
|
||||||
"Language-Team: Turkish <[email protected]>\n"
|
"Language-Team: Turkish <[email protected]>\n"
|
||||||
@@ -131,12 +131,12 @@ msgstr "T
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s türetildi"
|
msgstr "%s türetildi"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:133
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr "`%s' dosyasý açýlamadý"
|
msgstr "`%s' dosyasý açýlamadý"
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:152
|
||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr "dosya kapatýlamýyor"
|
msgstr "dosya kapatýlamýyor"
|
||||||
|
|
||||||
@@ -238,7 +238,7 @@ msgstr ""
|
|||||||
"Hiçbir garantisi yoktur; hatta SATILABÝLÝRLÝÐÝ veya HERHANGÝ BÝR AMACA\n"
|
"Hiçbir garantisi yoktur; hatta SATILABÝLÝRLÝÐÝ veya HERHANGÝ BÝR AMACA\n"
|
||||||
"UYGUNLUÐU için bile garanti verilmez.\n"
|
"UYGUNLUÐU için bile garanti verilmez.\n"
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:214 src/lex.c:650
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr "`%s' artýk desteklenmiyor"
|
msgstr "`%s' artýk desteklenmiyor"
|
||||||
@@ -306,7 +306,7 @@ msgstr "sonland
|
|||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "çok-karakterli yazýn andaçlarý için \"...\" kullan"
|
msgstr "çok-karakterli yazýn andaçlarý için \"...\" kullan"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/main.c:125
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "%s: iç hata: %s\n"
|
msgstr "%s: iç hata: %s\n"
|
||||||
@@ -789,11 +789,11 @@ msgstr "bellek t
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "`"
|
msgstr "`"
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr "'"
|
msgstr "'"
|
||||||
|
|
||||||
|
|||||||
+9
-5
@@ -1,4 +1,4 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -43,6 +43,7 @@ AUTOCONF = @AUTOCONF@
|
|||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -57,7 +58,12 @@ PRE_UNINSTALL = :
|
|||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
|
AUTOM4TE = @AUTOM4TE@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
@@ -66,7 +72,7 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
DATADIRNAME = @DATADIRNAME@
|
DATADIRNAME = @DATADIRNAME@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
EXEEXT = @EXEEXT@
|
GCC = @GCC@
|
||||||
GENCAT = @GENCAT@
|
GENCAT = @GENCAT@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
@@ -79,10 +85,8 @@ INTLOBJS = @INTLOBJS@
|
|||||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||||
LIBICONV = @LIBICONV@
|
LIBICONV = @LIBICONV@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
M4 = @M4@
|
|
||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
OBJEXT = @OBJEXT@
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
POSUB = @POSUB@
|
POSUB = @POSUB@
|
||||||
@@ -356,7 +360,7 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|||||||
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
|
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
|
||||||
|
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $(GTAGS_ARGS) $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
|
|||||||
+6
-2
@@ -72,6 +72,10 @@
|
|||||||
# endif /* alloca not defined */
|
# endif /* alloca not defined */
|
||||||
#endif /* YYSTACK_USE_ALLOCA not defined */
|
#endif /* YYSTACK_USE_ALLOCA not defined */
|
||||||
|
|
||||||
|
#ifndef YYSTACK_USE_ALLOCA
|
||||||
|
# define YYSTACK_USE_ALLOCA 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#if YYSTACK_USE_ALLOCA
|
#if YYSTACK_USE_ALLOCA
|
||||||
# define YYSTACK_ALLOC alloca
|
# define YYSTACK_ALLOC alloca
|
||||||
#else
|
#else
|
||||||
@@ -358,7 +362,7 @@ yyparse (YYPARSE_PARAM_ARG)
|
|||||||
have just been pushed. so pushing a state here evens the stacks.
|
have just been pushed. so pushing a state here evens the stacks.
|
||||||
*/
|
*/
|
||||||
yyssp++;
|
yyssp++;
|
||||||
|
|
||||||
yysetstate:
|
yysetstate:
|
||||||
*yyssp = yystate;
|
*yyssp = yystate;
|
||||||
|
|
||||||
@@ -416,7 +420,7 @@ yyparse (YYPARSE_PARAM_ARG)
|
|||||||
yystacksize *= 2;
|
yystacksize *= 2;
|
||||||
if (yystacksize > YYMAXDEPTH)
|
if (yystacksize > YYMAXDEPTH)
|
||||||
yystacksize = YYMAXDEPTH;
|
yystacksize = YYMAXDEPTH;
|
||||||
# ifndef YYSTACK_USE_ALLOCA
|
# if !YYSTACK_USE_ALLOCA
|
||||||
yyfree_stacks = 1;
|
yyfree_stacks = 1;
|
||||||
# endif
|
# endif
|
||||||
yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
|
yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
|
||||||
|
|||||||
+41
-19
@@ -94,8 +94,7 @@ stringappend (const char *string1, const char *string2)
|
|||||||
static char *
|
static char *
|
||||||
compute_header_macro (void)
|
compute_header_macro (void)
|
||||||
{
|
{
|
||||||
int ite;
|
char *macro_name, *cp;
|
||||||
char *macro_name;
|
|
||||||
|
|
||||||
if (spec_defines_file)
|
if (spec_defines_file)
|
||||||
macro_name = xstrdup (spec_defines_file);
|
macro_name = xstrdup (spec_defines_file);
|
||||||
@@ -109,14 +108,12 @@ compute_header_macro (void)
|
|||||||
strcat (macro_name, header_extension);
|
strcat (macro_name, header_extension);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (ite = 0; macro_name[ite]; ite++)
|
for (cp = macro_name; *cp; ++cp)
|
||||||
if (macro_name[ite] == '.')
|
if (islower (*cp))
|
||||||
macro_name[ite] = '_';
|
*cp = toupper (*cp);
|
||||||
else
|
else if (!isalnum (*cp))
|
||||||
{
|
*cp = '_';
|
||||||
if (islower (macro_name[ite]))
|
|
||||||
macro_name[ite] -= ('a' - 'A');
|
|
||||||
}
|
|
||||||
return macro_name;
|
return macro_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -200,17 +197,42 @@ skeleton_find (const char *envvar, const char *skeleton_name)
|
|||||||
{
|
{
|
||||||
const char *res = getenv (envvar);
|
const char *res = getenv (envvar);
|
||||||
|
|
||||||
#ifdef MSDOS
|
#if defined (MSDOS) || defined (_WIN32)
|
||||||
const char *cp;
|
if (!res)
|
||||||
|
|
||||||
/* File doesn't exist in current directory; try in INIT directory. */
|
|
||||||
if (!res && (cp = getenv ("INIT")))
|
|
||||||
{
|
{
|
||||||
res = XMALLOC (char, strlen (cp) + strlen (skeleton_name) + 2);
|
/* Skeleton file name without path */
|
||||||
sprintf (res, "%s%c%s", cp, '/', skeleton_name);
|
const char *skel_name = strrchr(skeleton_name, '/');
|
||||||
}
|
if (!skel_name)
|
||||||
#endif /* !MSDOS */
|
skel_name = strrchr(skeleton_name, '\\');
|
||||||
|
if (!skel_name)
|
||||||
|
skel_name = skeleton_name;
|
||||||
|
else
|
||||||
|
++skel_name;
|
||||||
|
|
||||||
|
/* File doesn't exist in current directory; try in INIT directory. */
|
||||||
|
const char *cp = getenv ("INIT");
|
||||||
|
if (cp)
|
||||||
|
{
|
||||||
|
res = XMALLOC (char, strlen (cp) + strlen (skel_name) + 2);
|
||||||
|
sprintf (res, "%s%c%s", cp, '\\', skel_name);
|
||||||
|
}
|
||||||
|
else if (access (skel_name, 4) == 0) /* Look in current dir. */
|
||||||
|
res = skel_name;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* Look in program locations dir. */
|
||||||
|
extern char *program_name;
|
||||||
|
cp = strrchr(program_name, '\\');
|
||||||
|
if (!cp)
|
||||||
|
return skeleton_name;
|
||||||
|
else
|
||||||
|
++cp;
|
||||||
|
res = XMALLOC (char, cp - program_name + strlen (skel_name) + 1);
|
||||||
|
strncpy (res, program_name, cp - program_name);
|
||||||
|
strcpy (res + (cp - program_name), skel_name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif /* defined (MSDOS) || defined (_WIN32) */
|
||||||
if (!res)
|
if (!res)
|
||||||
res = skeleton_name;
|
res = skeleton_name;
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -50,7 +50,7 @@ static struct option longopts[] =
|
|||||||
|
|
||||||
/* Parser. */
|
/* Parser. */
|
||||||
{"skeleton", required_argument, 0, 'S'},
|
{"skeleton", required_argument, 0, 'S'},
|
||||||
{"debug", no_argument, 0, 'd'},
|
{"debug", no_argument, 0, 't'},
|
||||||
{"locations", no_argument, &locations_flag, 1},
|
{"locations", no_argument, &locations_flag, 1},
|
||||||
/* was 'a'; apparently unused -wjh */
|
/* was 'a'; apparently unused -wjh */
|
||||||
{"name-prefix", required_argument, 0, 'p'},
|
{"name-prefix", required_argument, 0, 'p'},
|
||||||
@@ -183,7 +183,7 @@ getargs (int argc, char *argv[])
|
|||||||
exit (0);
|
exit (0);
|
||||||
|
|
||||||
case 'g':
|
case 'g':
|
||||||
/* Here, the -g and --graph=FILE options are differentiated. */
|
/* Here, the -g and --graph=FILE options are differentiated. */
|
||||||
graph_flag = 1;
|
graph_flag = 1;
|
||||||
spec_graph_file = optarg;
|
spec_graph_file = optarg;
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -321,7 +321,7 @@ literalchar (struct obstack *out, int *pcode, char term)
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
unlex (int token)
|
unlex (token_t token)
|
||||||
{
|
{
|
||||||
unlexed = token;
|
unlexed = token;
|
||||||
unlexed_symval = symval;
|
unlexed_symval = symval;
|
||||||
@@ -469,32 +469,40 @@ lex (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
case ',':
|
case ',':
|
||||||
|
token_buffer = ",";
|
||||||
return tok_comma;
|
return tok_comma;
|
||||||
|
|
||||||
case ':':
|
case ':':
|
||||||
|
token_buffer = ":";
|
||||||
return tok_colon;
|
return tok_colon;
|
||||||
|
|
||||||
case ';':
|
case ';':
|
||||||
|
token_buffer = ";";
|
||||||
return tok_semicolon;
|
return tok_semicolon;
|
||||||
|
|
||||||
case '|':
|
case '|':
|
||||||
|
token_buffer = "|";
|
||||||
return tok_bar;
|
return tok_bar;
|
||||||
|
|
||||||
case '{':
|
case '{':
|
||||||
|
token_buffer = "{";
|
||||||
return tok_left_curly;
|
return tok_left_curly;
|
||||||
|
|
||||||
case '=':
|
case '=':
|
||||||
|
obstack_1grow (&token_obstack, c);
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
c = getc (finput);
|
c = getc (finput);
|
||||||
|
obstack_1grow (&token_obstack, c);
|
||||||
if (c == '\n')
|
if (c == '\n')
|
||||||
lineno++;
|
lineno++;
|
||||||
}
|
}
|
||||||
while (c == ' ' || c == '\n' || c == '\t');
|
while (c == ' ' || c == '\n' || c == '\t');
|
||||||
|
obstack_1grow (&token_obstack, '\0');
|
||||||
|
token_buffer = obstack_finish (&token_obstack);
|
||||||
|
|
||||||
if (c == '{')
|
if (c == '{')
|
||||||
{
|
{
|
||||||
token_buffer = "={";
|
|
||||||
return tok_left_curly;
|
return tok_left_curly;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -511,6 +519,9 @@ lex (void)
|
|||||||
return parse_percent_token ();
|
return parse_percent_token ();
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
obstack_1grow (&token_obstack, c);
|
||||||
|
obstack_1grow (&token_obstack, '\0');
|
||||||
|
token_buffer = obstack_finish (&token_obstack);
|
||||||
return tok_illegal;
|
return tok_illegal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ extern int numval;
|
|||||||
void lex_init PARAMS ((void));
|
void lex_init PARAMS ((void));
|
||||||
void lex_free PARAMS ((void));
|
void lex_free PARAMS ((void));
|
||||||
int skip_white_space PARAMS ((void));
|
int skip_white_space PARAMS ((void));
|
||||||
void unlex PARAMS ((int));
|
void unlex PARAMS ((token_t));
|
||||||
void read_type_name PARAMS ((FILE *fin));
|
void read_type_name PARAMS ((FILE *fin));
|
||||||
|
|
||||||
/* Return one of the token-type codes. When an identifier is seen,
|
/* Return one of the token-type codes. When an identifier is seen,
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
#include "conflicts.h"
|
#include "conflicts.h"
|
||||||
#include "print_graph.h"
|
#include "print_graph.h"
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
|
#include "lex.h"
|
||||||
|
|
||||||
/* The name this program was run with, for messages. */
|
/* The name this program was run with, for messages. */
|
||||||
char *program_name;
|
char *program_name;
|
||||||
|
|||||||
@@ -1160,6 +1160,7 @@ output_parser (void)
|
|||||||
else
|
else
|
||||||
skeleton = skeleton_find ("BISON_SIMPLE", BISON_SIMPLE);
|
skeleton = skeleton_find ("BISON_SIMPLE", BISON_SIMPLE);
|
||||||
}
|
}
|
||||||
|
assert (skeleton);
|
||||||
fskel = xfopen (skeleton, "r");
|
fskel = xfopen (skeleton, "r");
|
||||||
|
|
||||||
/* Set LINE to 2, not 1: `#line LINENUM' -- Here LINENUM is a
|
/* Set LINE to 2, not 1: `#line LINENUM' -- Here LINENUM is a
|
||||||
|
|||||||
@@ -16,3 +16,4 @@ calc.tab.*
|
|||||||
calc
|
calc
|
||||||
*.output *.vcg
|
*.output *.vcg
|
||||||
autom4te.cache
|
autom4te.cache
|
||||||
|
bison
|
||||||
|
|||||||
+2
-3
@@ -18,9 +18,9 @@
|
|||||||
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
## 02111-1307, USA.
|
## 02111-1307, USA.
|
||||||
|
|
||||||
EXTRA_DIST = atlocal.in bison $(TESTSUITE_AT) testsuite
|
EXTRA_DIST = atlocal.in $(TESTSUITE_AT) testsuite
|
||||||
|
|
||||||
DISTCLEANFILES = atconfig atlocal package.m4
|
DISTCLEANFILES = atconfig atlocal bison package.m4
|
||||||
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
|
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
|
||||||
|
|
||||||
TESTSUITE_AT = \
|
TESTSUITE_AT = \
|
||||||
@@ -28,7 +28,6 @@ TESTSUITE_AT = \
|
|||||||
output.at calc.at regression.at
|
output.at calc.at regression.at
|
||||||
TESTSUITE = $(srcdir)/testsuite
|
TESTSUITE = $(srcdir)/testsuite
|
||||||
|
|
||||||
AUTOM4TE = autom4te
|
|
||||||
AUTOTEST = $(AUTOM4TE) --language=autotest
|
AUTOTEST = $(AUTOM4TE) --language=autotest
|
||||||
$(srcdir)/$(TESTSUITE): $(TESTSUITE_AT)
|
$(srcdir)/$(TESTSUITE): $(TESTSUITE_AT)
|
||||||
$(AUTOTEST) -I $(srcdir) testsuite.at -o $@.tmp
|
$(AUTOTEST) -I $(srcdir) testsuite.at -o $@.tmp
|
||||||
|
|||||||
+14
-9
@@ -1,4 +1,4 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -43,6 +43,7 @@ AUTOCONF = @AUTOCONF@
|
|||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -57,7 +58,12 @@ PRE_UNINSTALL = :
|
|||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
|
AUTOM4TE = @AUTOM4TE@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
@@ -66,7 +72,7 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
DATADIRNAME = @DATADIRNAME@
|
DATADIRNAME = @DATADIRNAME@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
EXEEXT = @EXEEXT@
|
GCC = @GCC@
|
||||||
GENCAT = @GENCAT@
|
GENCAT = @GENCAT@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
@@ -79,10 +85,8 @@ INTLOBJS = @INTLOBJS@
|
|||||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||||
LIBICONV = @LIBICONV@
|
LIBICONV = @LIBICONV@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
M4 = @M4@
|
|
||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
OBJEXT = @OBJEXT@
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
POSUB = @POSUB@
|
POSUB = @POSUB@
|
||||||
@@ -96,9 +100,9 @@ am__include = @am__include@
|
|||||||
am__quote = @am__quote@
|
am__quote = @am__quote@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
EXTRA_DIST = atlocal.in bison $(TESTSUITE_AT) testsuite
|
EXTRA_DIST = atlocal.in $(TESTSUITE_AT) testsuite
|
||||||
|
|
||||||
DISTCLEANFILES = atconfig atlocal package.m4
|
DISTCLEANFILES = atconfig atlocal bison package.m4
|
||||||
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
|
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
|
||||||
|
|
||||||
TESTSUITE_AT = \
|
TESTSUITE_AT = \
|
||||||
@@ -107,14 +111,13 @@ TESTSUITE_AT = \
|
|||||||
|
|
||||||
TESTSUITE = $(srcdir)/testsuite
|
TESTSUITE = $(srcdir)/testsuite
|
||||||
|
|
||||||
AUTOM4TE = autom4te
|
|
||||||
AUTOTEST = $(AUTOM4TE) --language=autotest
|
AUTOTEST = $(AUTOM4TE) --language=autotest
|
||||||
subdir = tests
|
subdir = tests
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
||||||
CONFIG_HEADER = $(top_builddir)/config.h
|
CONFIG_HEADER = $(top_builddir)/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES = bison
|
||||||
DIST_SOURCES =
|
DIST_SOURCES =
|
||||||
DIST_COMMON = Makefile.am Makefile.in
|
DIST_COMMON = Makefile.am Makefile.in bison.in
|
||||||
all: all-am
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
@@ -125,6 +128,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && \
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
bison: $(top_builddir)/config.status bison.in
|
||||||
|
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
|
||||||
uninstall-info-am:
|
uninstall-info-am:
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
TAGS:
|
TAGS:
|
||||||
|
|||||||
@@ -6,5 +6,8 @@
|
|||||||
CC='@CC@'
|
CC='@CC@'
|
||||||
CFLAGS='@CFLAGS@'
|
CFLAGS='@CFLAGS@'
|
||||||
|
|
||||||
|
# We need to know if the compiler is GCC.
|
||||||
|
GCC='@GCC@'
|
||||||
|
|
||||||
# We need `config.h'.
|
# We need `config.h'.
|
||||||
CPPFLAGS="-I $top_builddir @CPPFLAGS@"
|
CPPFLAGS="-I $top_builddir @CPPFLAGS@"
|
||||||
|
|||||||
Executable → Regular
+4
-4
@@ -1,11 +1,11 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
# @configure_generated@
|
||||||
# Wrapper around a non installed bison to make it work as an installed one.
|
# Wrapper around a non installed bison to make it work as an installed one.
|
||||||
. ./atconfig
|
|
||||||
|
|
||||||
# We want to use the files shipped with Bison.
|
# We want to use the files shipped with Bison.
|
||||||
BISON_SIMPLE=$top_srcdir/src/bison.simple
|
BISON_SIMPLE='@top_srcpath@/src/bison.simple'
|
||||||
export BISON_SIMPLE
|
export BISON_SIMPLE
|
||||||
BISON_HAIRY=$top_srcdir/src/bison.hairy
|
BISON_HAIRY='@top_srcpath@/src/bison.hairy'
|
||||||
export BISON_HAIRY
|
export BISON_HAIRY
|
||||||
|
|
||||||
exec $top_builddir/src/bison ${1+"$@"}
|
exec '@top_buildpath@/src/bison' ${1+"$@"}
|
||||||
+48
-19
@@ -256,23 +256,30 @@ main (int argc, const char **argv)
|
|||||||
# Produce `calc.y'.
|
# Produce `calc.y'.
|
||||||
m4_define([AT_DATA_CALC_Y],
|
m4_define([AT_DATA_CALC_Y],
|
||||||
[_AT_DATA_CALC_Y($[1], $[2], $[3],
|
[_AT_DATA_CALC_Y($[1], $[2], $[3],
|
||||||
[m4_match([$1], [--yyerror-verbose],
|
[m4_bmatch([$1], [--yyerror-verbose],
|
||||||
[[#define YYERROR_VERBOSE]])])])
|
[[#define YYERROR_VERBOSE]])])])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# _AT_CHECK_CALC(BISON-OPTIONS, INPUT)
|
# _AT_CHECK_CALC(BISON-OPTIONS, INPUT, [NUM-STDERR-LINES = 0])
|
||||||
# ------------------------------------
|
# ------------------------------------------------------------
|
||||||
# Run `calc' on INPUT and expect no STDOUT nor STDERR.
|
# Run `calc' on INPUT and expect no STDOUT nor STDERR.
|
||||||
|
#
|
||||||
|
# If BISON-OPTIONS contains `--debug', then NUM-STDERR-LINES is the number
|
||||||
|
# of expected lines on stderr.
|
||||||
m4_define([_AT_CHECK_CALC],
|
m4_define([_AT_CHECK_CALC],
|
||||||
[AT_DATA([[input]],
|
[AT_DATA([[input]],
|
||||||
[[$2
|
[[$2
|
||||||
]])
|
]])
|
||||||
AT_CHECK([calc input])dnl
|
AT_CHECK([calc input], 0, [], [stderr])dnl
|
||||||
|
AT_CHECK([wc -l <stderr | sed 's/[[^0-9]]//g'], 0,
|
||||||
|
[m4_bmatch([$1], [--debug],
|
||||||
|
[$3], [0])
|
||||||
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
# _AT_CHECK_CALC_ERROR(BISON-OPTIONS, INPUT,
|
# _AT_CHECK_CALC_ERROR(BISON-OPTIONS, INPUT, [NUM-DEBUG-LINES],
|
||||||
# [ERROR-LOCATION], [IF-YYERROR-VERBOSE])
|
# [ERROR-LOCATION], [IF-YYERROR-VERBOSE])
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
# Run `calc' on INPUT, and expect a `parse error' message.
|
# Run `calc' on INPUT, and expect a `parse error' message.
|
||||||
@@ -283,18 +290,33 @@ AT_CHECK([calc input])dnl
|
|||||||
# If BISON-OPTIONS contains `--yyerror-verbose', then make sure the
|
# If BISON-OPTIONS contains `--yyerror-verbose', then make sure the
|
||||||
# IF-YYERROR-VERBOSE message is properly output after `parse error, '
|
# IF-YYERROR-VERBOSE message is properly output after `parse error, '
|
||||||
# on STDERR.
|
# on STDERR.
|
||||||
|
#
|
||||||
|
# If BISON-OPTIONS contains `--debug', then NUM-STDERR-LINES is the number
|
||||||
|
# of expected lines on stderr.
|
||||||
m4_define([_AT_CHECK_CALC_ERROR],
|
m4_define([_AT_CHECK_CALC_ERROR],
|
||||||
[AT_DATA([[input]],
|
[AT_DATA([[input]],
|
||||||
[[$2
|
[[$2
|
||||||
]])
|
]])
|
||||||
|
|
||||||
AT_CHECK([calc input], 0,
|
AT_CHECK([calc input], 0, [], [stderr])
|
||||||
[],
|
|
||||||
[m4_match([$1], [--location], [$3: ])[]dnl
|
|
||||||
parse error[]dnl
|
|
||||||
m4_match([$1], [--yyerror-verbose], [, $4])[]dnl
|
|
||||||
|
|
||||||
])])
|
|
||||||
|
AT_CHECK([wc -l <stderr | sed 's/[[^0-9]]//g'], 0,
|
||||||
|
[m4_bmatch([$1], [--debug],
|
||||||
|
[$3], [1])
|
||||||
|
])
|
||||||
|
|
||||||
|
egrep -v '^((Start|Enter|Read|Reduc|Shift)ing|state|Error:) ' stderr >at-stderr
|
||||||
|
mv at-stderr stderr
|
||||||
|
|
||||||
|
AT_CHECK([cat stderr], 0,
|
||||||
|
[m4_bmatch([$1], [--location], [$4: ])[]dnl
|
||||||
|
parse error[]dnl
|
||||||
|
m4_bmatch([$1], [--yyerror-verbose], [, $5])[]dnl
|
||||||
|
|
||||||
|
])
|
||||||
|
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
# AT_CHECK_CALC([BISON-OPTIONS], [PARSER-EXPECTED-STDERR])
|
# AT_CHECK_CALC([BISON-OPTIONS], [PARSER-EXPECTED-STDERR])
|
||||||
@@ -308,9 +330,15 @@ AT_SETUP([Calculator $1])
|
|||||||
AT_DATA_CALC_Y([$1])
|
AT_DATA_CALC_Y([$1])
|
||||||
|
|
||||||
# Specify the output files to avoid problems on different file systems.
|
# Specify the output files to avoid problems on different file systems.
|
||||||
AT_CHECK([bison calc.y -o calc.c m4_patsubst([$1], [--yyerror-verbose])],
|
AT_CHECK([bison calc.y -o calc.c m4_bpatsubst([$1], [--yyerror-verbose])],
|
||||||
[0], [], [])
|
[0], [], [])
|
||||||
AT_CHECK([$CC $CFLAGS $CPPFLAGS calc.c -o calc], 0, [], [])
|
|
||||||
|
# Some compilers issue warnings we don't want to hear about.
|
||||||
|
# Maybe some day we will have proper Autoconf macros to disable these
|
||||||
|
# warnings, but this place is not the right one for that.
|
||||||
|
# So let's keep only GCC warnings, which we know are sane.
|
||||||
|
AT_CHECK([$CC $CFLAGS $CPPFLAGS calc.c -o calc], 0, [], [stderr])
|
||||||
|
AT_CHECK([test "$GCC" = yes && cat stderr])
|
||||||
|
|
||||||
# Test the priorities.
|
# Test the priorities.
|
||||||
_AT_CHECK_CALC([$1],
|
_AT_CHECK_CALC([$1],
|
||||||
@@ -326,24 +354,25 @@ _AT_CHECK_CALC([$1],
|
|||||||
1 - (2 - 3) = 2
|
1 - (2 - 3) = 2
|
||||||
|
|
||||||
2^2^3 = 256
|
2^2^3 = 256
|
||||||
(2^2)^3 = 64], [$2])
|
(2^2)^3 = 64], [491])
|
||||||
|
|
||||||
# Some parse errors.
|
# Some parse errors.
|
||||||
_AT_CHECK_CALC_ERROR([$1], [+1],
|
_AT_CHECK_CALC_ERROR([$1], [+1], [8],
|
||||||
[1.0:1.1],
|
[1.0:1.1],
|
||||||
[unexpected `'+''])
|
[unexpected `'+''])
|
||||||
_AT_CHECK_CALC_ERROR([$1], [1//2],
|
_AT_CHECK_CALC_ERROR([$1], [1//2], [17],
|
||||||
[1.2:1.3],
|
[1.2:1.3],
|
||||||
[unexpected `'/'', expecting `NUM' or `'-'' or `'(''])
|
[unexpected `'/'', expecting `NUM' or `'-'' or `'(''])
|
||||||
_AT_CHECK_CALC_ERROR([$1], [error],
|
_AT_CHECK_CALC_ERROR([$1], [error], [8],
|
||||||
[1.0:1.1],
|
[1.0:1.1],
|
||||||
[unexpected `$undefined.'])
|
[unexpected `$undefined.'])
|
||||||
_AT_CHECK_CALC_ERROR([$1], [1 = 2 = 3],
|
_AT_CHECK_CALC_ERROR([$1], [1 = 2 = 3], [23],
|
||||||
[1.6:1.7],
|
[1.6:1.7],
|
||||||
[unexpected `'=''])
|
[unexpected `'=''])
|
||||||
_AT_CHECK_CALC_ERROR([$1],
|
_AT_CHECK_CALC_ERROR([$1],
|
||||||
[
|
[
|
||||||
+1],
|
+1],
|
||||||
|
[16],
|
||||||
[2.0:2.1],
|
[2.0:2.1],
|
||||||
[unexpected `'+''])
|
[unexpected `'+''])
|
||||||
|
|
||||||
|
|||||||
+43
-1
@@ -74,7 +74,7 @@ AT_CLEANUP([union.*])
|
|||||||
AT_SETUP([%union and C comments])
|
AT_SETUP([%union and C comments])
|
||||||
|
|
||||||
AT_DATA([union-comment.y],
|
AT_DATA([union-comment.y],
|
||||||
[%union
|
[%union
|
||||||
{
|
{
|
||||||
/* The int. */ int integer;
|
/* The int. */ int integer;
|
||||||
/* The string. */ char *string ;
|
/* The string. */ char *string ;
|
||||||
@@ -87,3 +87,45 @@ AT_CHECK([bison union-comment.y])
|
|||||||
AT_CHECK([fgrep '//*' union-comment.tab.c], [1], [])
|
AT_CHECK([fgrep '//*' union-comment.tab.c], [1], [])
|
||||||
|
|
||||||
AT_CLEANUP([union-comment.*])
|
AT_CLEANUP([union-comment.*])
|
||||||
|
|
||||||
|
|
||||||
|
## --------------- ##
|
||||||
|
## invalid input. ##
|
||||||
|
## --------------- ##
|
||||||
|
|
||||||
|
|
||||||
|
AT_SETUP([Invalid input])
|
||||||
|
|
||||||
|
AT_DATA([input.y],
|
||||||
|
[[%%
|
||||||
|
?
|
||||||
|
]])
|
||||||
|
|
||||||
|
AT_CHECK([bison input.y], [1], [],
|
||||||
|
[input.y:2: invalid input: `?'
|
||||||
|
input.y:3: fatal error: no rules in the input grammar
|
||||||
|
])
|
||||||
|
|
||||||
|
AT_CLEANUP
|
||||||
|
|
||||||
|
|
||||||
|
## --------------------- ##
|
||||||
|
## Invalid CPP headers. ##
|
||||||
|
## --------------------- ##
|
||||||
|
|
||||||
|
AT_SETUP([Invalid CPP headers])
|
||||||
|
|
||||||
|
mkdir input
|
||||||
|
|
||||||
|
AT_DATA([input/input.y],
|
||||||
|
[%%
|
||||||
|
dummy:
|
||||||
|
])
|
||||||
|
|
||||||
|
AT_CHECK([bison --defines input/input.y])
|
||||||
|
|
||||||
|
AT_CHECK([sed 1q input/input.tab.h], 0,
|
||||||
|
[[#ifndef INPUT_INPUT_TAB_H
|
||||||
|
]])
|
||||||
|
|
||||||
|
AT_CLEANUP(input)
|
||||||
|
|||||||
+2
-2
@@ -19,11 +19,11 @@
|
|||||||
# 02111-1307, USA.
|
# 02111-1307, USA.
|
||||||
|
|
||||||
# We need a recent Autotest.
|
# We need a recent Autotest.
|
||||||
m4_version_prereq([2.52d])
|
m4_version_prereq([2.52e])
|
||||||
|
|
||||||
AT_INIT
|
AT_INIT
|
||||||
|
|
||||||
AT_VICTIMS([bison])
|
AT_TESTED([bison])
|
||||||
|
|
||||||
m4_include([output.at])
|
m4_include([output.at])
|
||||||
m4_include([calc.at])
|
m4_include([calc.at])
|
||||||
|
|||||||
Reference in New Issue
Block a user