mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-08-11 11:45:13 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ddf896eb8e | ||
|
|
9aadbdf371 | ||
|
|
f1b769ff28 | ||
|
|
94ff2b9475 | ||
|
|
470d206b2e | ||
|
|
08f0a4e409 | ||
|
|
00fda01856 | ||
|
|
bf31619762 | ||
|
|
31a743b2bb | ||
|
|
48b43d9d83 | ||
|
|
4b9e71f993 | ||
|
|
16cd214585 | ||
|
|
f2c7ab2c1f | ||
|
|
2c377512c2 | ||
|
|
74c3b26d85 |
@@ -1,3 +1,48 @@
|
|||||||
|
2001-10-18 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Version 1.29f.
|
||||||
|
* tests/calc.at (_AT_CHECK_CALC_ERROR): Don't use `foo && bar', to
|
||||||
|
avoid spurious failures.
|
||||||
|
|
||||||
|
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]>
|
2001-10-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
Version 1.29c.
|
Version 1.29c.
|
||||||
|
|||||||
@@ -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.
|
|
||||||
|
|||||||
+25
-18
@@ -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@
|
||||||
@@ -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/mbrtowc.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
|
||||||
|
|
||||||
@@ -326,7 +330,7 @@ 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)
|
||||||
|
|
||||||
@@ -334,6 +338,11 @@ dist-bzip2: distdir
|
|||||||
$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
|
$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||||
-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 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.
|
||||||
@@ -344,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 \
|
||||||
@@ -355,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'
|
||||||
@@ -400,10 +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
|
|
||||||
$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
|
|
||||||
-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
|
||||||
@@ -440,7 +447,7 @@ 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 dist-bzip2 \
|
clean-generic clean-recursive dist dist-all dist-bzip2 \
|
||||||
distcheck distclean distclean-generic distclean-hdr \
|
dist-gzip distcheck distclean distclean-generic distclean-hdr \
|
||||||
distclean-recursive distclean-tags distdir dvi dvi-am \
|
distclean-recursive distclean-tags distdir dvi dvi-am \
|
||||||
dvi-recursive info info-am info-recursive install install-am \
|
dvi-recursive info info-am info-recursive install install-am \
|
||||||
install-data install-data-am install-data-recursive \
|
install-data install-data-am install-data-recursive \
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Bison News
|
Bison News
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Changes in version 1.29c:
|
Changes in version 1.29f:
|
||||||
|
|
||||||
* `--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.29c:
|
|||||||
|
|
||||||
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,6 +1,7 @@
|
|||||||
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:
|
||||||
|
|
||||||
|
Airy Andre [email protected]
|
||||||
Akim Demaille [email protected]
|
Akim Demaille [email protected]
|
||||||
Albert Chin-A-Young [email protected]
|
Albert Chin-A-Young [email protected]
|
||||||
Alexander Belopolsky [email protected]
|
Alexander Belopolsky [email protected]
|
||||||
|
|||||||
Vendored
+272
-117
@@ -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],
|
||||||
|
|||||||
+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.29b
|
1.29e
|
||||||
|
|||||||
@@ -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.29c.
|
# Generated by GNU Autoconf 2.52e for GNU Bison 1.29f.
|
||||||
#
|
#
|
||||||
# Report bugs to <[email protected]>.
|
# Report bugs to <[email protected]>.
|
||||||
#
|
#
|
||||||
@@ -24,25 +24,34 @@ 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. Be sure to have a test
|
else
|
||||||
# that does detect non LINENO support...
|
PATH_SEPARATOR=:
|
||||||
as_lineno_1=$LINENO
|
fi
|
||||||
as_lineno_2=$LINENO
|
rm -f conftest.sh
|
||||||
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
fi
|
||||||
if test "x$as_lineno_1" = "x$as_lineno_2" ||
|
|
||||||
test "x$as_lineno_3" != "x$as_lineno_2";
|
as_command='
|
||||||
then
|
as_lineno_1=$LINENO
|
||||||
# Find who we are.
|
as_lineno_2=$LINENO
|
||||||
|
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
|
case $0 in
|
||||||
*[\\/]* | ?:[\\/]* ) as_myself=$0 ;;
|
*[\\/]* ) as_myself=$0 ;;
|
||||||
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
for as_dir in $PATH
|
for as_dir in $PATH
|
||||||
do
|
do
|
||||||
@@ -53,29 +62,55 @@ done
|
|||||||
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if test ! -f $as_myself; then
|
# 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
|
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
fi
|
fi
|
||||||
if test ! -f $as_me.lineno ||
|
case $CONFIG_SHELL in
|
||||||
test x`ls -1dt $as_me.lineno $as_myself 2>/dev/null | sed 1q` \
|
'')
|
||||||
!= x$as_me.lineno; then
|
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_myself >$as_me.lineno
|
>$as_me.lineno
|
||||||
chmod +x $as_me.lineno
|
chmod +x $as_me.lineno
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Don't try to exec as it changes $[0], causing all sort of problems
|
# 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
|
# (the dirname of $[0] is not the place where we might find the
|
||||||
# original and so on. Autoconf is especially sensible to this).
|
# original and so on. Autoconf is especially sensible to this).
|
||||||
source ./$as_me.lineno
|
. ./$as_me.lineno
|
||||||
exit 0
|
# Exit status is that of the last command.
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Avoid depending upon Character Ranges.
|
# Avoid depending upon Character Ranges.
|
||||||
@@ -116,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.
|
||||||
@@ -263,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.29c'
|
PACKAGE_VERSION='1.29f'
|
||||||
PACKAGE_STRING='GNU Bison 1.29c'
|
PACKAGE_STRING='GNU Bison 1.29f'
|
||||||
PACKAGE_BUGREPORT='[email protected]'
|
PACKAGE_BUGREPORT='[email protected]'
|
||||||
|
|
||||||
ac_prev=
|
ac_prev=
|
||||||
@@ -681,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.29c to adapt to many kinds of systems.
|
\`configure' configures GNU Bison 1.29f to adapt to many kinds of systems.
|
||||||
|
|
||||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||||
|
|
||||||
@@ -747,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.29c:";;
|
short | recursive ) echo "Configuration of GNU Bison 1.29f:";;
|
||||||
esac
|
esac
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
|
|
||||||
@@ -842,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.29c
|
GNU Bison configure 1.29f
|
||||||
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
|
||||||
@@ -857,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.29c, which was
|
It was created by GNU Bison $as_me 1.29f, which was
|
||||||
generated by GNU Autoconf 2.52e. Invocation command line was
|
generated by GNU Autoconf 2.52e. Invocation command line was
|
||||||
|
|
||||||
$ $0 $@
|
$ $0 $@
|
||||||
@@ -1238,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
|
||||||
@@ -1349,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;}
|
||||||
@@ -1358,7 +1380,7 @@ fi
|
|||||||
|
|
||||||
# Define the identity of the package.
|
# Define the identity of the package.
|
||||||
PACKAGE=bison
|
PACKAGE=bison
|
||||||
VERSION=1.29c
|
VERSION=1.29f
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
#define PACKAGE "$PACKAGE"
|
#define PACKAGE "$PACKAGE"
|
||||||
@@ -1368,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"}
|
||||||
@@ -1400,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"
|
||||||
@@ -1414,6 +1425,8 @@ fi
|
|||||||
|
|
||||||
ac_config_files="$ac_config_files tests/bison"
|
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'
|
||||||
@@ -1783,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
|
||||||
@@ -3025,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
|
||||||
@@ -8620,25 +8569,34 @@ 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. Be sure to have a test
|
else
|
||||||
# that does detect non LINENO support...
|
PATH_SEPARATOR=:
|
||||||
as_lineno_1=$LINENO
|
fi
|
||||||
as_lineno_2=$LINENO
|
rm -f conftest.sh
|
||||||
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
fi
|
||||||
if test "x$as_lineno_1" = "x$as_lineno_2" ||
|
|
||||||
test "x$as_lineno_3" != "x$as_lineno_2";
|
as_command='
|
||||||
then
|
as_lineno_1=$LINENO
|
||||||
# Find who we are.
|
as_lineno_2=$LINENO
|
||||||
|
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
|
case $0 in
|
||||||
*[\\/]* | ?:[\\/]* ) as_myself=$0 ;;
|
*[\\/]* ) as_myself=$0 ;;
|
||||||
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
for as_dir in $PATH
|
for as_dir in $PATH
|
||||||
do
|
do
|
||||||
@@ -8649,30 +8607,56 @@ done
|
|||||||
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if test ! -f $as_myself; then
|
# 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:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
||||||
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
fi
|
fi
|
||||||
if test ! -f $as_me.lineno ||
|
case $CONFIG_SHELL in
|
||||||
test x`ls -1dt $as_me.lineno $as_myself 2>/dev/null | sed 1q` \
|
'')
|
||||||
!= x$as_me.lineno; then
|
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_myself >$as_me.lineno
|
>$as_me.lineno
|
||||||
chmod +x $as_me.lineno
|
chmod +x $as_me.lineno
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Don't try to exec as it changes $[0], causing all sort of problems
|
# 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
|
# (the dirname of $[0] is not the place where we might find the
|
||||||
# original and so on. Autoconf is especially sensible to this).
|
# original and so on. Autoconf is especially sensible to this).
|
||||||
source ./$as_me.lineno
|
. ./$as_me.lineno
|
||||||
exit 0
|
# Exit status is that of the last command.
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Avoid depending upon Character Ranges.
|
# Avoid depending upon Character Ranges.
|
||||||
@@ -8713,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.
|
||||||
@@ -8774,7 +8745,7 @@ _ASBOX
|
|||||||
} >&5
|
} >&5
|
||||||
cat >&5 <<_CSEOF
|
cat >&5 <<_CSEOF
|
||||||
|
|
||||||
This file was extended by GNU Bison $as_me 1.29c, which was
|
This file was extended by GNU Bison $as_me 1.29f, 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
|
||||||
@@ -8836,7 +8807,7 @@ _ACEOF
|
|||||||
|
|
||||||
cat >>$CONFIG_STATUS <<_ACEOF
|
cat >>$CONFIG_STATUS <<_ACEOF
|
||||||
ac_cs_version="\\
|
ac_cs_version="\\
|
||||||
GNU Bison config.status 1.29c
|
GNU Bison config.status 1.29f
|
||||||
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'`\\"
|
||||||
|
|
||||||
@@ -9038,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
|
||||||
@@ -9054,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
|
||||||
|
|||||||
+5
-8
@@ -18,15 +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.29c], [[email protected]])
|
AC_INIT([GNU Bison], [1.29f], [[email protected]])
|
||||||
AC_CONFIG_AUX_DIR(config)
|
AC_CONFIG_AUX_DIR(config)
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([bison], [1.29c])
|
AM_INIT_AUTOMAKE([bison], [1.29f])
|
||||||
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])
|
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
|
||||||
@@ -34,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.29c of Bison, updated 20 September
|
This manual documents version 1.29f 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.29c of Bison.
|
This edition corresponds to version 1.29f 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.29c
|
@set EDITION 1.29f
|
||||||
@set VERSION 1.29c
|
@set VERSION 1.29f
|
||||||
|
|||||||
+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.29c
|
@set EDITION 1.29f
|
||||||
@set VERSION 1.29c
|
@set VERSION 1.29f
|
||||||
|
|||||||
+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
|
||||||
* <[email protected]>. Other authors are noted in the change history
|
* <[email protected]>. 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 <[email protected]>
|
||||||
|
|
||||||
|
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
|
||||||
|
<[email protected]> 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 <[email protected]>
|
||||||
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: ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ glibc21.m4 \
|
|||||||
iconv.m4 \
|
iconv.m4 \
|
||||||
isc-posix.m4 \
|
isc-posix.m4 \
|
||||||
lcmessage.m4 \
|
lcmessage.m4 \
|
||||||
m4.m4 \
|
|
||||||
malloc.m4 \
|
malloc.m4 \
|
||||||
mbrtowc.m4 \
|
mbrtowc.m4 \
|
||||||
mbstate_t.m4 \
|
mbstate_t.m4 \
|
||||||
|
|||||||
+8
-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,7 +110,6 @@ glibc21.m4 \
|
|||||||
iconv.m4 \
|
iconv.m4 \
|
||||||
isc-posix.m4 \
|
isc-posix.m4 \
|
||||||
lcmessage.m4 \
|
lcmessage.m4 \
|
||||||
m4.m4 \
|
|
||||||
malloc.m4 \
|
malloc.m4 \
|
||||||
mbrtowc.m4 \
|
mbrtowc.m4 \
|
||||||
mbstate_t.m4 \
|
mbstate_t.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
|
|
||||||
@@ -1,3 +1,16 @@
|
|||||||
|
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]>
|
2001-09-27 gettextize <[email protected]>
|
||||||
|
|
||||||
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
|||||||
-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;
|
|
||||||
+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));
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
+8
-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@
|
||||||
@@ -107,7 +111,6 @@ 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
|
||||||
|
|||||||
@@ -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@"
|
||||||
|
|||||||
+16
-10
@@ -256,8 +256,8 @@ 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]])])])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -273,8 +273,8 @@ m4_define([_AT_CHECK_CALC],
|
|||||||
]])
|
]])
|
||||||
AT_CHECK([calc input], 0, [], [stderr])dnl
|
AT_CHECK([calc input], 0, [], [stderr])dnl
|
||||||
AT_CHECK([wc -l <stderr | sed 's/[[^0-9]]//g'], 0,
|
AT_CHECK([wc -l <stderr | sed 's/[[^0-9]]//g'], 0,
|
||||||
[m4_match([$1], [--debug],
|
[m4_bmatch([$1], [--debug],
|
||||||
[$3], [0])
|
[$3], [0])
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
@@ -302,17 +302,17 @@ AT_CHECK([calc input], 0, [], [stderr])
|
|||||||
|
|
||||||
|
|
||||||
AT_CHECK([wc -l <stderr | sed 's/[[^0-9]]//g'], 0,
|
AT_CHECK([wc -l <stderr | sed 's/[[^0-9]]//g'], 0,
|
||||||
[m4_match([$1], [--debug],
|
[m4_bmatch([$1], [--debug],
|
||||||
[$3], [1])
|
[$3], [1])
|
||||||
])
|
])
|
||||||
|
|
||||||
egrep -v '^((Start|Enter|Read|Reduc|Shift)ing|state|Error:) ' stderr >at-stderr
|
egrep -v '^((Start|Enter|Read|Reduc|Shift)ing|state|Error:) ' stderr >at-stderr
|
||||||
mv at-stderr stderr
|
mv at-stderr stderr
|
||||||
|
|
||||||
AT_CHECK([cat stderr], 0,
|
AT_CHECK([cat stderr], 0,
|
||||||
[m4_match([$1], [--location], [$4: ])[]dnl
|
[m4_bmatch([$1], [--location], [$4: ])[]dnl
|
||||||
parse error[]dnl
|
parse error[]dnl
|
||||||
m4_match([$1], [--yyerror-verbose], [, $5])[]dnl
|
m4_bmatch([$1], [--yyerror-verbose], [, $5])[]dnl
|
||||||
|
|
||||||
])
|
])
|
||||||
|
|
||||||
@@ -330,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([if test "$GCC" = yes; then cat stderr; else true; fi])
|
||||||
|
|
||||||
# Test the priorities.
|
# Test the priorities.
|
||||||
_AT_CHECK_CALC([$1],
|
_AT_CHECK_CALC([$1],
|
||||||
|
|||||||
Reference in New Issue
Block a user