mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-08-17 14:45:15 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63cf44e7ac | ||
|
|
9507085cf3 | ||
|
|
8d3c8c3643 | ||
|
|
16c9da79ef | ||
|
|
d0132d6bec | ||
|
|
1306676ce3 | ||
|
|
e18cda8b5e |
@@ -1,3 +1,16 @@
|
|||||||
|
2001-10-26 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Version 1.30.
|
||||||
|
|
||||||
|
2001-10-26 Paul Eggert <[email protected]>
|
||||||
|
|
||||||
|
* lib/error.c, lib/error.h, lib/getopt.c, lib/getopt.h,
|
||||||
|
lib/getopt1.c, lib/obstack.c, lib/obstack.h, lib/quote.c,
|
||||||
|
lib/strnlen.c, lib/xmalloc.c, m4/c-bs-a.m4, m4/error.m4,
|
||||||
|
m4/gettext.m4, m4/lcmessage.m4, m4/malloc.m4, m4/mbstate_t.m4,
|
||||||
|
m4/progtest.m4, m4/realloc.m4, m4/strerror_r.m4:
|
||||||
|
Sync with fileutils 4.1.1.
|
||||||
|
|
||||||
2001-10-18 Akim Demaille <[email protected]>
|
2001-10-18 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
Version 1.29f.
|
Version 1.29f.
|
||||||
|
|||||||
+18
-27
@@ -1,4 +1,5 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
# Makefile.in generated by automake 1.5a from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
# 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.
|
||||||
@@ -136,9 +137,9 @@ RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
|||||||
uninstall-info-recursive all-recursive install-data-recursive \
|
uninstall-info-recursive all-recursive install-data-recursive \
|
||||||
install-exec-recursive installdirs-recursive install-recursive \
|
install-exec-recursive installdirs-recursive install-recursive \
|
||||||
uninstall-recursive check-recursive installcheck-recursive
|
uninstall-recursive check-recursive installcheck-recursive
|
||||||
DIST_COMMON = README ./stamp-h.in ABOUT-NLS AUTHORS COPYING ChangeLog \
|
DIST_COMMON = README ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL \
|
||||||
INSTALL Makefile.am Makefile.in NEWS README-alpha THANKS \
|
Makefile.am Makefile.in NEWS THANKS aclocal.m4 config.hin \
|
||||||
aclocal.m4 config.hin configure configure.in
|
configure configure.in
|
||||||
DIST_SUBDIRS = $(SUBDIRS)
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
all: config.h
|
all: config.h
|
||||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||||
@@ -148,9 +149,7 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(AUTOMAKE) --gnu Makefile
|
$(AUTOMAKE) --gnu Makefile
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
||||||
CONFIG_FILES=$@ $(SHELL) ./config.status
|
|
||||||
|
|
||||||
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
$(SHELL) ./config.status --recheck
|
$(SHELL) ./config.status --recheck
|
||||||
@@ -159,33 +158,25 @@ $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENC
|
|||||||
|
|
||||||
$(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
|
$(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-h1
|
||||||
@if test ! -f $@; then \
|
@if test ! -f $@; then \
|
||||||
rm -f stamp-h; \
|
rm -f stamp-h1; \
|
||||||
$(MAKE) stamp-h; \
|
$(MAKE) stamp-h1; \
|
||||||
else :; fi
|
else :; fi
|
||||||
stamp-h: $(srcdir)/config.hin $(top_builddir)/config.status
|
|
||||||
@rm -f stamp-h stamp-hT
|
stamp-h1: $(srcdir)/config.hin $(top_builddir)/config.status
|
||||||
@echo timestamp > stamp-hT 2> /dev/null
|
@rm -f stamp-h1
|
||||||
cd $(top_builddir) \
|
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
||||||
&& CONFIG_FILES= CONFIG_HEADERS=config.h:config.hin \
|
|
||||||
$(SHELL) ./config.status
|
$(srcdir)/config.hin: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
@mv stamp-hT stamp-h
|
|
||||||
$(srcdir)/config.hin: $(srcdir)/./stamp-h.in
|
|
||||||
@if test ! -f $@; then \
|
|
||||||
rm -f $(srcdir)/./stamp-h.in; \
|
|
||||||
$(MAKE) $(srcdir)/./stamp-h.in; \
|
|
||||||
else :; fi
|
|
||||||
$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
||||||
@rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
|
|
||||||
@echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
|
|
||||||
cd $(top_srcdir) && $(AUTOHEADER)
|
cd $(top_srcdir) && $(AUTOHEADER)
|
||||||
@mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
|
touch $(srcdir)/config.hin
|
||||||
|
|
||||||
distclean-hdr:
|
distclean-hdr:
|
||||||
-rm -f config.h
|
-rm -f config.h
|
||||||
intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
|
intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
|
||||||
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||||
uninstall-info-am:
|
uninstall-info-am:
|
||||||
|
|
||||||
# This directory's subdirectories are mostly independent; you can cd
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Bison News
|
Bison News
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Changes in version 1.29f:
|
Changes in version 1.30:
|
||||||
|
|
||||||
* `--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
|
||||||
|
|||||||
Vendored
+152
-128
@@ -1,4 +1,4 @@
|
|||||||
# aclocal.m4 generated automatically by aclocal 1.5a
|
# aclocal.m4 generated automatically by aclocal 1.5a -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -157,6 +157,8 @@ Check your system clock])
|
|||||||
fi
|
fi
|
||||||
AC_MSG_RESULT(yes)])
|
AC_MSG_RESULT(yes)])
|
||||||
|
|
||||||
|
# -*- Autoconf -*-
|
||||||
|
|
||||||
|
|
||||||
# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
|
# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
@@ -353,7 +355,7 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
|||||||
|
|
||||||
|
|
||||||
# _AM_DEPENDENCIES(NAME)
|
# _AM_DEPENDENCIES(NAME)
|
||||||
# ---------------------
|
# ----------------------
|
||||||
# See how the compiler implements dependency checking.
|
# See how the compiler implements dependency checking.
|
||||||
# NAME is "CC", "CXX" or "OBJC".
|
# NAME is "CC", "CXX" or "OBJC".
|
||||||
# We try a few techniques and use that to set a single cache variable.
|
# We try a few techniques and use that to set a single cache variable.
|
||||||
@@ -432,8 +434,7 @@ else
|
|||||||
am_cv_$1_dependencies_compiler_type=none
|
am_cv_$1_dependencies_compiler_type=none
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
$1DEPMODE="depmode=$am_cv_$1_dependencies_compiler_type"
|
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
|
||||||
AC_SUBST([$1DEPMODE])
|
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
@@ -451,7 +452,7 @@ else
|
|||||||
DEPDIR=_deps
|
DEPDIR=_deps
|
||||||
fi
|
fi
|
||||||
rmdir .deps 2>/dev/null
|
rmdir .deps 2>/dev/null
|
||||||
AC_SUBST(DEPDIR)
|
AC_SUBST([DEPDIR])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
@@ -466,12 +467,10 @@ if test "x$enable_dependency_tracking" != xno; then
|
|||||||
AMDEPBACKSLASH='\'
|
AMDEPBACKSLASH='\'
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||||
pushdef([subst], defn([AC_SUBST]))
|
AC_SUBST([AMDEPBACKSLASH])
|
||||||
subst(AMDEPBACKSLASH)
|
|
||||||
popdef([subst])
|
|
||||||
])
|
])
|
||||||
|
|
||||||
# Generate code to set up dependency tracking.
|
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
|
# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
@@ -490,24 +489,18 @@ popdef([subst])
|
|||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
# 02111-1307, USA.
|
# 02111-1307, USA.
|
||||||
|
|
||||||
# This macro should only be invoked once -- use via AC_REQUIRE.
|
#serial 2
|
||||||
# Usage:
|
|
||||||
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
|
||||||
|
|
||||||
#
|
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||||
# This code is only required when automatic dependency tracking
|
# ------------------------------
|
||||||
# is enabled. FIXME. This creates each `.P' file that we will
|
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||||
# need in order to bootstrap the dependency handling code.
|
[for mf in $CONFIG_FILES; do
|
||||||
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
|
case $mf in
|
||||||
AC_OUTPUT_COMMANDS([
|
|
||||||
test x"$AMDEP_TRUE" != x"" ||
|
|
||||||
for mf in $CONFIG_FILES; do
|
|
||||||
case "$mf" in
|
|
||||||
Makefile) dirpart=.;;
|
Makefile) dirpart=.;;
|
||||||
*/Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
|
*/Makefile) dirpart=`AS_DIRNAME("$mf")`;;
|
||||||
*) continue;;
|
*) continue;;
|
||||||
esac
|
esac
|
||||||
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
|
grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
|
||||||
# Extract the definition of DEP_FILES from the Makefile without
|
# Extract the definition of DEP_FILES from the Makefile without
|
||||||
# running `make'.
|
# running `make'.
|
||||||
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
|
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
|
||||||
@@ -531,14 +524,27 @@ for mf in $CONFIG_FILES; do
|
|||||||
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
||||||
# Make sure the directory exists.
|
# Make sure the directory exists.
|
||||||
test -f "$dirpart/$file" && continue
|
test -f "$dirpart/$file" && continue
|
||||||
fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
|
fdir=`AS_DIRNAME(["$file"])`
|
||||||
$ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
|
AS_MKDIR_P([$dirpart/$fdir])
|
||||||
# echo "creating $dirpart/$file"
|
# echo "creating $dirpart/$file"
|
||||||
echo '# dummy' > "$dirpart/$file"
|
echo '# dummy' > "$dirpart/$file"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
], [AMDEP_TRUE="$AMDEP_TRUE"
|
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||||
ac_aux_dir="$ac_aux_dir"])])
|
|
||||||
|
|
||||||
|
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||||
|
# -----------------------------
|
||||||
|
# This macro should only be invoked once -- use via AC_REQUIRE.
|
||||||
|
#
|
||||||
|
# This code is only required when automatic dependency tracking
|
||||||
|
# is enabled. FIXME. This creates each `.P' file that we will
|
||||||
|
# need in order to bootstrap the dependency handling code.
|
||||||
|
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||||
|
[AC_CONFIG_COMMANDS([depfiles],
|
||||||
|
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||||
|
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
|
||||||
|
])
|
||||||
|
|
||||||
# AM_MAKE_INCLUDE()
|
# AM_MAKE_INCLUDE()
|
||||||
# -----------------
|
# -----------------
|
||||||
@@ -657,32 +663,15 @@ fi])
|
|||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
# 02111-1307, USA.
|
# 02111-1307, USA.
|
||||||
|
|
||||||
# serial 4
|
AC_PREREQ([2.52])
|
||||||
|
|
||||||
|
# serial 6
|
||||||
|
|
||||||
# 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.52])
|
|
||||||
|
|
||||||
AC_DEFUN([AM_CONFIG_HEADER],
|
|
||||||
[dnl init our file count if it isn't already
|
|
||||||
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
|
|
||||||
AC_FOREACH([_AM_File], [$1],
|
|
||||||
[m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*]))
|
|
||||||
m4_define([_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 with our hook
|
|
||||||
AC_CONFIG_HEADERS(_AM_File,
|
|
||||||
[# update the timestamp
|
|
||||||
echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index["
|
|
||||||
][$2]m4_ifval([$3], [, [$3]]))
|
|
||||||
m4_popdef([_AM_Dest])])
|
|
||||||
]) # 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
|
||||||
@@ -694,7 +683,44 @@ AC_DEFUN([_AM_DIRNAME],
|
|||||||
patsubst([$1], [^\(/\).*], [\1])),
|
patsubst([$1], [^\(/\).*], [\1])),
|
||||||
patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
|
patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
|
||||||
patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
|
patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
|
||||||
]) # _AM_DIRNAME
|
])# _AM_DIRNAME
|
||||||
|
|
||||||
|
|
||||||
|
# The stamp files are numbered to have different names.
|
||||||
|
# We could number them on a directory basis, but that's additional
|
||||||
|
# complications, let's have a unique counter.
|
||||||
|
m4_define([_AM_STAMP_Count], [0])
|
||||||
|
|
||||||
|
|
||||||
|
# _AM_STAMP(HEADER)
|
||||||
|
# -----------------
|
||||||
|
# The name of the stamp file for HEADER.
|
||||||
|
AC_DEFUN([_AM_STAMP],
|
||||||
|
[m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnl
|
||||||
|
AS_ESCAPE(_AM_DIRNAME(patsubst([$1],
|
||||||
|
[:.*])))/stamp-h[]_AM_STAMP_Count])
|
||||||
|
|
||||||
|
|
||||||
|
# _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS)
|
||||||
|
# ------------------------------------------------------------
|
||||||
|
# We used to try to get a real timestamp in stamp-h. But the fear is that
|
||||||
|
# that will cause unnecessary cvs conflicts.
|
||||||
|
AC_DEFUN([_AM_CONFIG_HEADER],
|
||||||
|
[# Add the stamp file to the list of files AC keeps track of,
|
||||||
|
# along with our hook.
|
||||||
|
AC_CONFIG_HEADERS([$1],
|
||||||
|
[# update the timestamp
|
||||||
|
echo 'timestamp for $1' >"_AM_STAMP([$1])"
|
||||||
|
$2],
|
||||||
|
[$3])
|
||||||
|
])# _AM_CONFIG_HEADER
|
||||||
|
|
||||||
|
|
||||||
|
# AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS)
|
||||||
|
# --------------------------------------------------------------
|
||||||
|
AC_DEFUN([AM_CONFIG_HEADER],
|
||||||
|
[AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])])
|
||||||
|
])# AM_CONFIG_HEADER
|
||||||
|
|
||||||
#serial 1
|
#serial 1
|
||||||
# This test replaces the one in autoconf.
|
# This test replaces the one in autoconf.
|
||||||
@@ -871,19 +897,19 @@ AC_SUBST(U)dnl
|
|||||||
AC_SUBST(ANSI2KNR)dnl
|
AC_SUBST(ANSI2KNR)dnl
|
||||||
])
|
])
|
||||||
|
|
||||||
#serial 3
|
#serial 5
|
||||||
|
|
||||||
dnl From Jim Meyering.
|
dnl From Jim Meyering.
|
||||||
dnl Determine whether malloc accepts 0 as its argument.
|
dnl Determine whether malloc accepts 0 as its argument.
|
||||||
dnl If it doesn't, arrange to use the replacement function.
|
dnl If it doesn't, arrange to use the replacement function.
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(jm_FUNC_MALLOC,
|
AC_DEFUN([jm_FUNC_MALLOC],
|
||||||
[
|
[
|
||||||
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
||||||
dnl mistakenly use a broken malloc -- as it might if this test were omitted.
|
dnl mistakenly use a broken malloc -- as it might if this test were omitted.
|
||||||
AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_MALLOC_CHECK, 1,
|
AC_DEFINE(HAVE_DONE_WORKING_MALLOC_CHECK, 1,
|
||||||
[Define if the malloc check has been performed. ])
|
[Define if the malloc check has been performed. ])
|
||||||
|
|
||||||
AC_CACHE_CHECK([for working malloc], jm_cv_func_working_malloc,
|
AC_CACHE_CHECK([for working malloc], jm_cv_func_working_malloc,
|
||||||
[AC_TRY_RUN([
|
[AC_TRY_RUN([
|
||||||
@@ -900,26 +926,25 @@ AC_DEFUN(jm_FUNC_MALLOC,
|
|||||||
jm_cv_func_working_malloc=no)
|
jm_cv_func_working_malloc=no)
|
||||||
])
|
])
|
||||||
if test $jm_cv_func_working_malloc = no; then
|
if test $jm_cv_func_working_malloc = no; then
|
||||||
AC_SUBST(LIBOBJS)
|
AC_LIBOBJ(malloc)
|
||||||
LIBOBJS="$LIBOBJS malloc.$ac_objext"
|
AC_DEFINE(malloc, rpl_malloc,
|
||||||
AC_DEFINE_UNQUOTED(malloc, rpl_malloc,
|
|
||||||
[Define to rpl_malloc if the replacement function should be used.])
|
[Define to rpl_malloc if the replacement function should be used.])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
#serial 3
|
#serial 5
|
||||||
|
|
||||||
dnl From Jim Meyering.
|
dnl From Jim Meyering.
|
||||||
dnl Determine whether realloc works when both arguments are 0.
|
dnl Determine whether realloc works when both arguments are 0.
|
||||||
dnl If it doesn't, arrange to use the replacement function.
|
dnl If it doesn't, arrange to use the replacement function.
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(jm_FUNC_REALLOC,
|
AC_DEFUN([jm_FUNC_REALLOC],
|
||||||
[
|
[
|
||||||
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
||||||
dnl mistakenly use a broken realloc -- as it might if this test were omitted.
|
dnl mistakenly use a broken realloc -- as it might if this test were omitted.
|
||||||
AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_REALLOC_CHECK, 1,
|
AC_DEFINE(HAVE_DONE_WORKING_REALLOC_CHECK, 1,
|
||||||
[Define if the realloc check has been performed. ])
|
[Define if the realloc check has been performed. ])
|
||||||
|
|
||||||
AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc,
|
AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc,
|
||||||
[AC_TRY_RUN([
|
[AC_TRY_RUN([
|
||||||
@@ -936,9 +961,8 @@ AC_DEFUN(jm_FUNC_REALLOC,
|
|||||||
jm_cv_func_working_realloc=no)
|
jm_cv_func_working_realloc=no)
|
||||||
])
|
])
|
||||||
if test $jm_cv_func_working_realloc = no; then
|
if test $jm_cv_func_working_realloc = no; then
|
||||||
AC_SUBST(LIBOBJS)
|
AC_LIBOBJ(realloc)
|
||||||
LIBOBJS="$LIBOBJS realloc.$ac_objext"
|
AC_DEFINE(realloc, rpl_realloc,
|
||||||
AC_DEFINE_UNQUOTED(realloc, rpl_realloc,
|
|
||||||
[Define to rpl_realloc if the replacement function should be used.])
|
[Define to rpl_realloc if the replacement function should be used.])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
@@ -978,11 +1002,11 @@ AC_DEFUN([jm_FUNC_MBRTOWC],
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
#serial 3
|
#serial 4
|
||||||
|
|
||||||
dnl From Paul Eggert.
|
dnl From Paul Eggert.
|
||||||
|
|
||||||
AC_DEFUN(AC_C_BACKSLASH_A,
|
AC_DEFUN([AC_C_BACKSLASH_A],
|
||||||
[
|
[
|
||||||
AC_CACHE_CHECK([whether backslash-a works in strings], ac_cv_c_backslash_a,
|
AC_CACHE_CHECK([whether backslash-a works in strings], ac_cv_c_backslash_a,
|
||||||
[AC_TRY_COMPILE([],
|
[AC_TRY_COMPILE([],
|
||||||
@@ -1002,7 +1026,7 @@ AC_DEFUN(AC_C_BACKSLASH_A,
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
# serial 8
|
# serial 9
|
||||||
|
|
||||||
# From Paul Eggert.
|
# From Paul Eggert.
|
||||||
|
|
||||||
@@ -1014,7 +1038,7 @@ AC_DEFUN(AC_C_BACKSLASH_A,
|
|||||||
# (at least glibc-2.1.3) because the "_XOPEN_SOURCE 500" definition elicits
|
# (at least glibc-2.1.3) because the "_XOPEN_SOURCE 500" definition elicits
|
||||||
# a syntax error in wchar.h due to the use of undefined __int32_t.
|
# a syntax error in wchar.h due to the use of undefined __int32_t.
|
||||||
|
|
||||||
AC_DEFUN(AC_MBSTATE_T,
|
AC_DEFUN([AC_MBSTATE_T],
|
||||||
[
|
[
|
||||||
AC_CHECK_HEADERS(stdlib.h)
|
AC_CHECK_HEADERS(stdlib.h)
|
||||||
|
|
||||||
@@ -1032,25 +1056,40 @@ AC_DEFUN(AC_MBSTATE_T,
|
|||||||
[Define to a type if <wchar.h> does not define.])
|
[Define to a type if <wchar.h> does not define.])
|
||||||
fi])
|
fi])
|
||||||
|
|
||||||
#serial 1
|
#serial 4
|
||||||
|
|
||||||
dnl FIXME: put these prerequisite-only *.m4 files in a separate
|
dnl FIXME: put these prerequisite-only *.m4 files in a separate
|
||||||
dnl directory -- otherwise, they'll conflict with existing files.
|
dnl directory -- otherwise, they'll conflict with existing files.
|
||||||
|
|
||||||
dnl These are the prerequisite macros for GNU's error.c file.
|
dnl These are the prerequisite macros for GNU's error.c file.
|
||||||
AC_DEFUN(jm_PREREQ_ERROR,
|
AC_DEFUN([jm_PREREQ_ERROR],
|
||||||
[
|
[
|
||||||
AC_CHECK_FUNCS(strerror strerror_r vprintf doprnt)
|
AC_CHECK_FUNCS(strerror vprintf doprnt)
|
||||||
AC_HEADER_STDC
|
AC_CHECK_DECLS([strerror])
|
||||||
AC_FUNC_STRERROR_R
|
AC_FUNC_STRERROR_R
|
||||||
|
AC_HEADER_STDC
|
||||||
])
|
])
|
||||||
|
|
||||||
#serial 1002
|
#serial 1003
|
||||||
# Experimental replacement for the function in the latest CVS autoconf.
|
# Experimental replacement for the function in the latest CVS autoconf.
|
||||||
# If the compile-test says strerror_r doesn't work, then resort to a
|
|
||||||
# `run'-test that works on BeOS and segfaults on DEC Unix.
|
|
||||||
# Use with the error.c file in ../lib.
|
# Use with the error.c file in ../lib.
|
||||||
|
|
||||||
|
# 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. */
|
||||||
|
|
||||||
undefine([AC_FUNC_STRERROR_R])
|
undefine([AC_FUNC_STRERROR_R])
|
||||||
|
|
||||||
# AC_FUNC_STRERROR_R
|
# AC_FUNC_STRERROR_R
|
||||||
@@ -1058,57 +1097,36 @@ undefine([AC_FUNC_STRERROR_R])
|
|||||||
AC_DEFUN([AC_FUNC_STRERROR_R],
|
AC_DEFUN([AC_FUNC_STRERROR_R],
|
||||||
[AC_CHECK_DECLS([strerror_r])
|
[AC_CHECK_DECLS([strerror_r])
|
||||||
AC_CHECK_FUNCS([strerror_r])
|
AC_CHECK_FUNCS([strerror_r])
|
||||||
if test $ac_cv_func_strerror_r = yes; then
|
AC_CACHE_CHECK([whether strerror_r returns char *],
|
||||||
AC_CHECK_HEADERS(string.h)
|
ac_cv_func_strerror_r_char_p,
|
||||||
AC_CACHE_CHECK([for working strerror_r],
|
|
||||||
ac_cv_func_strerror_r_works,
|
|
||||||
[
|
[
|
||||||
AC_TRY_COMPILE(
|
ac_cv_func_strerror_r_char_p=no
|
||||||
[
|
if test $ac_cv_have_decl_strerror_r = yes; then
|
||||||
# include <stdio.h>
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
|
||||||
# if HAVE_STRING_H
|
[[
|
||||||
# include <string.h>
|
char buf[100];
|
||||||
# endif
|
char x = *strerror_r (0, buf, sizeof buf);
|
||||||
],
|
char *p = strerror_r (0, buf, sizeof buf);
|
||||||
[
|
]])],
|
||||||
char buf[100];
|
ac_cv_func_strerror_r_char_p=yes)
|
||||||
char x = *strerror_r (0, buf, sizeof buf);
|
else
|
||||||
],
|
# strerror_r is not declared. Choose between
|
||||||
ac_cv_func_strerror_r_works=yes,
|
|
||||||
ac_cv_func_strerror_r_works=no
|
|
||||||
)
|
|
||||||
if test $ac_cv_func_strerror_r_works = no; then
|
|
||||||
# strerror_r seems not to work, but now we have to choose between
|
|
||||||
# systems that have relatively inaccessible declarations for the
|
# systems that have relatively inaccessible declarations for the
|
||||||
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
|
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
|
||||||
# former has a strerror_r that returns char*, while the latter
|
# former has a strerror_r that returns char*, while the latter
|
||||||
# has a strerror_r that returns `int'.
|
# has a strerror_r that returns `int'.
|
||||||
# This test should segfault on the DEC system.
|
# This test should segfault on the DEC system.
|
||||||
AC_TRY_RUN(
|
AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
|
||||||
[
|
extern char *strerror_r ();],
|
||||||
# include <stdio.h>
|
[[char buf[100];
|
||||||
# include <string.h>
|
|
||||||
# include <ctype.h>
|
|
||||||
|
|
||||||
extern char *strerror_r ();
|
|
||||||
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
char buf[100];
|
|
||||||
char x = *strerror_r (0, buf, sizeof buf);
|
char x = *strerror_r (0, buf, sizeof buf);
|
||||||
exit (!isalpha (x));
|
exit (!isalpha (x));]])],
|
||||||
}
|
ac_cv_func_strerror_r_char_p=yes, , :)
|
||||||
],
|
|
||||||
ac_cv_func_strerror_r_works=yes,
|
|
||||||
ac_cv_func_strerror_r_works=no,
|
|
||||||
ac_cv_func_strerror_r_works=no)
|
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
if test $ac_cv_func_strerror_r_works = yes; then
|
if test $ac_cv_func_strerror_r_char_p = yes; then
|
||||||
AC_DEFINE_UNQUOTED(HAVE_WORKING_STRERROR_R, 1,
|
AC_DEFINE([STRERROR_R_CHAR_P], 1,
|
||||||
[Define to 1 if `strerror_r' returns a string.])
|
[Define to 1 if strerror_r returns char *.])
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
])# AC_FUNC_STRERROR_R
|
])# AC_FUNC_STRERROR_R
|
||||||
|
|
||||||
@@ -1136,10 +1154,12 @@ fi], [AC_MSG_RESULT(no)])
|
|||||||
#
|
#
|
||||||
# This file can be copied and used freely without restrictions. It can
|
# This file can be copied and used freely without restrictions. It can
|
||||||
# be used in projects which are not available under the GNU General Public
|
# be used in projects which are not available under the GNU General Public
|
||||||
# License but which still want to provide support for the GNU gettext
|
# License or the GNU Library General Public License but which still want
|
||||||
# functionality.
|
# to provide support for the GNU gettext functionality.
|
||||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
# Please note that the actual code of the GNU gettext library is covered
|
||||||
# General Public License and is *not* in the public domain.
|
# by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
# gettext package package is covered by the GNU General Public License.
|
||||||
|
# They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 10
|
# serial 10
|
||||||
|
|
||||||
@@ -1374,7 +1394,7 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", ""
|
|||||||
dnl Found it, now check the version.
|
dnl Found it, now check the version.
|
||||||
AC_MSG_CHECKING([version of bison])
|
AC_MSG_CHECKING([version of bison])
|
||||||
changequote(<<,>>)dnl
|
changequote(<<,>>)dnl
|
||||||
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
||||||
case $ac_prog_version in
|
case $ac_prog_version in
|
||||||
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
||||||
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
|
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
|
||||||
@@ -1505,10 +1525,12 @@ strdup strtoul tsearch __argz_count __argz_stringify __argz_next])
|
|||||||
#
|
#
|
||||||
# This file can be copied and used freely without restrictions. It can
|
# This file can be copied and used freely without restrictions. It can
|
||||||
# be used in projects which are not available under the GNU General Public
|
# be used in projects which are not available under the GNU General Public
|
||||||
# License but which still want to provide support for the GNU gettext
|
# License or the GNU Library General Public License but which still want
|
||||||
# functionality.
|
# to provide support for the GNU gettext functionality.
|
||||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
# Please note that the actual code of the GNU gettext library is covered
|
||||||
# General Public License and is *not* in the public domain.
|
# by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
# gettext package package is covered by the GNU General Public License.
|
||||||
|
# They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 2
|
# serial 2
|
||||||
|
|
||||||
@@ -1670,10 +1692,12 @@ AC_DEFUN([AM_LANGINFO_CODESET],
|
|||||||
#
|
#
|
||||||
# This file can be copied and used freely without restrictions. It can
|
# This file can be copied and used freely without restrictions. It can
|
||||||
# be used in projects which are not available under the GNU General Public
|
# be used in projects which are not available under the GNU General Public
|
||||||
# License but which still want to provide support for the GNU gettext
|
# License or the GNU Library General Public License but which still want
|
||||||
# functionality.
|
# to provide support for the GNU gettext functionality.
|
||||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
# Please note that the actual code of the GNU gettext library is covered
|
||||||
# General Public License and is *not* in the public domain.
|
# by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
# gettext package package is covered by the GNU General Public License.
|
||||||
|
# They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 2
|
# serial 2
|
||||||
|
|
||||||
|
|||||||
+7
-3
@@ -38,6 +38,10 @@
|
|||||||
*/
|
*/
|
||||||
#undef HAVE_DECL_STPCPY
|
#undef HAVE_DECL_STPCPY
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `strerror', and to 0 if you
|
||||||
|
don't. */
|
||||||
|
#undef HAVE_DECL_STRERROR
|
||||||
|
|
||||||
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
||||||
don't. */
|
don't. */
|
||||||
#undef HAVE_DECL_STRERROR_R
|
#undef HAVE_DECL_STRERROR_R
|
||||||
@@ -218,9 +222,6 @@
|
|||||||
/* Define if you have the <wctype.h> header file. */
|
/* Define if you have the <wctype.h> header file. */
|
||||||
#undef HAVE_WCTYPE_H
|
#undef HAVE_WCTYPE_H
|
||||||
|
|
||||||
/* Define to 1 if `strerror_r' returns a string. */
|
|
||||||
#undef HAVE_WORKING_STRERROR_R
|
|
||||||
|
|
||||||
/* Define if you have the `__argz_count' function. */
|
/* Define if you have the `__argz_count' function. */
|
||||||
#undef HAVE___ARGZ_COUNT
|
#undef HAVE___ARGZ_COUNT
|
||||||
|
|
||||||
@@ -250,6 +251,9 @@
|
|||||||
/* Define if you have the ANSI C header files. */
|
/* Define if you have the ANSI C header files. */
|
||||||
#undef STDC_HEADERS
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
|
/* Define to 1 if strerror_r returns char *. */
|
||||||
|
#undef STRERROR_R_CHAR_P
|
||||||
|
|
||||||
/* Version number of package */
|
/* Version number of package */
|
||||||
#undef VERSION
|
#undef VERSION
|
||||||
|
|
||||||
|
|||||||
+3
-4
@@ -1,4 +1,5 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
# Makefile.in generated by automake 1.5a from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
# 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.
|
||||||
@@ -115,9 +116,7 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(AUTOMAKE) --gnu config/Makefile
|
$(AUTOMAKE) --gnu config/Makefile
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
||||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
|
||||||
uninstall-info-am:
|
uninstall-info-am:
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
TAGS:
|
TAGS:
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1.29e
|
1.28
|
||||||
|
|||||||
@@ -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.29f.
|
# Generated by GNU Autoconf 2.52e for GNU Bison 1.30.
|
||||||
#
|
#
|
||||||
# Report bugs to <[email protected]>.
|
# Report bugs to <[email protected]>.
|
||||||
#
|
#
|
||||||
@@ -9,6 +9,12 @@
|
|||||||
# This configure script is free software; the Free Software Foundation
|
# This configure script is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy, distribute and modify it.
|
# gives unlimited permission to copy, distribute and modify it.
|
||||||
|
|
||||||
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
||||||
|
as_expr=expr
|
||||||
|
else
|
||||||
|
as_expr=false
|
||||||
|
fi
|
||||||
|
|
||||||
## --------------------- ##
|
## --------------------- ##
|
||||||
## M4sh Initialization. ##
|
## M4sh Initialization. ##
|
||||||
## --------------------- ##
|
## --------------------- ##
|
||||||
@@ -22,7 +28,16 @@ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Name of the executable.
|
# Name of the executable.
|
||||||
as_me=`echo "$0" |sed 's,\(.*[\\/]\+\)\?\([^\\/]\+\)[\\/]*,\2,'`
|
as_me=`(basename "$0") 2>/dev/null ||
|
||||||
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
||||||
|
X"$0" : 'X\(//\)$' \| \
|
||||||
|
X"$0" : 'X\(/\)$' \| \
|
||||||
|
. : '\(.\)' 2>/dev/null ||
|
||||||
|
echo X/"$0" |
|
||||||
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
||||||
|
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
||||||
|
/^X\/\(\/\).*/{ s//\1/; q; }
|
||||||
|
s/.*/./; q'`
|
||||||
|
|
||||||
# Rewrite early, but we need PATH_SEPARATOR.
|
# Rewrite early, but we need PATH_SEPARATOR.
|
||||||
# The user is always right.
|
# The user is always right.
|
||||||
@@ -285,8 +300,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.29f'
|
PACKAGE_VERSION='1.30'
|
||||||
PACKAGE_STRING='GNU Bison 1.29f'
|
PACKAGE_STRING='GNU Bison 1.30'
|
||||||
PACKAGE_BUGREPORT='[email protected]'
|
PACKAGE_BUGREPORT='[email protected]'
|
||||||
|
|
||||||
ac_prev=
|
ac_prev=
|
||||||
@@ -643,9 +658,18 @@ test "$silent" = yes && exec 6>/dev/null
|
|||||||
if test -z "$srcdir"; then
|
if test -z "$srcdir"; then
|
||||||
ac_srcdir_defaulted=yes
|
ac_srcdir_defaulted=yes
|
||||||
# Try the directory containing this script, then its parent.
|
# Try the directory containing this script, then its parent.
|
||||||
ac_prog=$0
|
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
||||||
ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
|
X"$0" : 'X\(//\)[^/]' \| \
|
||||||
|
X"$0" : 'X\(//\)$' \| \
|
||||||
|
X"$0" : 'X\(/\)' \| \
|
||||||
|
. : '\(.\)' 2>/dev/null ||
|
||||||
|
echo X"$0" |
|
||||||
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
||||||
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
||||||
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
||||||
|
/^X\(\/\).*/{ s//\1/; q; }
|
||||||
|
s/.*/./; q'`
|
||||||
srcdir=$ac_confdir
|
srcdir=$ac_confdir
|
||||||
if test ! -r $srcdir/$ac_unique_file; then
|
if test ! -r $srcdir/$ac_unique_file; then
|
||||||
srcdir=..
|
srcdir=..
|
||||||
@@ -703,7 +727,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.29f to adapt to many kinds of systems.
|
\`configure' configures GNU Bison 1.30 to adapt to many kinds of systems.
|
||||||
|
|
||||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||||
|
|
||||||
@@ -769,7 +793,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.29f:";;
|
short | recursive ) echo "Configuration of GNU Bison 1.30:";;
|
||||||
esac
|
esac
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
|
|
||||||
@@ -864,7 +888,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.29f
|
GNU Bison configure 1.30
|
||||||
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
|
||||||
@@ -879,7 +903,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.29f, which was
|
It was created by GNU Bison $as_me 1.30, which was
|
||||||
generated by GNU Autoconf 2.52e. Invocation command line was
|
generated by GNU Autoconf 2.52e. Invocation command line was
|
||||||
|
|
||||||
$ $0 $@
|
$ $0 $@
|
||||||
@@ -1273,7 +1297,7 @@ else
|
|||||||
echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
|
echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for ac_prog in mawk gawk nawk awk
|
for ac_prog in gawk mawk nawk awk
|
||||||
do
|
do
|
||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
@@ -1380,7 +1404,7 @@ fi
|
|||||||
|
|
||||||
# Define the identity of the package.
|
# Define the identity of the package.
|
||||||
PACKAGE=bison
|
PACKAGE=bison
|
||||||
VERSION=1.29f
|
VERSION=1.30
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
#define PACKAGE "$PACKAGE"
|
#define PACKAGE "$PACKAGE"
|
||||||
@@ -1411,7 +1435,9 @@ 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"
|
# Add the stamp file to the list of files AC keeps track of,
|
||||||
|
# along with our hook.
|
||||||
|
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"
|
||||||
@@ -2180,8 +2206,7 @@ ac_cpp='$CPP $CPPFLAGS'
|
|||||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||||
|
ac_config_commands="$ac_config_commands depfiles"
|
||||||
ac_config_commands="$ac_config_commands default-1"
|
|
||||||
|
|
||||||
am_make=${MAKE-make}
|
am_make=${MAKE-make}
|
||||||
cat > confinc << 'END'
|
cat > confinc << 'END'
|
||||||
@@ -2286,7 +2311,7 @@ fi
|
|||||||
fi
|
fi
|
||||||
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
||||||
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
|
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
|
||||||
CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
||||||
|
|
||||||
ac_ext=c
|
ac_ext=c
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
||||||
@@ -5089,7 +5114,7 @@ else
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<\_ACEOF
|
||||||
#define HAVE_DONE_WORKING_MALLOC_CHECK 1
|
#define HAVE_DONE_WORKING_MALLOC_CHECK 1
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
@@ -5139,16 +5164,15 @@ fi
|
|||||||
echo "$as_me:$LINENO: result: $jm_cv_func_working_malloc" >&5
|
echo "$as_me:$LINENO: result: $jm_cv_func_working_malloc" >&5
|
||||||
echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
|
echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
|
||||||
if test $jm_cv_func_working_malloc = no; then
|
if test $jm_cv_func_working_malloc = no; then
|
||||||
|
|
||||||
LIBOBJS="$LIBOBJS malloc.$ac_objext"
|
LIBOBJS="$LIBOBJS malloc.$ac_objext"
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<\_ACEOF
|
||||||
#define malloc rpl_malloc
|
#define malloc rpl_malloc
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<\_ACEOF
|
||||||
#define HAVE_DONE_WORKING_REALLOC_CHECK 1
|
#define HAVE_DONE_WORKING_REALLOC_CHECK 1
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
@@ -5198,10 +5222,9 @@ fi
|
|||||||
echo "$as_me:$LINENO: result: $jm_cv_func_working_realloc" >&5
|
echo "$as_me:$LINENO: result: $jm_cv_func_working_realloc" >&5
|
||||||
echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
|
echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
|
||||||
if test $jm_cv_func_working_realloc = no; then
|
if test $jm_cv_func_working_realloc = no; then
|
||||||
|
|
||||||
LIBOBJS="$LIBOBJS realloc.$ac_objext"
|
LIBOBJS="$LIBOBJS realloc.$ac_objext"
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<\_ACEOF
|
||||||
#define realloc rpl_realloc
|
#define realloc rpl_realloc
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
@@ -6086,7 +6109,7 @@ fi
|
|||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
for ac_func in strerror strerror_r vprintf doprnt
|
for ac_func in strerror vprintf doprnt
|
||||||
do
|
do
|
||||||
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||||
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
||||||
@@ -6161,141 +6184,63 @@ _ACEOF
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
echo "$as_me:$LINENO: checking whether strerror is declared" >&5
|
||||||
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
|
||||||
if test "${ac_cv_header_stdc+set}" = set; then
|
if test "${ac_cv_have_decl_strerror+set}" = set; then
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
#line $LINENO "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdlib.h>
|
$ac_includes_default
|
||||||
#include <stdarg.h>
|
#ifdef F77_DUMMY_MAIN
|
||||||
#include <string.h>
|
# ifdef __cplusplus
|
||||||
#include <float.h>
|
extern "C"
|
||||||
|
# endif
|
||||||
_ACEOF
|
int F77_DUMMY_MAIN() { return 1; }
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
||||||
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
||||||
ac_status=$?
|
|
||||||
egrep -v '^ *\+' conftest.er1 >conftest.err
|
|
||||||
rm -f conftest.er1
|
|
||||||
cat conftest.err >&5
|
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
||||||
(exit $ac_status); } >/dev/null; then
|
|
||||||
if test -s conftest.err; then
|
|
||||||
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
||||||
else
|
|
||||||
ac_cpp_err=
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
ac_cpp_err=yes
|
|
||||||
fi
|
|
||||||
if test -z "$ac_cpp_err"; then
|
|
||||||
ac_cv_header_stdc=yes
|
|
||||||
else
|
|
||||||
echo "$as_me: failed program was:" >&5
|
|
||||||
cat conftest.$ac_ext >&5
|
|
||||||
ac_cv_header_stdc=no
|
|
||||||
fi
|
|
||||||
rm -f conftest.err conftest.$ac_ext
|
|
||||||
|
|
||||||
if test $ac_cv_header_stdc = yes; then
|
|
||||||
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
|
||||||
#line $LINENO "configure"
|
|
||||||
#include "confdefs.h"
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
_ACEOF
|
|
||||||
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
||||||
egrep "memchr" >/dev/null 2>&1; then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
ac_cv_header_stdc=no
|
|
||||||
fi
|
|
||||||
rm -f conftest*
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test $ac_cv_header_stdc = yes; then
|
|
||||||
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
|
||||||
#line $LINENO "configure"
|
|
||||||
#include "confdefs.h"
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
_ACEOF
|
|
||||||
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
||||||
egrep "free" >/dev/null 2>&1; then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
ac_cv_header_stdc=no
|
|
||||||
fi
|
|
||||||
rm -f conftest*
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test $ac_cv_header_stdc = yes; then
|
|
||||||
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
||||||
if test "$cross_compiling" = yes; then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
|
||||||
#line $LINENO "configure"
|
|
||||||
#include "confdefs.h"
|
|
||||||
#include <ctype.h>
|
|
||||||
#if ((' ' & 0x0FF) == 0x020)
|
|
||||||
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
||||||
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
||||||
#else
|
|
||||||
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
|
|
||||||
|| ('j' <= (c) && (c) <= 'r') \
|
|
||||||
|| ('s' <= (c) && (c) <= 'z'))
|
|
||||||
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
int i;
|
#ifndef strerror
|
||||||
for (i = 0; i < 256; i++)
|
char *p = (char *) strerror;
|
||||||
if (XOR (islower (i), ISLOWER (i))
|
#endif
|
||||||
|| toupper (i) != TOUPPER (i))
|
|
||||||
exit(2);
|
;
|
||||||
exit (0);
|
return 0;
|
||||||
}
|
}
|
||||||
_ACEOF
|
_ACEOF
|
||||||
rm -f conftest$ac_exeext
|
rm -f conftest.$ac_objext
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||||
(eval $ac_link) 2>&5
|
(eval $ac_compile) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
(exit $ac_status); } &&
|
||||||
|
{ ac_try='test -s conftest.$ac_objext'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
||||||
:
|
ac_cv_have_decl_strerror=yes
|
||||||
else
|
else
|
||||||
echo "$as_me: program exited with status $ac_status" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
echo "$as_me: failed program was:" >&5
|
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
ac_cv_have_decl_strerror=no
|
||||||
ac_cv_header_stdc=no
|
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
|
||||||
fi
|
echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
|
||||||
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
if test $ac_cv_have_decl_strerror = yes; then
|
||||||
echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
|
||||||
if test $ac_cv_header_stdc = yes; then
|
|
||||||
|
|
||||||
cat >>confdefs.h <<\_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
#define STDC_HEADERS 1
|
#define HAVE_DECL_STRERROR 1
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
else
|
||||||
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
#define HAVE_DECL_STRERROR 0
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
@@ -6436,28 +6381,35 @@ _ACEOF
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if test $ac_cv_func_strerror_r = yes; then
|
echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
|
||||||
|
echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
|
||||||
for ac_header in string.h
|
if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
|
||||||
do
|
|
||||||
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
||||||
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
||||||
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
||||||
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
||||||
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
fi
|
|
||||||
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
||||||
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
||||||
else
|
else
|
||||||
# Is the header compilable?
|
|
||||||
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
ac_cv_func_strerror_r_char_p=no
|
||||||
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
if test $ac_cv_have_decl_strerror_r = yes; then
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
#line $LINENO "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
$ac_includes_default
|
$ac_includes_default
|
||||||
#include <$ac_header>
|
#ifdef F77_DUMMY_MAIN
|
||||||
|
# ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
# endif
|
||||||
|
int F77_DUMMY_MAIN() { return 1; }
|
||||||
|
#endif
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
char buf[100];
|
||||||
|
char x = *strerror_r (0, buf, sizeof buf);
|
||||||
|
char *p = strerror_r (0, buf, sizeof buf);
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
_ACEOF
|
_ACEOF
|
||||||
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||||
@@ -6471,23 +6423,88 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|||||||
ac_status=$?
|
ac_status=$?
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
||||||
ac_header_compiler=yes
|
ac_cv_func_strerror_r_char_p=yes
|
||||||
else
|
else
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
ac_header_compiler=no
|
|
||||||
fi
|
fi
|
||||||
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
||||||
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
else
|
||||||
echo "${ECHO_T}$ac_header_compiler" >&6
|
# strerror_r is not declared. Choose between
|
||||||
|
# systems that have relatively inaccessible declarations for the
|
||||||
# Is the header present?
|
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
|
||||||
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
# former has a strerror_r that returns char*, while the latter
|
||||||
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
# has a strerror_r that returns `int'.
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
# This test should segfault on the DEC system.
|
||||||
|
if test "$cross_compiling" = yes; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
#line $LINENO "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <$ac_header>
|
$ac_includes_default
|
||||||
|
extern char *strerror_r ();
|
||||||
|
#ifdef F77_DUMMY_MAIN
|
||||||
|
# ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
# endif
|
||||||
|
int F77_DUMMY_MAIN() { return 1; }
|
||||||
|
#endif
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
char buf[100];
|
||||||
|
char x = *strerror_r (0, buf, sizeof buf);
|
||||||
|
exit (!isalpha (x));
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
rm -f conftest$ac_exeext
|
||||||
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||||
|
(eval $ac_link) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; }; then
|
||||||
|
ac_cv_func_strerror_r_char_p=yes
|
||||||
|
else
|
||||||
|
echo "$as_me: program exited with status $ac_status" >&5
|
||||||
|
echo "$as_me: failed program was:" >&5
|
||||||
|
cat conftest.$ac_ext >&5
|
||||||
|
fi
|
||||||
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
|
||||||
|
echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
|
||||||
|
if test $ac_cv_func_strerror_r_char_p = yes; then
|
||||||
|
|
||||||
|
cat >>confdefs.h <<\_ACEOF
|
||||||
|
#define STRERROR_R_CHAR_P 1
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
||||||
|
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
||||||
|
if test "${ac_cv_header_stdc+set}" = set; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
#line $LINENO "configure"
|
||||||
|
#include "confdefs.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <float.h>
|
||||||
|
|
||||||
_ACEOF
|
_ACEOF
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
||||||
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
||||||
@@ -6506,131 +6523,80 @@ else
|
|||||||
ac_cpp_err=yes
|
ac_cpp_err=yes
|
||||||
fi
|
fi
|
||||||
if test -z "$ac_cpp_err"; then
|
if test -z "$ac_cpp_err"; then
|
||||||
ac_header_preproc=yes
|
ac_cv_header_stdc=yes
|
||||||
else
|
else
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
ac_header_preproc=no
|
ac_cv_header_stdc=no
|
||||||
fi
|
fi
|
||||||
rm -f conftest.err conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_ext
|
||||||
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
||||||
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
||||||
|
|
||||||
# So? What about this header?
|
if test $ac_cv_header_stdc = yes; then
|
||||||
case $ac_header_compiler:$ac_header_preproc in
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
||||||
yes:no )
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
||||||
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
||||||
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
||||||
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
|
|
||||||
no:yes )
|
|
||||||
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
|
|
||||||
echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
|
|
||||||
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
||||||
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
||||||
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
||||||
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
|
|
||||||
esac
|
|
||||||
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
||||||
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
||||||
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
||||||
else
|
|
||||||
eval "$as_ac_Header=$ac_header_preproc"
|
|
||||||
fi
|
|
||||||
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
||||||
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
||||||
|
|
||||||
fi
|
|
||||||
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
|
||||||
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
||||||
_ACEOF
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "$as_me:$LINENO: checking for working strerror_r" >&5
|
|
||||||
echo $ECHO_N "checking for working strerror_r... $ECHO_C" >&6
|
|
||||||
if test "${ac_cv_func_strerror_r_works+set}" = set; then
|
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
||||||
else
|
|
||||||
|
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
|
||||||
#line $LINENO "configure"
|
#line $LINENO "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
# include <stdio.h>
|
|
||||||
# if HAVE_STRING_H
|
|
||||||
# include <string.h>
|
|
||||||
# endif
|
|
||||||
|
|
||||||
#ifdef F77_DUMMY_MAIN
|
|
||||||
# ifdef __cplusplus
|
|
||||||
extern "C"
|
|
||||||
# endif
|
|
||||||
int F77_DUMMY_MAIN() { return 1; }
|
|
||||||
#endif
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
|
|
||||||
char buf[100];
|
|
||||||
char x = *strerror_r (0, buf, sizeof buf);
|
|
||||||
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
_ACEOF
|
||||||
rm -f conftest.$ac_objext
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
egrep "memchr" >/dev/null 2>&1; then
|
||||||
(eval $ac_compile) 2>&5
|
:
|
||||||
ac_status=$?
|
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
||||||
(exit $ac_status); } &&
|
|
||||||
{ ac_try='test -s conftest.$ac_objext'
|
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
||||||
(eval $ac_try) 2>&5
|
|
||||||
ac_status=$?
|
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
||||||
(exit $ac_status); }; }; then
|
|
||||||
ac_cv_func_strerror_r_works=yes
|
|
||||||
else
|
else
|
||||||
echo "$as_me: failed program was:" >&5
|
ac_cv_header_stdc=no
|
||||||
cat conftest.$ac_ext >&5
|
fi
|
||||||
ac_cv_func_strerror_r_works=no
|
rm -f conftest*
|
||||||
|
|
||||||
fi
|
fi
|
||||||
rm -f conftest.$ac_objext conftest.$ac_ext
|
|
||||||
if test $ac_cv_func_strerror_r_works = no; then
|
if test $ac_cv_header_stdc = yes; then
|
||||||
# strerror_r seems not to work, but now we have to choose between
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
||||||
# systems that have relatively inaccessible declarations for the
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
|
#line $LINENO "configure"
|
||||||
# former has a strerror_r that returns char*, while the latter
|
#include "confdefs.h"
|
||||||
# has a strerror_r that returns `int'.
|
#include <stdlib.h>
|
||||||
# This test should segfault on the DEC system.
|
|
||||||
if test "$cross_compiling" = yes; then
|
_ACEOF
|
||||||
ac_cv_func_strerror_r_works=no
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||||
|
egrep "free" >/dev/null 2>&1; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
ac_cv_header_stdc=no
|
||||||
|
fi
|
||||||
|
rm -f conftest*
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $ac_cv_header_stdc = yes; then
|
||||||
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
||||||
|
if test "$cross_compiling" = yes; then
|
||||||
|
:
|
||||||
else
|
else
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
#line $LINENO "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
#include <ctype.h>
|
||||||
|
#if ((' ' & 0x0FF) == 0x020)
|
||||||
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
||||||
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
||||||
|
#else
|
||||||
|
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
|
||||||
|
|| ('j' <= (c) && (c) <= 'r') \
|
||||||
|
|| ('s' <= (c) && (c) <= 'z'))
|
||||||
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
||||||
|
#endif
|
||||||
|
|
||||||
# include <stdio.h>
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
||||||
# include <string.h>
|
int
|
||||||
# include <ctype.h>
|
main ()
|
||||||
|
{
|
||||||
extern char *strerror_r ();
|
int i;
|
||||||
|
for (i = 0; i < 256; i++)
|
||||||
int
|
if (XOR (islower (i), ISLOWER (i))
|
||||||
main ()
|
|| toupper (i) != TOUPPER (i))
|
||||||
{
|
exit(2);
|
||||||
char buf[100];
|
exit (0);
|
||||||
char x = *strerror_r (0, buf, sizeof buf);
|
}
|
||||||
exit (!isalpha (x));
|
|
||||||
}
|
|
||||||
|
|
||||||
_ACEOF
|
_ACEOF
|
||||||
rm -f conftest$ac_exeext
|
rm -f conftest$ac_exeext
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||||
@@ -6643,28 +6609,26 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|||||||
ac_status=$?
|
ac_status=$?
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
||||||
ac_cv_func_strerror_r_works=yes
|
:
|
||||||
else
|
else
|
||||||
echo "$as_me: program exited with status $ac_status" >&5
|
echo "$as_me: program exited with status $ac_status" >&5
|
||||||
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
ac_cv_func_strerror_r_works=no
|
ac_cv_header_stdc=no
|
||||||
fi
|
fi
|
||||||
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_works" >&5
|
fi
|
||||||
echo "${ECHO_T}$ac_cv_func_strerror_r_works" >&6
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
||||||
if test $ac_cv_func_strerror_r_works = yes; then
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
||||||
|
if test $ac_cv_header_stdc = yes; then
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<\_ACEOF
|
||||||
#define HAVE_WORKING_STRERROR_R 1
|
#define STDC_HEADERS 1
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
|
echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
|
||||||
@@ -8333,7 +8297,7 @@ echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
|
|||||||
|
|
||||||
POSUB=po
|
POSUB=po
|
||||||
fi
|
fi
|
||||||
ac_config_commands="$ac_config_commands default-2"
|
ac_config_commands="$ac_config_commands default-1"
|
||||||
|
|
||||||
if test "$PACKAGE" = gettext; then
|
if test "$PACKAGE" = gettext; then
|
||||||
BUILD_INCLUDED_LIBINTL=yes
|
BUILD_INCLUDED_LIBINTL=yes
|
||||||
@@ -8384,7 +8348,7 @@ done
|
|||||||
else
|
else
|
||||||
echo "$as_me:$LINENO: checking version of bison" >&5
|
echo "$as_me:$LINENO: checking version of bison" >&5
|
||||||
echo $ECHO_N "checking version of bison... $ECHO_C" >&6
|
echo $ECHO_N "checking version of bison... $ECHO_C" >&6
|
||||||
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
||||||
case $ac_prog_version in
|
case $ac_prog_version in
|
||||||
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
||||||
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
|
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
|
||||||
@@ -8543,7 +8507,7 @@ ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
|||||||
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
||||||
cat >$CONFIG_STATUS <<_ACEOF
|
cat >$CONFIG_STATUS <<_ACEOF
|
||||||
#! $SHELL
|
#! $SHELL
|
||||||
# Generated automatically by $as_me.
|
# Generated by $as_me.
|
||||||
# Run this file to recreate the current configuration.
|
# Run this file to recreate the current configuration.
|
||||||
# Compiler output produced by configure, useful for debugging
|
# Compiler output produced by configure, useful for debugging
|
||||||
# configure, is in config.log if it exists.
|
# configure, is in config.log if it exists.
|
||||||
@@ -8567,7 +8531,16 @@ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Name of the executable.
|
# Name of the executable.
|
||||||
as_me=`echo "$0" |sed 's,\(.*[\\/]\+\)\?\([^\\/]\+\)[\\/]*,\2,'`
|
as_me=`(basename "$0") 2>/dev/null ||
|
||||||
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
||||||
|
X"$0" : 'X\(//\)$' \| \
|
||||||
|
X"$0" : 'X\(/\)$' \| \
|
||||||
|
. : '\(.\)' 2>/dev/null ||
|
||||||
|
echo X/"$0" |
|
||||||
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
||||||
|
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
||||||
|
/^X\/\(\/\).*/{ s//\1/; q; }
|
||||||
|
s/.*/./; q'`
|
||||||
|
|
||||||
# Rewrite early, but we need PATH_SEPARATOR.
|
# Rewrite early, but we need PATH_SEPARATOR.
|
||||||
# The user is always right.
|
# The user is always right.
|
||||||
@@ -8745,14 +8718,14 @@ _ASBOX
|
|||||||
} >&5
|
} >&5
|
||||||
cat >&5 <<_CSEOF
|
cat >&5 <<_CSEOF
|
||||||
|
|
||||||
This file was extended by GNU Bison $as_me 1.29f, which was
|
This file was extended by GNU Bison $as_me 1.30, 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
|
||||||
CONFIG_HEADERS = $CONFIG_HEADERS
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
||||||
CONFIG_LINKS = $CONFIG_LINKS
|
CONFIG_LINKS = $CONFIG_LINKS
|
||||||
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
||||||
$ $@
|
$ $0 $@
|
||||||
|
|
||||||
_CSEOF
|
_CSEOF
|
||||||
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
||||||
@@ -8807,7 +8780,7 @@ _ACEOF
|
|||||||
|
|
||||||
cat >>$CONFIG_STATUS <<_ACEOF
|
cat >>$CONFIG_STATUS <<_ACEOF
|
||||||
ac_cs_version="\\
|
ac_cs_version="\\
|
||||||
GNU Bison config.status 1.29f
|
GNU Bison config.status 1.30
|
||||||
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'`\\"
|
||||||
|
|
||||||
@@ -8896,8 +8869,7 @@ PACKAGE_VERSION='$PACKAGE_VERSION'
|
|||||||
PACKAGE_STRING='$PACKAGE_STRING'
|
PACKAGE_STRING='$PACKAGE_STRING'
|
||||||
PACKAGE_BUGREPORT='$PACKAGE_BUGREPORT'
|
PACKAGE_BUGREPORT='$PACKAGE_BUGREPORT'
|
||||||
|
|
||||||
AMDEP_TRUE="$AMDEP_TRUE"
|
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
||||||
ac_aux_dir="$ac_aux_dir"
|
|
||||||
|
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
@@ -8919,8 +8891,8 @@ do
|
|||||||
"tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
|
"tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
|
||||||
"tests/package.m4" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/package.m4" ;;
|
"tests/package.m4" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/package.m4" ;;
|
||||||
"tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
|
"tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
|
||||||
|
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
||||||
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
|
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
|
||||||
"default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
|
|
||||||
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
|
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
|
||||||
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
||||||
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
||||||
@@ -9130,7 +9102,8 @@ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
||||||
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
||||||
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
X"$ac_file" : 'X\(//\)[^/]' \| \
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
||||||
X"$ac_file" : 'X\(//\)$' \| \
|
X"$ac_file" : 'X\(//\)$' \| \
|
||||||
X"$ac_file" : 'X\(/\)' \| \
|
X"$ac_file" : 'X\(/\)' \| \
|
||||||
@@ -9205,9 +9178,14 @@ echo "$as_me: creating $ac_file" >&6;}
|
|||||||
fi
|
fi
|
||||||
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
||||||
# use $as_me), people would be surprised to read:
|
# use $as_me), people would be surprised to read:
|
||||||
# /* config.h. Generated automatically by config.status. */
|
# /* config.h. Generated by config.status. */
|
||||||
configure_input="Generated automatically from `echo $ac_file_in |
|
if test x"$ac_file" = x-; then
|
||||||
sed 's,.*/,,'` by configure."
|
configure_input=
|
||||||
|
else
|
||||||
|
configure_input="$ac_file. "
|
||||||
|
fi
|
||||||
|
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
||||||
|
sed 's,.*/,,'` by configure."
|
||||||
|
|
||||||
# First look for the input files in the build tree, otherwise in the
|
# First look for the input files in the build tree, otherwise in the
|
||||||
# src tree.
|
# src tree.
|
||||||
@@ -9432,11 +9410,11 @@ rm -f conftest.undefs
|
|||||||
cat >>$CONFIG_STATUS <<\_ACEOF
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
||||||
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
||||||
# use $as_me), people would be surprised to read:
|
# use $as_me), people would be surprised to read:
|
||||||
# /* config.h. Generated automatically by config.status. */
|
# /* config.h. Generated by config.status. */
|
||||||
if test x"$ac_file" = x-; then
|
if test x"$ac_file" = x-; then
|
||||||
echo "/* Generated automatically by configure. */" >$tmp/config.h
|
echo "/* Generated by configure. */" >$tmp/config.h
|
||||||
else
|
else
|
||||||
echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
|
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
||||||
fi
|
fi
|
||||||
cat $tmp/in >>$tmp/config.h
|
cat $tmp/in >>$tmp/config.h
|
||||||
rm -f $tmp/in
|
rm -f $tmp/in
|
||||||
@@ -9445,7 +9423,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF
|
|||||||
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
||||||
echo "$as_me: $ac_file is unchanged" >&6;}
|
echo "$as_me: $ac_file is unchanged" >&6;}
|
||||||
else
|
else
|
||||||
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
||||||
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
X"$ac_file" : 'X\(//\)[^/]' \| \
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
||||||
X"$ac_file" : 'X\(//\)$' \| \
|
X"$ac_file" : 'X\(//\)$' \| \
|
||||||
X"$ac_file" : 'X\(/\)' \| \
|
X"$ac_file" : 'X\(/\)' \| \
|
||||||
@@ -9486,7 +9465,7 @@ done; }
|
|||||||
# Run the commands associated with the file.
|
# Run the commands associated with the file.
|
||||||
case $ac_file in
|
case $ac_file in
|
||||||
config.h ) # update the timestamp
|
config.h ) # update the timestamp
|
||||||
echo timestamp >"./stamp-h1"
|
echo 'timestamp for config.h:config.hin' >"./stamp-h1"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@@ -9499,7 +9478,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF
|
|||||||
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
||||||
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
||||||
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
||||||
ac_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
||||||
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
X"$ac_dest" : 'X\(//\)[^/]' \| \
|
X"$ac_dest" : 'X\(//\)[^/]' \| \
|
||||||
X"$ac_dest" : 'X\(//\)$' \| \
|
X"$ac_dest" : 'X\(//\)$' \| \
|
||||||
X"$ac_dest" : 'X\(/\)' \| \
|
X"$ac_dest" : 'X\(/\)' \| \
|
||||||
@@ -9573,12 +9553,21 @@ AUTOTEST_PATH='tests'
|
|||||||
SHELL=\${CONFIG_SHELL-'$SHELL'}
|
SHELL=\${CONFIG_SHELL-'$SHELL'}
|
||||||
ATEOF
|
ATEOF
|
||||||
;;
|
;;
|
||||||
default-1 )
|
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
||||||
test x"$AMDEP_TRUE" != x"" ||
|
case $mf in
|
||||||
for mf in $CONFIG_FILES; do
|
|
||||||
case "$mf" in
|
|
||||||
Makefile) dirpart=.;;
|
Makefile) dirpart=.;;
|
||||||
*/Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
|
*/Makefile) dirpart=`(dirname "$mf") 2>/dev/null ||
|
||||||
|
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
|
X"$mf" : 'X\(//\)[^/]' \| \
|
||||||
|
X"$mf" : 'X\(//\)$' \| \
|
||||||
|
X"$mf" : 'X\(/\)' \| \
|
||||||
|
. : '\(.\)' 2>/dev/null ||
|
||||||
|
echo X"$mf" |
|
||||||
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
||||||
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
||||||
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
||||||
|
/^X\(\/\).*/{ s//\1/; q; }
|
||||||
|
s/.*/./; q'`;;
|
||||||
*) continue;;
|
*) continue;;
|
||||||
esac
|
esac
|
||||||
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
|
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
|
||||||
@@ -9605,14 +9594,44 @@ for mf in $CONFIG_FILES; do
|
|||||||
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
||||||
# Make sure the directory exists.
|
# Make sure the directory exists.
|
||||||
test -f "$dirpart/$file" && continue
|
test -f "$dirpart/$file" && continue
|
||||||
fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
|
fdir=`(dirname "$file") 2>/dev/null ||
|
||||||
$ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
|
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
|
X"$file" : 'X\(//\)[^/]' \| \
|
||||||
|
X"$file" : 'X\(//\)$' \| \
|
||||||
|
X"$file" : 'X\(/\)' \| \
|
||||||
|
. : '\(.\)' 2>/dev/null ||
|
||||||
|
echo X"$file" |
|
||||||
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
||||||
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
||||||
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
||||||
|
/^X\(\/\).*/{ s//\1/; q; }
|
||||||
|
s/.*/./; q'`
|
||||||
|
{ case $dirpart/$fdir in
|
||||||
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
||||||
|
*) as_incr_dir=.;;
|
||||||
|
esac
|
||||||
|
as_dummy=$dirpart/$fdir
|
||||||
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
||||||
|
case $as_mkdir_dir in
|
||||||
|
# Skip DOS drivespec
|
||||||
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
||||||
|
*)
|
||||||
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
||||||
|
test -d "$as_incr_dir" ||
|
||||||
|
mkdir "$as_incr_dir" ||
|
||||||
|
{ { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5
|
||||||
|
echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}
|
||||||
|
{ (exit 1); exit 1; }; }
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done; }
|
||||||
|
|
||||||
# echo "creating $dirpart/$file"
|
# echo "creating $dirpart/$file"
|
||||||
echo '# dummy' > "$dirpart/$file"
|
echo '# dummy' > "$dirpart/$file"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
default-2 ) for ac_file in $CONFIG_FILES; do
|
default-1 ) for ac_file in $CONFIG_FILES; do
|
||||||
# Support "outfile[:infile[:infile...]]"
|
# Support "outfile[:infile[:infile...]]"
|
||||||
case "$ac_file" in
|
case "$ac_file" in
|
||||||
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
||||||
|
|||||||
+2
-2
@@ -18,10 +18,10 @@
|
|||||||
# 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.29f], [[email protected]])
|
AC_INIT([GNU Bison], [1.30], [[email protected]])
|
||||||
AC_CONFIG_AUX_DIR(config)
|
AC_CONFIG_AUX_DIR(config)
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([bison], [1.29f])
|
AM_INIT_AUTOMAKE([bison], [1.30])
|
||||||
AM_CONFIG_HEADER(config.h:config.hin)
|
AM_CONFIG_HEADER(config.h:config.hin)
|
||||||
|
|
||||||
# Initialize the test suite.
|
# Initialize the test suite.
|
||||||
|
|||||||
+3
-4
@@ -1,4 +1,5 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
# Makefile.in generated by automake 1.5a from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
# 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.
|
||||||
@@ -131,9 +132,7 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(AUTOMAKE) --gnu doc/Makefile
|
$(AUTOMAKE) --gnu doc/Makefile
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
||||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
|
||||||
|
|
||||||
$(srcdir)/version.texi: $(srcdir)/stamp-vti
|
$(srcdir)/version.texi: $(srcdir)/stamp-vti
|
||||||
@:
|
@:
|
||||||
|
|||||||
+106
-106
@@ -31,115 +31,115 @@ instead of in the original English.
|
|||||||
|
|
||||||
Indirect:
|
Indirect:
|
||||||
bison.info-1: 1313
|
bison.info-1: 1313
|
||||||
bison.info-2: 50691
|
bison.info-2: 50689
|
||||||
bison.info-3: 100581
|
bison.info-3: 100579
|
||||||
bison.info-4: 150131
|
bison.info-4: 150129
|
||||||
bison.info-5: 197908
|
bison.info-5: 197906
|
||||||
|
|
||||||
Tag Table:
|
Tag Table:
|
||||||
(Indirect)
|
(Indirect)
|
||||||
Node: Top1313
|
Node: Top1313
|
||||||
Node: Introduction8969
|
Node: Introduction8968
|
||||||
Node: Conditions10244
|
Node: Conditions10242
|
||||||
Node: Copying11708
|
Node: Copying11706
|
||||||
Node: Concepts30911
|
Node: Concepts30909
|
||||||
Node: Language and Grammar31990
|
Node: Language and Grammar31988
|
||||||
Node: Grammar in Bison37006
|
Node: Grammar in Bison37004
|
||||||
Node: Semantic Values38930
|
Node: Semantic Values38928
|
||||||
Node: Semantic Actions41031
|
Node: Semantic Actions41029
|
||||||
Node: Locations Overview42220
|
Node: Locations Overview42218
|
||||||
Node: Bison Parser43667
|
Node: Bison Parser43665
|
||||||
Node: Stages45979
|
Node: Stages45977
|
||||||
Node: Grammar Layout47262
|
Node: Grammar Layout47260
|
||||||
Node: Examples48519
|
Node: Examples48517
|
||||||
Node: RPN Calc49717
|
Node: RPN Calc49715
|
||||||
Node: Rpcalc Decls50691
|
Node: Rpcalc Decls50689
|
||||||
Node: Rpcalc Rules52278
|
Node: Rpcalc Rules52276
|
||||||
Node: Rpcalc Input54078
|
Node: Rpcalc Input54076
|
||||||
Node: Rpcalc Line55539
|
Node: Rpcalc Line55537
|
||||||
Node: Rpcalc Expr56654
|
Node: Rpcalc Expr56652
|
||||||
Node: Rpcalc Lexer58599
|
Node: Rpcalc Lexer58597
|
||||||
Node: Rpcalc Main61171
|
Node: Rpcalc Main61169
|
||||||
Node: Rpcalc Error61569
|
Node: Rpcalc Error61567
|
||||||
Node: Rpcalc Gen62577
|
Node: Rpcalc Gen62575
|
||||||
Node: Rpcalc Compile63726
|
Node: Rpcalc Compile63724
|
||||||
Node: Infix Calc64601
|
Node: Infix Calc64599
|
||||||
Node: Simple Error Recovery67308
|
Node: Simple Error Recovery67306
|
||||||
Node: Location Tracking Calc69197
|
Node: Location Tracking Calc69195
|
||||||
Node: Ltcalc Decls69927
|
Node: Ltcalc Decls69925
|
||||||
Node: Ltcalc Rules70836
|
Node: Ltcalc Rules70834
|
||||||
Node: Ltcalc Lexer72897
|
Node: Ltcalc Lexer72895
|
||||||
Node: Multi-function Calc75235
|
Node: Multi-function Calc75233
|
||||||
Node: Mfcalc Decl76802
|
Node: Mfcalc Decl76800
|
||||||
Node: Mfcalc Rules78825
|
Node: Mfcalc Rules78823
|
||||||
Node: Mfcalc Symtab80205
|
Node: Mfcalc Symtab80203
|
||||||
Node: Exercises86578
|
Node: Exercises86576
|
||||||
Node: Grammar File87084
|
Node: Grammar File87082
|
||||||
Node: Grammar Outline87932
|
Node: Grammar Outline87930
|
||||||
Node: C Declarations88666
|
Node: C Declarations88664
|
||||||
Node: Bison Declarations89246
|
Node: Bison Declarations89244
|
||||||
Node: Grammar Rules89658
|
Node: Grammar Rules89656
|
||||||
Node: C Code90118
|
Node: C Code90116
|
||||||
Node: Symbols91048
|
Node: Symbols91046
|
||||||
Node: Rules96129
|
Node: Rules96127
|
||||||
Node: Recursion97768
|
Node: Recursion97766
|
||||||
Node: Semantics99487
|
Node: Semantics99485
|
||||||
Node: Value Type100581
|
Node: Value Type100579
|
||||||
Node: Multiple Types101253
|
Node: Multiple Types101251
|
||||||
Node: Actions102270
|
Node: Actions102268
|
||||||
Node: Action Types105055
|
Node: Action Types105053
|
||||||
Node: Mid-Rule Actions106358
|
Node: Mid-Rule Actions106356
|
||||||
Node: Locations111928
|
Node: Locations111926
|
||||||
Node: Location Type112576
|
Node: Location Type112574
|
||||||
Node: Actions and Locations113134
|
Node: Actions and Locations113132
|
||||||
Node: Location Default Action115290
|
Node: Location Default Action115288
|
||||||
Node: Declarations116753
|
Node: Declarations116751
|
||||||
Node: Token Decl118072
|
Node: Token Decl118070
|
||||||
Node: Precedence Decl120085
|
Node: Precedence Decl120083
|
||||||
Node: Union Decl121636
|
Node: Union Decl121634
|
||||||
Node: Type Decl122480
|
Node: Type Decl122478
|
||||||
Node: Expect Decl123386
|
Node: Expect Decl123384
|
||||||
Node: Start Decl124932
|
Node: Start Decl124930
|
||||||
Node: Pure Decl125310
|
Node: Pure Decl125308
|
||||||
Node: Decl Summary126987
|
Node: Decl Summary126985
|
||||||
Node: Multiple Parsers132370
|
Node: Multiple Parsers132368
|
||||||
Node: Interface133864
|
Node: Interface133862
|
||||||
Node: Parser Function134736
|
Node: Parser Function134734
|
||||||
Node: Lexical135571
|
Node: Lexical135569
|
||||||
Node: Calling Convention136977
|
Node: Calling Convention136975
|
||||||
Node: Token Values139748
|
Node: Token Values139746
|
||||||
Node: Token Positions140897
|
Node: Token Positions140895
|
||||||
Node: Pure Calling141782
|
Node: Pure Calling141780
|
||||||
Node: Error Reporting144714
|
Node: Error Reporting144712
|
||||||
Node: Action Features146836
|
Node: Action Features146834
|
||||||
Node: Algorithm150131
|
Node: Algorithm150129
|
||||||
Node: Look-Ahead152424
|
Node: Look-Ahead152422
|
||||||
Node: Shift/Reduce154556
|
Node: Shift/Reduce154554
|
||||||
Node: Precedence157468
|
Node: Precedence157466
|
||||||
Node: Why Precedence158119
|
Node: Why Precedence158117
|
||||||
Node: Using Precedence159984
|
Node: Using Precedence159982
|
||||||
Node: Precedence Examples160952
|
Node: Precedence Examples160950
|
||||||
Node: How Precedence161653
|
Node: How Precedence161651
|
||||||
Node: Contextual Precedence162802
|
Node: Contextual Precedence162800
|
||||||
Node: Parser States164593
|
Node: Parser States164591
|
||||||
Node: Reduce/Reduce165836
|
Node: Reduce/Reduce165834
|
||||||
Node: Mystery Conflicts169397
|
Node: Mystery Conflicts169395
|
||||||
Node: Stack Overflow172783
|
Node: Stack Overflow172781
|
||||||
Node: Error Recovery174156
|
Node: Error Recovery174154
|
||||||
Node: Context Dependency179292
|
Node: Context Dependency179290
|
||||||
Node: Semantic Tokens180140
|
Node: Semantic Tokens180138
|
||||||
Node: Lexical Tie-ins183157
|
Node: Lexical Tie-ins183155
|
||||||
Node: Tie-in Recovery184705
|
Node: Tie-in Recovery184703
|
||||||
Node: Debugging186877
|
Node: Debugging186875
|
||||||
Node: Invocation190178
|
Node: Invocation190176
|
||||||
Node: Bison Options191430
|
Node: Bison Options191428
|
||||||
Node: Environment Variables195398
|
Node: Environment Variables195396
|
||||||
Node: Option Cross Key196246
|
Node: Option Cross Key196244
|
||||||
Node: VMS Invocation197124
|
Node: VMS Invocation197122
|
||||||
Node: Table of Symbols197908
|
Node: Table of Symbols197906
|
||||||
Node: Glossary205547
|
Node: Glossary205545
|
||||||
Node: Copying This Manual211851
|
Node: Copying This Manual211849
|
||||||
Node: GNU Free Documentation License212060
|
Node: GNU Free Documentation License212058
|
||||||
Node: Index231925
|
Node: Index231923
|
||||||
|
|
||||||
End Tag Table
|
End Tag Table
|
||||||
|
|||||||
+2
-2
@@ -34,7 +34,7 @@ File: bison.info, Node: Top, Next: Introduction, Up: (dir)
|
|||||||
Bison
|
Bison
|
||||||
*****
|
*****
|
||||||
|
|
||||||
This manual documents version 1.29f of Bison, updated 20 September
|
This manual documents version 1.30 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.29f of Bison.
|
This edition corresponds to version 1.30 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.29f
|
@set EDITION 1.30
|
||||||
@set VERSION 1.29f
|
@set VERSION 1.30
|
||||||
|
|||||||
+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.29f
|
@set EDITION 1.30
|
||||||
@set VERSION 1.29f
|
@set VERSION 1.30
|
||||||
|
|||||||
+4
-5
@@ -1,4 +1,5 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
# Makefile.in generated by automake 1.5a from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
# 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.
|
||||||
@@ -165,9 +166,7 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(AUTOMAKE) --gnu lib/Makefile
|
$(AUTOMAKE) --gnu lib/Makefile
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
||||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
|
||||||
|
|
||||||
AR = ar
|
AR = ar
|
||||||
|
|
||||||
@@ -193,7 +192,7 @@ clean-krextra:
|
|||||||
-rm -f ansi2knr
|
-rm -f ansi2knr
|
||||||
|
|
||||||
mostlyclean-kr:
|
mostlyclean-kr:
|
||||||
-rm -f *_.c
|
-test "$U" = "" || rm -f *_.c
|
||||||
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/error$U.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/error$U.Po@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt$U.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt$U.Po@am__quote@
|
||||||
|
|||||||
+198
-74
@@ -1,23 +1,22 @@
|
|||||||
/* Error handler for noninteractive utilities
|
/* Error handler for noninteractive utilities
|
||||||
Copyright (C) 1990-1998, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1990-1998, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of the GNU C Library. Its master source is NOT part of
|
This file is part of the GNU C Library. Its master source is NOT part of
|
||||||
the C library, however. The master source lives in /gd/gnu/lib.
|
the C library, however. The master source lives in /gd/gnu/lib.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Lesser General Public
|
||||||
published by the Free Software Foundation; either version 2 of the
|
License as published by the Free Software Foundation; either
|
||||||
License, or (at your option) any later version.
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Lesser General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
License along with the GNU C Library; if not, write to the Free
|
||||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
Boston, MA 02111-1307, USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
/* Written by David MacKenzie <[email protected]>. */
|
/* Written by David MacKenzie <[email protected]>. */
|
||||||
|
|
||||||
@@ -29,6 +28,10 @@
|
|||||||
#if HAVE_LIBINTL_H
|
#if HAVE_LIBINTL_H
|
||||||
# include <libintl.h>
|
# include <libintl.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef _LIBC
|
||||||
|
# include <wchar.h>
|
||||||
|
# define mbsrtowcs __mbsrtowcs
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC
|
#if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC
|
||||||
# if __STDC__
|
# if __STDC__
|
||||||
@@ -52,13 +55,6 @@ void exit ();
|
|||||||
|
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
|
|
||||||
#ifndef HAVE_DECL_STRERROR_R
|
|
||||||
"this configure-time declaration test was not run"
|
|
||||||
#endif
|
|
||||||
#if !HAVE_DECL_STRERROR_R
|
|
||||||
char *strerror_r ();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _
|
#ifndef _
|
||||||
# define _(String) String
|
# define _(String) String
|
||||||
#endif
|
#endif
|
||||||
@@ -83,6 +79,12 @@ unsigned int error_message_count;
|
|||||||
|
|
||||||
/* In GNU libc we want do not want to use the common name `error' directly.
|
/* In GNU libc we want do not want to use the common name `error' directly.
|
||||||
Instead make it a weak alias. */
|
Instead make it a weak alias. */
|
||||||
|
extern void __error (int status, int errnum, const char *message, ...)
|
||||||
|
__attribute__ ((__format__ (__printf__, 3, 4)));
|
||||||
|
extern void __error_at_line (int status, int errnum, const char *file_name,
|
||||||
|
unsigned int line_number, const char *message,
|
||||||
|
...)
|
||||||
|
__attribute__ ((__format__ (__printf__, 5, 6)));;
|
||||||
# define error __error
|
# define error __error
|
||||||
# define error_at_line __error_at_line
|
# define error_at_line __error_at_line
|
||||||
|
|
||||||
@@ -93,21 +95,30 @@ unsigned int error_message_count;
|
|||||||
|
|
||||||
#else /* not _LIBC */
|
#else /* not _LIBC */
|
||||||
|
|
||||||
|
# if !HAVE_DECL_STRERROR_R && STRERROR_R_CHAR_P
|
||||||
|
# ifndef HAVE_DECL_STRERROR_R
|
||||||
|
"this configure-time declaration test was not run"
|
||||||
|
# endif
|
||||||
|
char *strerror_r ();
|
||||||
|
# endif
|
||||||
|
|
||||||
/* The calling program should define program_name and set it to the
|
/* The calling program should define program_name and set it to the
|
||||||
name of the executing program. */
|
name of the executing program. */
|
||||||
extern char *program_name;
|
extern char *program_name;
|
||||||
|
|
||||||
# ifdef HAVE_STRERROR_R
|
# if HAVE_STRERROR_R || defined strerror_r
|
||||||
# define __strerror_r strerror_r
|
# define __strerror_r strerror_r
|
||||||
# else
|
# else
|
||||||
# if HAVE_STRERROR
|
# if HAVE_STRERROR
|
||||||
# ifndef strerror /* On some systems, strerror is a macro */
|
# ifndef HAVE_DECL_STRERROR
|
||||||
|
"this configure-time declaration test was not run"
|
||||||
|
# endif
|
||||||
|
# if !HAVE_DECL_STRERROR
|
||||||
char *strerror ();
|
char *strerror ();
|
||||||
# endif
|
# endif
|
||||||
# else
|
# else
|
||||||
static char *
|
static char *
|
||||||
private_strerror (errnum)
|
private_strerror (int errnum)
|
||||||
int errnum;
|
|
||||||
{
|
{
|
||||||
extern char *sys_errlist[];
|
extern char *sys_errlist[];
|
||||||
extern int sys_nerr;
|
extern int sys_nerr;
|
||||||
@@ -118,15 +129,118 @@ private_strerror (errnum)
|
|||||||
}
|
}
|
||||||
# define strerror private_strerror
|
# define strerror private_strerror
|
||||||
# endif /* HAVE_STRERROR */
|
# endif /* HAVE_STRERROR */
|
||||||
# endif /* HAVE_STRERROR_R */
|
# endif /* HAVE_STRERROR_R || defined strerror_r */
|
||||||
#endif /* not _LIBC */
|
#endif /* not _LIBC */
|
||||||
|
|
||||||
|
static void
|
||||||
|
print_errno_message (int errnum)
|
||||||
|
{
|
||||||
|
char const *s;
|
||||||
|
|
||||||
|
#if defined HAVE_STRERROR_R || _LIBC
|
||||||
|
char errbuf[1024];
|
||||||
|
# if STRERROR_R_CHAR_P || _LIBC
|
||||||
|
s = __strerror_r (errnum, errbuf, sizeof errbuf);
|
||||||
|
# else
|
||||||
|
if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0)
|
||||||
|
s = errbuf;
|
||||||
|
else
|
||||||
|
s = 0;
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
s = strerror (errnum);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !_LIBC
|
||||||
|
if (! s)
|
||||||
|
s = _("Unknown system error");
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if _LIBC && USE_IN_LIBIO
|
||||||
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
{
|
||||||
|
__fwprintf (stderr, L": %s", s);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
fprintf (stderr, ": %s", s);
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef VA_START
|
||||||
|
static void
|
||||||
|
error_tail (int status, int errnum, const char *message, va_list args)
|
||||||
|
{
|
||||||
|
# if HAVE_VPRINTF || _LIBC
|
||||||
|
# if _LIBC && USE_IN_LIBIO
|
||||||
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
{
|
||||||
|
# define ALLOCA_LIMIT 2000
|
||||||
|
size_t len = strlen (message) + 1;
|
||||||
|
wchar_t *wmessage = NULL;
|
||||||
|
mbstate_t st;
|
||||||
|
size_t res;
|
||||||
|
const char *tmp;
|
||||||
|
|
||||||
|
do
|
||||||
|
{
|
||||||
|
if (len < ALLOCA_LIMIT)
|
||||||
|
wmessage = (wchar_t *) alloca (len * sizeof (wchar_t));
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (wmessage != NULL && len / 2 < ALLOCA_LIMIT)
|
||||||
|
wmessage = NULL;
|
||||||
|
|
||||||
|
wmessage = (wchar_t *) realloc (wmessage,
|
||||||
|
len * sizeof (wchar_t));
|
||||||
|
|
||||||
|
if (wmessage == NULL)
|
||||||
|
{
|
||||||
|
fputws_unlocked (L"out of memory\n", stderr);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
memset (&st, '\0', sizeof (st));
|
||||||
|
tmp =message;
|
||||||
|
}
|
||||||
|
while ((res = mbsrtowcs (wmessage, &tmp, len, &st)) == len);
|
||||||
|
|
||||||
|
if (res == (size_t) -1)
|
||||||
|
/* The string cannot be converted. */
|
||||||
|
wmessage = (wchar_t *) L"???";
|
||||||
|
|
||||||
|
__vfwprintf (stderr, wmessage, args);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
# endif
|
||||||
|
vfprintf (stderr, message, args);
|
||||||
|
# else
|
||||||
|
_doprnt (message, args, stderr);
|
||||||
|
# endif
|
||||||
|
va_end (args);
|
||||||
|
|
||||||
|
++error_message_count;
|
||||||
|
if (errnum)
|
||||||
|
print_errno_message (errnum);
|
||||||
|
# if _LIBC && USE_IN_LIBIO
|
||||||
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
putwc (L'\n', stderr);
|
||||||
|
else
|
||||||
|
# endif
|
||||||
|
putc ('\n', stderr);
|
||||||
|
fflush (stderr);
|
||||||
|
if (status)
|
||||||
|
exit (status);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Print the program name and error message MESSAGE, which is a printf-style
|
/* Print the program name and error message MESSAGE, which is a printf-style
|
||||||
format string with optional args.
|
format string with optional args.
|
||||||
If ERRNUM is nonzero, print its corresponding system error message.
|
If ERRNUM is nonzero, print its corresponding system error message.
|
||||||
Exit with status STATUS if it is nonzero. */
|
Exit with status STATUS if it is nonzero. */
|
||||||
/* VARARGS */
|
/* VARARGS */
|
||||||
|
|
||||||
void
|
void
|
||||||
#if defined VA_START && __STDC__
|
#if defined VA_START && __STDC__
|
||||||
error (int status, int errnum, const char *message, ...)
|
error (int status, int errnum, const char *message, ...)
|
||||||
@@ -142,47 +256,48 @@ error (status, errnum, message, va_alist)
|
|||||||
va_list args;
|
va_list args;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
fflush (stdout);
|
||||||
|
#ifdef _LIBC
|
||||||
|
# ifdef USE_IN_LIBIO
|
||||||
|
_IO_flockfile (stderr);
|
||||||
|
# else
|
||||||
|
__flockfile (stderr);
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
if (error_print_progname)
|
if (error_print_progname)
|
||||||
(*error_print_progname) ();
|
(*error_print_progname) ();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fflush (stdout);
|
#if _LIBC && USE_IN_LIBIO
|
||||||
fprintf (stderr, "%s: ", program_name);
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
__fwprintf (stderr, L"%s: ", program_name);
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
fprintf (stderr, "%s: ", program_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef VA_START
|
#ifdef VA_START
|
||||||
VA_START (args, message);
|
VA_START (args, message);
|
||||||
# if HAVE_VPRINTF || _LIBC
|
error_tail (status, errnum, message, args);
|
||||||
vfprintf (stderr, message, args);
|
|
||||||
# else
|
|
||||||
_doprnt (message, args, stderr);
|
|
||||||
# endif
|
|
||||||
va_end (args);
|
|
||||||
#else
|
#else
|
||||||
fprintf (stderr, message, a1, a2, a3, a4, a5, a6, a7, a8);
|
fprintf (stderr, message, a1, a2, a3, a4, a5, a6, a7, a8);
|
||||||
#endif
|
|
||||||
|
|
||||||
++error_message_count;
|
++error_message_count;
|
||||||
if (errnum)
|
if (errnum)
|
||||||
{
|
print_errno_message (errnum);
|
||||||
#if defined HAVE_STRERROR_R || _LIBC
|
|
||||||
char errbuf[1024];
|
|
||||||
# if HAVE_WORKING_STRERROR_R || _LIBC
|
|
||||||
fprintf (stderr, ": %s", __strerror_r (errnum, errbuf, sizeof errbuf));
|
|
||||||
# else
|
|
||||||
/* Don't use __strerror_r's return value because on some systems
|
|
||||||
(at least DEC UNIX 4.0[A-D]) strerror_r returns `int'. */
|
|
||||||
__strerror_r (errnum, errbuf, sizeof errbuf);
|
|
||||||
fprintf (stderr, ": %s", errbuf);
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
fprintf (stderr, ": %s", strerror (errnum));
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
putc ('\n', stderr);
|
putc ('\n', stderr);
|
||||||
fflush (stderr);
|
fflush (stderr);
|
||||||
if (status)
|
if (status)
|
||||||
exit (status);
|
exit (status);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef _LIBC
|
||||||
|
# ifdef USE_IN_LIBIO
|
||||||
|
_IO_funlockfile (stderr);
|
||||||
|
# else
|
||||||
|
__funlockfile (stderr);
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sometimes we want to have at most one error per line. This
|
/* Sometimes we want to have at most one error per line. This
|
||||||
@@ -212,8 +327,9 @@ error_at_line (status, errnum, file_name, line_number, message, va_alist)
|
|||||||
static const char *old_file_name;
|
static const char *old_file_name;
|
||||||
static unsigned int old_line_number;
|
static unsigned int old_line_number;
|
||||||
|
|
||||||
if (old_line_number == line_number &&
|
if (old_line_number == line_number
|
||||||
(file_name == old_file_name || !strcmp (old_file_name, file_name)))
|
&& (file_name == old_file_name
|
||||||
|
|| strcmp (old_file_name, file_name) == 0))
|
||||||
/* Simply return and print nothing. */
|
/* Simply return and print nothing. */
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@@ -221,50 +337,58 @@ error_at_line (status, errnum, file_name, line_number, message, va_alist)
|
|||||||
old_line_number = line_number;
|
old_line_number = line_number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fflush (stdout);
|
||||||
|
#ifdef _LIBC
|
||||||
|
# ifdef USE_IN_LIBIO
|
||||||
|
_IO_flockfile (stderr);
|
||||||
|
# else
|
||||||
|
__flockfile (stderr);
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
if (error_print_progname)
|
if (error_print_progname)
|
||||||
(*error_print_progname) ();
|
(*error_print_progname) ();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fflush (stdout);
|
#if _LIBC && USE_IN_LIBIO
|
||||||
fprintf (stderr, "%s:", program_name);
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
__fwprintf (stderr, L"%s: ", program_name);
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
fprintf (stderr, "%s:", program_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_name != NULL)
|
if (file_name != NULL)
|
||||||
fprintf (stderr, "%s:%d: ", file_name, line_number);
|
{
|
||||||
|
#if _LIBC && USE_IN_LIBIO
|
||||||
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
__fwprintf (stderr, L"%s:%d: ", file_name, line_number);
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
fprintf (stderr, "%s:%d: ", file_name, line_number);
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef VA_START
|
#ifdef VA_START
|
||||||
VA_START (args, message);
|
VA_START (args, message);
|
||||||
# if HAVE_VPRINTF || _LIBC
|
error_tail (status, errnum, message, args);
|
||||||
vfprintf (stderr, message, args);
|
|
||||||
# else
|
|
||||||
_doprnt (message, args, stderr);
|
|
||||||
# endif
|
|
||||||
va_end (args);
|
|
||||||
#else
|
#else
|
||||||
fprintf (stderr, message, a1, a2, a3, a4, a5, a6, a7, a8);
|
fprintf (stderr, message, a1, a2, a3, a4, a5, a6, a7, a8);
|
||||||
#endif
|
|
||||||
|
|
||||||
++error_message_count;
|
++error_message_count;
|
||||||
if (errnum)
|
if (errnum)
|
||||||
{
|
print_errno_message (errnum);
|
||||||
#if defined HAVE_STRERROR_R || _LIBC
|
|
||||||
char errbuf[1024];
|
|
||||||
# if HAVE_WORKING_STRERROR_R || _LIBC
|
|
||||||
fprintf (stderr, ": %s", __strerror_r (errnum, errbuf, sizeof errbuf));
|
|
||||||
# else
|
|
||||||
/* Don't use __strerror_r's return value because on some systems
|
|
||||||
(at least DEC UNIX 4.0[A-D]) strerror_r returns `int'. */
|
|
||||||
__strerror_r (errnum, errbuf, sizeof errbuf);
|
|
||||||
fprintf (stderr, ": %s", errbuf);
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
fprintf (stderr, ": %s", strerror (errnum));
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
putc ('\n', stderr);
|
putc ('\n', stderr);
|
||||||
fflush (stderr);
|
fflush (stderr);
|
||||||
if (status)
|
if (status)
|
||||||
exit (status);
|
exit (status);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef _LIBC
|
||||||
|
# ifdef USE_IN_LIBIO
|
||||||
|
_IO_funlockfile (stderr);
|
||||||
|
# else
|
||||||
|
__funlockfile (stderr);
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#ifndef __attribute__
|
#ifndef __attribute__
|
||||||
/* This feature is available in gcc versions 2.5 and later. */
|
/* This feature is available in gcc versions 2.5 and later. */
|
||||||
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
|
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
|
||||||
# define __attribute__(Spec) /* empty */
|
# define __attribute__(Spec) /* empty */
|
||||||
# endif
|
# endif
|
||||||
/* The __-protected variants of `format' and `printf' attributes
|
/* The __-protected variants of `format' and `printf' attributes
|
||||||
|
|||||||
+59
-40
@@ -1,23 +1,25 @@
|
|||||||
/* Getopt for GNU.
|
/* Getopt for GNU.
|
||||||
NOTE: The canonical source of this file is maintained with the GNU
|
NOTE: getopt is now part of the C library, so if you don't know what
|
||||||
C Library. Bugs can be reported to bug-glibc@gnu.org.
|
"Keep this file name-space clean" means, talk to drepper@gnu.org
|
||||||
|
before changing it!
|
||||||
Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
|
Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
under the terms of the GNU General Public License as published by the
|
modify it under the terms of the GNU Lesser General Public
|
||||||
Free Software Foundation; either version 2, or (at your option) any
|
License as published by the Free Software Foundation; either
|
||||||
later version.
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Lesser General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with the GNU C Library; if not, write to the Free
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
|
02111-1307 USA. */
|
||||||
|
|
||||||
/* This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>.
|
/* This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>.
|
||||||
Ditto for AIX 3.2 and <stdlib.h>. */
|
Ditto for AIX 3.2 and <stdlib.h>. */
|
||||||
@@ -27,13 +29,13 @@
|
|||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
#else
|
#endif
|
||||||
# if !defined __STDC__ || !__STDC__
|
|
||||||
|
#if !defined __STDC__ || !__STDC__
|
||||||
/* This is a separate conditional since some stdc systems
|
/* This is a separate conditional since some stdc systems
|
||||||
reject `defined (const)'. */
|
reject `defined (const)'. */
|
||||||
# ifndef const
|
# ifndef const
|
||||||
# define const
|
# define const
|
||||||
# endif
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -75,11 +77,12 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _
|
#ifndef _
|
||||||
/* This is for other GNU distributions with internationalized messages.
|
/* This is for other GNU distributions with internationalized messages. */
|
||||||
When compiling libc, the _ macro is predefined. */
|
# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC
|
||||||
# ifdef HAVE_LIBINTL_H
|
|
||||||
# include <libintl.h>
|
# include <libintl.h>
|
||||||
# define _(msgid) gettext (msgid)
|
# ifndef _
|
||||||
|
# define _(msgid) gettext (msgid)
|
||||||
|
# endif
|
||||||
# else
|
# else
|
||||||
# define _(msgid) (msgid)
|
# define _(msgid) (msgid)
|
||||||
# endif
|
# endif
|
||||||
@@ -250,11 +253,13 @@ static int last_nonopt;
|
|||||||
/* Bash 2.0 gives us an environment variable containing flags
|
/* Bash 2.0 gives us an environment variable containing flags
|
||||||
indicating ARGV elements that should not be considered arguments. */
|
indicating ARGV elements that should not be considered arguments. */
|
||||||
|
|
||||||
|
#ifdef USE_NONOPTION_FLAGS
|
||||||
/* Defined in getopt_init.c */
|
/* Defined in getopt_init.c */
|
||||||
extern char *__getopt_nonoption_flags;
|
extern char *__getopt_nonoption_flags;
|
||||||
|
|
||||||
static int nonoption_flags_max_len;
|
static int nonoption_flags_max_len;
|
||||||
static int nonoption_flags_len;
|
static int nonoption_flags_len;
|
||||||
|
#endif
|
||||||
|
|
||||||
static int original_argc;
|
static int original_argc;
|
||||||
static char *const *original_argv;
|
static char *const *original_argv;
|
||||||
@@ -275,13 +280,17 @@ store_args_and_env (int argc, char *const *argv)
|
|||||||
text_set_element (__libc_subinit, store_args_and_env);
|
text_set_element (__libc_subinit, store_args_and_env);
|
||||||
# endif /* text_set_element */
|
# endif /* text_set_element */
|
||||||
|
|
||||||
# define SWAP_FLAGS(ch1, ch2) \
|
# ifdef USE_NONOPTION_FLAGS
|
||||||
|
# define SWAP_FLAGS(ch1, ch2) \
|
||||||
if (nonoption_flags_len > 0) \
|
if (nonoption_flags_len > 0) \
|
||||||
{ \
|
{ \
|
||||||
char __tmp = __getopt_nonoption_flags[ch1]; \
|
char __tmp = __getopt_nonoption_flags[ch1]; \
|
||||||
__getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \
|
__getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \
|
||||||
__getopt_nonoption_flags[ch2] = __tmp; \
|
__getopt_nonoption_flags[ch2] = __tmp; \
|
||||||
}
|
}
|
||||||
|
# else
|
||||||
|
# define SWAP_FLAGS(ch1, ch2)
|
||||||
|
# endif
|
||||||
#else /* !_LIBC */
|
#else /* !_LIBC */
|
||||||
# define SWAP_FLAGS(ch1, ch2)
|
# define SWAP_FLAGS(ch1, ch2)
|
||||||
#endif /* _LIBC */
|
#endif /* _LIBC */
|
||||||
@@ -313,7 +322,7 @@ exchange (argv)
|
|||||||
It leaves the longer segment in the right place overall,
|
It leaves the longer segment in the right place overall,
|
||||||
but it consists of two parts that need to be swapped next. */
|
but it consists of two parts that need to be swapped next. */
|
||||||
|
|
||||||
#ifdef _LIBC
|
#if defined _LIBC && defined USE_NONOPTION_FLAGS
|
||||||
/* First make sure the handling of the `__getopt_nonoption_flags'
|
/* First make sure the handling of the `__getopt_nonoption_flags'
|
||||||
string can work normally. Our top argument must be in the range
|
string can work normally. Our top argument must be in the range
|
||||||
of the string. */
|
of the string. */
|
||||||
@@ -417,7 +426,7 @@ _getopt_initialize (argc, argv, optstring)
|
|||||||
else
|
else
|
||||||
ordering = PERMUTE;
|
ordering = PERMUTE;
|
||||||
|
|
||||||
#ifdef _LIBC
|
#if defined _LIBC && defined USE_NONOPTION_FLAGS
|
||||||
if (posixly_correct == NULL
|
if (posixly_correct == NULL
|
||||||
&& argc == original_argc && argv == original_argv)
|
&& argc == original_argc && argv == original_argv)
|
||||||
{
|
{
|
||||||
@@ -515,6 +524,13 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
int *longind;
|
int *longind;
|
||||||
int long_only;
|
int long_only;
|
||||||
{
|
{
|
||||||
|
int print_errors = opterr;
|
||||||
|
if (optstring[0] == ':')
|
||||||
|
print_errors = 0;
|
||||||
|
|
||||||
|
if (argc < 1)
|
||||||
|
return -1;
|
||||||
|
|
||||||
optarg = NULL;
|
optarg = NULL;
|
||||||
|
|
||||||
if (optind == 0 || !__getopt_initialized)
|
if (optind == 0 || !__getopt_initialized)
|
||||||
@@ -529,7 +545,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
Either it does not have option syntax, or there is an environment flag
|
Either it does not have option syntax, or there is an environment flag
|
||||||
from the shell indicating it is not an option. The later information
|
from the shell indicating it is not an option. The later information
|
||||||
is only used when the used in the GNU libc. */
|
is only used when the used in the GNU libc. */
|
||||||
#ifdef _LIBC
|
#if defined _LIBC && defined USE_NONOPTION_FLAGS
|
||||||
# define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0' \
|
# define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0' \
|
||||||
|| (optind < nonoption_flags_len \
|
|| (optind < nonoption_flags_len \
|
||||||
&& __getopt_nonoption_flags[optind] == '1'))
|
&& __getopt_nonoption_flags[optind] == '1'))
|
||||||
@@ -664,14 +680,17 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
pfound = p;
|
pfound = p;
|
||||||
indfound = option_index;
|
indfound = option_index;
|
||||||
}
|
}
|
||||||
else
|
else if (long_only
|
||||||
|
|| pfound->has_arg != p->has_arg
|
||||||
|
|| pfound->flag != p->flag
|
||||||
|
|| pfound->val != p->val)
|
||||||
/* Second or later nonexact match found. */
|
/* Second or later nonexact match found. */
|
||||||
ambig = 1;
|
ambig = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ambig && !exact)
|
if (ambig && !exact)
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
fprintf (stderr, _("%s: option `%s' is ambiguous\n"),
|
fprintf (stderr, _("%s: option `%s' is ambiguous\n"),
|
||||||
argv[0], argv[optind]);
|
argv[0], argv[optind]);
|
||||||
nextchar += strlen (nextchar);
|
nextchar += strlen (nextchar);
|
||||||
@@ -692,7 +711,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
optarg = nameend + 1;
|
optarg = nameend + 1;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
{
|
{
|
||||||
if (argv[optind - 1][1] == '-')
|
if (argv[optind - 1][1] == '-')
|
||||||
/* --option */
|
/* --option */
|
||||||
@@ -718,7 +737,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
optarg = argv[optind++];
|
optarg = argv[optind++];
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("%s: option `%s' requires an argument\n"),
|
_("%s: option `%s' requires an argument\n"),
|
||||||
argv[0], argv[optind - 1]);
|
argv[0], argv[optind - 1]);
|
||||||
@@ -745,7 +764,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
if (!long_only || argv[optind][1] == '-'
|
if (!long_only || argv[optind][1] == '-'
|
||||||
|| my_index (optstring, *nextchar) == NULL)
|
|| my_index (optstring, *nextchar) == NULL)
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
{
|
{
|
||||||
if (argv[optind][1] == '-')
|
if (argv[optind][1] == '-')
|
||||||
/* --option */
|
/* --option */
|
||||||
@@ -775,7 +794,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
|
|
||||||
if (temp == NULL || c == ':')
|
if (temp == NULL || c == ':')
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
{
|
{
|
||||||
if (posixly_correct)
|
if (posixly_correct)
|
||||||
/* 1003.2 specifies the format of this message. */
|
/* 1003.2 specifies the format of this message. */
|
||||||
@@ -809,7 +828,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
}
|
}
|
||||||
else if (optind == argc)
|
else if (optind == argc)
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
{
|
{
|
||||||
/* 1003.2 specifies the format of this message. */
|
/* 1003.2 specifies the format of this message. */
|
||||||
fprintf (stderr, _("%s: option requires an argument -- %c\n"),
|
fprintf (stderr, _("%s: option requires an argument -- %c\n"),
|
||||||
@@ -858,7 +877,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
}
|
}
|
||||||
if (ambig && !exact)
|
if (ambig && !exact)
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"),
|
fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"),
|
||||||
argv[0], argv[optind]);
|
argv[0], argv[optind]);
|
||||||
nextchar += strlen (nextchar);
|
nextchar += strlen (nextchar);
|
||||||
@@ -876,7 +895,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
optarg = nameend + 1;
|
optarg = nameend + 1;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
fprintf (stderr, _("\
|
fprintf (stderr, _("\
|
||||||
%s: option `-W %s' doesn't allow an argument\n"),
|
%s: option `-W %s' doesn't allow an argument\n"),
|
||||||
argv[0], pfound->name);
|
argv[0], pfound->name);
|
||||||
@@ -891,7 +910,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
optarg = argv[optind++];
|
optarg = argv[optind++];
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("%s: option `%s' requires an argument\n"),
|
_("%s: option `%s' requires an argument\n"),
|
||||||
argv[0], argv[optind - 1]);
|
argv[0], argv[optind - 1]);
|
||||||
@@ -938,12 +957,12 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
}
|
}
|
||||||
else if (optind == argc)
|
else if (optind == argc)
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
{
|
{
|
||||||
/* 1003.2 specifies the format of this message. */
|
/* 1003.2 specifies the format of this message. */
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("%s: option requires an argument -- %c\n"),
|
_("%s: option requires an argument -- %c\n"),
|
||||||
argv[0], c);
|
argv[0], c);
|
||||||
}
|
}
|
||||||
optopt = c;
|
optopt = c;
|
||||||
if (optstring[0] == ':')
|
if (optstring[0] == ':')
|
||||||
|
|||||||
+27
-16
@@ -1,21 +1,21 @@
|
|||||||
/* Declarations for getopt.
|
/* Declarations for getopt.
|
||||||
Copyright (C) 1989,90,91,92,93,94,96,97,98 Free Software Foundation, Inc.
|
Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
|
||||||
NOTE: The canonical source of this file is maintained with the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Bugs can be reported to [email protected].
|
|
||||||
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,
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Lesser General Public
|
||||||
along with this program; if not, write to the Free Software
|
License along with the GNU C Library; if not, write to the Free
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
#ifndef _GETOPT_H
|
#ifndef _GETOPT_H
|
||||||
|
|
||||||
@@ -23,6 +23,17 @@
|
|||||||
# define _GETOPT_H 1
|
# define _GETOPT_H 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* If __GNU_LIBRARY__ is not already defined, either we are being used
|
||||||
|
standalone, or this is the first header included in the source file.
|
||||||
|
If we are being used with glibc, we need to include <features.h>, but
|
||||||
|
that does not exist if we are standalone. So: if __GNU_LIBRARY__ is
|
||||||
|
not defined, include <ctype.h>, which will pull in <features.h> for us
|
||||||
|
if it's from glibc. (Why ctype.h? It's guaranteed to exist and it
|
||||||
|
doesn't flood the namespace with stuff the way some other headers do.) */
|
||||||
|
#if !defined __GNU_LIBRARY__
|
||||||
|
# include <ctype.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@@ -82,7 +93,7 @@ extern int optopt;
|
|||||||
|
|
||||||
struct option
|
struct option
|
||||||
{
|
{
|
||||||
# if defined __STDC__ && __STDC__
|
# if (defined __STDC__ && __STDC__) || defined __cplusplus
|
||||||
const char *name;
|
const char *name;
|
||||||
# else
|
# else
|
||||||
char *name;
|
char *name;
|
||||||
@@ -126,7 +137,7 @@ struct option
|
|||||||
arguments to the option '\0'. This behavior is specific to the GNU
|
arguments to the option '\0'. This behavior is specific to the GNU
|
||||||
`getopt'. */
|
`getopt'. */
|
||||||
|
|
||||||
#if defined __STDC__ && __STDC__
|
#if (defined __STDC__ && __STDC__) || defined __cplusplus
|
||||||
# ifdef __GNU_LIBRARY__
|
# ifdef __GNU_LIBRARY__
|
||||||
/* Many other libraries have conflicting prototypes for getopt, with
|
/* Many other libraries have conflicting prototypes for getopt, with
|
||||||
differences in the consts, in stdlib.h. To avoid compilation
|
differences in the consts, in stdlib.h. To avoid compilation
|
||||||
|
|||||||
+16
-16
@@ -1,26 +1,29 @@
|
|||||||
/* getopt_long and getopt_long_only entry points for GNU getopt.
|
/* getopt_long and getopt_long_only entry points for GNU getopt.
|
||||||
Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
|
Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
NOTE: The canonical source of this file is maintained with the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Bugs can be reported to [email protected].
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
under the terms of the GNU General Public License as published by the
|
modify it under the terms of the GNU Lesser General Public
|
||||||
Free Software Foundation; either version 2, or (at your option) any
|
License as published by the Free Software Foundation; either
|
||||||
later version.
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Lesser General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with the GNU C Library; if not, write to the Free
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
|
02111-1307 USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#else
|
#endif
|
||||||
|
|
||||||
|
#include "getopt.h"
|
||||||
|
|
||||||
#if !defined __STDC__ || !__STDC__
|
#if !defined __STDC__ || !__STDC__
|
||||||
/* This is a separate conditional since some stdc systems
|
/* This is a separate conditional since some stdc systems
|
||||||
reject `defined (const)'. */
|
reject `defined (const)'. */
|
||||||
@@ -28,9 +31,6 @@
|
|||||||
#define const
|
#define const
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "getopt.h"
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|||||||
+94
-75
@@ -1,26 +1,25 @@
|
|||||||
/* obstack.c - subroutines used implicitly by object stack macros
|
/* obstack.c - subroutines used implicitly by object stack macros
|
||||||
Copyright (C) 1988-1994,96,97,98,99,2000 Free Software Foundation, Inc.
|
Copyright (C) 1988-1994,96,97,98,99,2000,2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of the GNU C Library. Its master source is NOT part of
|
This file is part of the GNU C Library. Its master source is NOT part of
|
||||||
the C library, however. The master source lives in /gd/gnu/lib.
|
the C library, however. The master source lives in /gd/gnu/lib.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Lesser General Public
|
||||||
published by the Free Software Foundation; either version 2 of the
|
License as published by the Free Software Foundation; either
|
||||||
License, or (at your option) any later version.
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Lesser General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
License along with the GNU C Library; if not, write to the Free
|
||||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
Boston, MA 02111-1307, USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "obstack.h"
|
#include "obstack.h"
|
||||||
@@ -40,40 +39,43 @@
|
|||||||
files, it is simpler to just do this in the source for each such file. */
|
files, it is simpler to just do this in the source for each such file. */
|
||||||
|
|
||||||
#include <stdio.h> /* Random thing to get __GNU_LIBRARY__. */
|
#include <stdio.h> /* Random thing to get __GNU_LIBRARY__. */
|
||||||
#if !defined (_LIBC) && defined (__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1
|
#if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
|
||||||
#include <gnu-versions.h>
|
# include <gnu-versions.h>
|
||||||
#if _GNU_OBSTACK_INTERFACE_VERSION == OBSTACK_INTERFACE_VERSION
|
# if _GNU_OBSTACK_INTERFACE_VERSION == OBSTACK_INTERFACE_VERSION
|
||||||
#define ELIDE_CODE
|
# define ELIDE_CODE
|
||||||
#endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined _LIBC && defined USE_IN_LIBIO
|
||||||
|
# include <wchar.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef ELIDE_CODE
|
#ifndef ELIDE_CODE
|
||||||
|
|
||||||
|
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
#define POINTER void *
|
# define POINTER void *
|
||||||
#else
|
# else
|
||||||
#define POINTER char *
|
# define POINTER char *
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
/* Determine default alignment. */
|
/* Determine default alignment. */
|
||||||
struct fooalign {char x; double d;};
|
struct fooalign {char x; double d;};
|
||||||
#define DEFAULT_ALIGNMENT \
|
# define DEFAULT_ALIGNMENT \
|
||||||
((PTR_INT_TYPE) ((char *) &((struct fooalign *) 0)->d - (char *) 0))
|
((PTR_INT_TYPE) ((char *) &((struct fooalign *) 0)->d - (char *) 0))
|
||||||
/* If malloc were really smart, it would round addresses to DEFAULT_ALIGNMENT.
|
/* If malloc were really smart, it would round addresses to DEFAULT_ALIGNMENT.
|
||||||
But in fact it might be less smart and round addresses to as much as
|
But in fact it might be less smart and round addresses to as much as
|
||||||
DEFAULT_ROUNDING. So we prepare for it to do that. */
|
DEFAULT_ROUNDING. So we prepare for it to do that. */
|
||||||
union fooround {long x; double d;};
|
union fooround {long x; double d;};
|
||||||
#define DEFAULT_ROUNDING (sizeof (union fooround))
|
# define DEFAULT_ROUNDING (sizeof (union fooround))
|
||||||
|
|
||||||
/* When we copy a long block of data, this is the unit to do it with.
|
/* When we copy a long block of data, this is the unit to do it with.
|
||||||
On some machines, copying successive ints does not work;
|
On some machines, copying successive ints does not work;
|
||||||
in such a case, redefine COPYING_UNIT to `long' (if that works)
|
in such a case, redefine COPYING_UNIT to `long' (if that works)
|
||||||
or `char' as a last resort. */
|
or `char' as a last resort. */
|
||||||
#ifndef COPYING_UNIT
|
# ifndef COPYING_UNIT
|
||||||
#define COPYING_UNIT int
|
# define COPYING_UNIT int
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
|
|
||||||
/* The functions allocating more room by calling `obstack_chunk_alloc'
|
/* The functions allocating more room by calling `obstack_chunk_alloc'
|
||||||
@@ -82,21 +84,21 @@ union fooround {long x; double d;};
|
|||||||
abort gracefully or use longjump - but shouldn't return. This
|
abort gracefully or use longjump - but shouldn't return. This
|
||||||
variable by default points to the internal function
|
variable by default points to the internal function
|
||||||
`print_and_abort'. */
|
`print_and_abort'. */
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
static void print_and_abort (void);
|
static void print_and_abort (void);
|
||||||
void (*obstack_alloc_failed_handler) (void) = print_and_abort;
|
void (*obstack_alloc_failed_handler) (void) = print_and_abort;
|
||||||
#else
|
# else
|
||||||
static void print_and_abort ();
|
static void print_and_abort ();
|
||||||
void (*obstack_alloc_failed_handler) () = print_and_abort;
|
void (*obstack_alloc_failed_handler) () = print_and_abort;
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
/* Exit value used when `print_and_abort' is used. */
|
/* Exit value used when `print_and_abort' is used. */
|
||||||
#if defined __GNU_LIBRARY__ || defined HAVE_STDLIB_H
|
# if defined __GNU_LIBRARY__ || defined HAVE_STDLIB_H
|
||||||
#include <stdlib.h>
|
# include <stdlib.h>
|
||||||
#endif
|
# endif
|
||||||
#ifndef EXIT_FAILURE
|
# ifndef EXIT_FAILURE
|
||||||
#define EXIT_FAILURE 1
|
# define EXIT_FAILURE 1
|
||||||
#endif
|
# endif
|
||||||
int obstack_exit_failure = EXIT_FAILURE;
|
int obstack_exit_failure = EXIT_FAILURE;
|
||||||
|
|
||||||
/* The non-GNU-C macros copy the obstack into this global variable
|
/* The non-GNU-C macros copy the obstack into this global variable
|
||||||
@@ -110,33 +112,33 @@ struct obstack *_obstack;
|
|||||||
For free, do not use ?:, since some compilers, like the MIPS compilers,
|
For free, do not use ?:, since some compilers, like the MIPS compilers,
|
||||||
do not allow (expr) ? void : void. */
|
do not allow (expr) ? void : void. */
|
||||||
|
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
#define CALL_CHUNKFUN(h, size) \
|
# define CALL_CHUNKFUN(h, size) \
|
||||||
(((h) -> use_extra_arg) \
|
(((h) -> use_extra_arg) \
|
||||||
? (*(h)->chunkfun) ((h)->extra_arg, (size)) \
|
? (*(h)->chunkfun) ((h)->extra_arg, (size)) \
|
||||||
: (*(struct _obstack_chunk *(*) (long)) (h)->chunkfun) ((size)))
|
: (*(struct _obstack_chunk *(*) (long)) (h)->chunkfun) ((size)))
|
||||||
|
|
||||||
#define CALL_FREEFUN(h, old_chunk) \
|
# define CALL_FREEFUN(h, old_chunk) \
|
||||||
do { \
|
do { \
|
||||||
if ((h) -> use_extra_arg) \
|
if ((h) -> use_extra_arg) \
|
||||||
(*(h)->freefun) ((h)->extra_arg, (old_chunk)); \
|
(*(h)->freefun) ((h)->extra_arg, (old_chunk)); \
|
||||||
else \
|
else \
|
||||||
(*(void (*) (void *)) (h)->freefun) ((old_chunk)); \
|
(*(void (*) (void *)) (h)->freefun) ((old_chunk)); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#else
|
# else
|
||||||
#define CALL_CHUNKFUN(h, size) \
|
# define CALL_CHUNKFUN(h, size) \
|
||||||
(((h) -> use_extra_arg) \
|
(((h) -> use_extra_arg) \
|
||||||
? (*(h)->chunkfun) ((h)->extra_arg, (size)) \
|
? (*(h)->chunkfun) ((h)->extra_arg, (size)) \
|
||||||
: (*(struct _obstack_chunk *(*) ()) (h)->chunkfun) ((size)))
|
: (*(struct _obstack_chunk *(*) ()) (h)->chunkfun) ((size)))
|
||||||
|
|
||||||
#define CALL_FREEFUN(h, old_chunk) \
|
# define CALL_FREEFUN(h, old_chunk) \
|
||||||
do { \
|
do { \
|
||||||
if ((h) -> use_extra_arg) \
|
if ((h) -> use_extra_arg) \
|
||||||
(*(h)->freefun) ((h)->extra_arg, (old_chunk)); \
|
(*(h)->freefun) ((h)->extra_arg, (old_chunk)); \
|
||||||
else \
|
else \
|
||||||
(*(void (*) ()) (h)->freefun) ((old_chunk)); \
|
(*(void (*) ()) (h)->freefun) ((old_chunk)); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
|
|
||||||
/* Initialize an obstack H for use. Specify chunk size SIZE (0 means default).
|
/* Initialize an obstack H for use. Specify chunk size SIZE (0 means default).
|
||||||
@@ -152,13 +154,13 @@ _obstack_begin (h, size, alignment, chunkfun, freefun)
|
|||||||
struct obstack *h;
|
struct obstack *h;
|
||||||
int size;
|
int size;
|
||||||
int alignment;
|
int alignment;
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
POINTER (*chunkfun) (long);
|
POINTER (*chunkfun) (long);
|
||||||
void (*freefun) (void *);
|
void (*freefun) (void *);
|
||||||
#else
|
# else
|
||||||
POINTER (*chunkfun) ();
|
POINTER (*chunkfun) ();
|
||||||
void (*freefun) ();
|
void (*freefun) ();
|
||||||
#endif
|
# endif
|
||||||
{
|
{
|
||||||
register struct _obstack_chunk *chunk; /* points to new chunk */
|
register struct _obstack_chunk *chunk; /* points to new chunk */
|
||||||
|
|
||||||
@@ -181,13 +183,13 @@ _obstack_begin (h, size, alignment, chunkfun, freefun)
|
|||||||
size = 4096 - extra;
|
size = 4096 - extra;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
h->chunkfun = (struct _obstack_chunk * (*)(void *, long)) chunkfun;
|
h->chunkfun = (struct _obstack_chunk * (*)(void *, long)) chunkfun;
|
||||||
h->freefun = (void (*) (void *, struct _obstack_chunk *)) freefun;
|
h->freefun = (void (*) (void *, struct _obstack_chunk *)) freefun;
|
||||||
#else
|
# else
|
||||||
h->chunkfun = (struct _obstack_chunk * (*)()) chunkfun;
|
h->chunkfun = (struct _obstack_chunk * (*)()) chunkfun;
|
||||||
h->freefun = freefun;
|
h->freefun = freefun;
|
||||||
#endif
|
# endif
|
||||||
h->chunk_size = size;
|
h->chunk_size = size;
|
||||||
h->alignment_mask = alignment - 1;
|
h->alignment_mask = alignment - 1;
|
||||||
h->use_extra_arg = 0;
|
h->use_extra_arg = 0;
|
||||||
@@ -210,13 +212,13 @@ _obstack_begin_1 (h, size, alignment, chunkfun, freefun, arg)
|
|||||||
struct obstack *h;
|
struct obstack *h;
|
||||||
int size;
|
int size;
|
||||||
int alignment;
|
int alignment;
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
POINTER (*chunkfun) (POINTER, long);
|
POINTER (*chunkfun) (POINTER, long);
|
||||||
void (*freefun) (POINTER, POINTER);
|
void (*freefun) (POINTER, POINTER);
|
||||||
#else
|
# else
|
||||||
POINTER (*chunkfun) ();
|
POINTER (*chunkfun) ();
|
||||||
void (*freefun) ();
|
void (*freefun) ();
|
||||||
#endif
|
# endif
|
||||||
POINTER arg;
|
POINTER arg;
|
||||||
{
|
{
|
||||||
register struct _obstack_chunk *chunk; /* points to new chunk */
|
register struct _obstack_chunk *chunk; /* points to new chunk */
|
||||||
@@ -240,13 +242,13 @@ _obstack_begin_1 (h, size, alignment, chunkfun, freefun, arg)
|
|||||||
size = 4096 - extra;
|
size = 4096 - extra;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
h->chunkfun = (struct _obstack_chunk * (*)(void *,long)) chunkfun;
|
h->chunkfun = (struct _obstack_chunk * (*)(void *,long)) chunkfun;
|
||||||
h->freefun = (void (*) (void *, struct _obstack_chunk *)) freefun;
|
h->freefun = (void (*) (void *, struct _obstack_chunk *)) freefun;
|
||||||
#else
|
# else
|
||||||
h->chunkfun = (struct _obstack_chunk * (*)()) chunkfun;
|
h->chunkfun = (struct _obstack_chunk * (*)()) chunkfun;
|
||||||
h->freefun = freefun;
|
h->freefun = freefun;
|
||||||
#endif
|
# endif
|
||||||
h->chunk_size = size;
|
h->chunk_size = size;
|
||||||
h->alignment_mask = alignment - 1;
|
h->alignment_mask = alignment - 1;
|
||||||
h->extra_arg = arg;
|
h->extra_arg = arg;
|
||||||
@@ -341,11 +343,11 @@ _obstack_newchunk (h, length)
|
|||||||
This is here for debugging.
|
This is here for debugging.
|
||||||
If you use it in a program, you are probably losing. */
|
If you use it in a program, you are probably losing. */
|
||||||
|
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
/* Suppress -Wmissing-prototypes warning. We don't want to declare this in
|
/* Suppress -Wmissing-prototypes warning. We don't want to declare this in
|
||||||
obstack.h because it is just for debugging. */
|
obstack.h because it is just for debugging. */
|
||||||
int _obstack_allocated_p (struct obstack *h, POINTER obj);
|
int _obstack_allocated_p (struct obstack *h, POINTER obj);
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
int
|
int
|
||||||
_obstack_allocated_p (h, obj)
|
_obstack_allocated_p (h, obj)
|
||||||
@@ -370,7 +372,7 @@ _obstack_allocated_p (h, obj)
|
|||||||
/* Free objects in obstack H, including OBJ and everything allocate
|
/* Free objects in obstack H, including OBJ and everything allocate
|
||||||
more recently than OBJ. If OBJ is zero, free everything in H. */
|
more recently than OBJ. If OBJ is zero, free everything in H. */
|
||||||
|
|
||||||
#undef obstack_free
|
# undef obstack_free
|
||||||
|
|
||||||
/* This function has two names with identical definitions.
|
/* This function has two names with identical definitions.
|
||||||
This is the first one, called from non-ANSI code. */
|
This is the first one, called from non-ANSI code. */
|
||||||
@@ -456,37 +458,54 @@ _obstack_memory_used (h)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Define the error handler. */
|
/* Define the error handler. */
|
||||||
#ifndef _
|
# ifndef _
|
||||||
# if defined HAVE_LIBINTL_H || defined _LIBC
|
# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC
|
||||||
# include <libintl.h>
|
# include <libintl.h>
|
||||||
# ifndef _
|
# ifndef _
|
||||||
# define _(Str) gettext (Str)
|
# define _(Str) gettext (Str)
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# define _(Str) (Str)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# if defined _LIBC && defined USE_IN_LIBIO
|
||||||
|
# include <libio/iolibio.h>
|
||||||
|
# define fputs(s, f) _IO_fputs (s, f)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# ifndef __attribute__
|
||||||
|
/* This feature is available in gcc versions 2.5 and later. */
|
||||||
|
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
|
||||||
|
# define __attribute__(Spec) /* empty */
|
||||||
# endif
|
# endif
|
||||||
# else
|
|
||||||
# define _(Str) (Str)
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
|
||||||
#if defined _LIBC && defined USE_IN_LIBIO
|
|
||||||
# include <libio/iolibio.h>
|
|
||||||
# define fputs(s, f) _IO_fputs (s, f)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
__attribute__ ((noreturn))
|
||||||
print_and_abort ()
|
print_and_abort ()
|
||||||
{
|
{
|
||||||
fputs (_("memory exhausted"), stderr);
|
/* Don't change any of these strings. Yes, it would be possible to add
|
||||||
fputc ('\n', stderr);
|
the newline to the string and use fputs or so. But this must not
|
||||||
|
happen because the "memory exhausted" message appears in other places
|
||||||
|
like this and the translation should be reused instead of creating
|
||||||
|
a very similar string which requires a separate translation. */
|
||||||
|
# if defined _LIBC && defined USE_IN_LIBIO
|
||||||
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
__fwprintf (stderr, L"%s\n", _("memory exhausted"));
|
||||||
|
else
|
||||||
|
# endif
|
||||||
|
fprintf (stderr, "%s\n", _("memory exhausted"));
|
||||||
exit (obstack_exit_failure);
|
exit (obstack_exit_failure);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
# if 0
|
||||||
/* These are now turned off because the applications do not use it
|
/* These are now turned off because the applications do not use it
|
||||||
and it uses bcopy via obstack_grow, which causes trouble on sysV. */
|
and it uses bcopy via obstack_grow, which causes trouble on sysV. */
|
||||||
|
|
||||||
/* Now define the functional versions of the obstack macros.
|
/* Now define the functional versions of the obstack macros.
|
||||||
Define them to simply use the corresponding macros to do the job. */
|
Define them to simply use the corresponding macros to do the job. */
|
||||||
|
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
/* These function definitions do not work with non-ANSI preprocessors;
|
/* These function definitions do not work with non-ANSI preprocessors;
|
||||||
they won't pass through the macro names in parentheses. */
|
they won't pass through the macro names in parentheses. */
|
||||||
|
|
||||||
@@ -597,8 +616,8 @@ POINTER (obstack_copy0) (obstack, address, length)
|
|||||||
return obstack_copy0 (obstack, address, length);
|
return obstack_copy0 (obstack, address, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* __STDC__ */
|
# endif /* __STDC__ */
|
||||||
|
|
||||||
#endif /* 0 */
|
# endif /* 0 */
|
||||||
|
|
||||||
#endif /* !ELIDE_CODE */
|
#endif /* !ELIDE_CODE */
|
||||||
|
|||||||
+11
-8
@@ -4,20 +4,23 @@
|
|||||||
This file is part of the GNU C Library. Its master source is NOT part of
|
This file is part of the GNU C Library. Its master source is NOT part of
|
||||||
the C library, however. The master source lives in /gd/gnu/lib.
|
the C library, however. The master source lives in /gd/gnu/lib.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
NOTE: The canonical source of this file is maintained with the GNU C Library.
|
||||||
modify it under the terms of the GNU Library General Public License as
|
Bugs can be reported to [email protected].
|
||||||
published by the Free Software Foundation; either version 2 of the
|
|
||||||
License, or (at your option) any later version.
|
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
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
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
License along with this program; if not, write to the Free Software
|
||||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
Boston, MA 02111-1307, USA. */
|
USA. */
|
||||||
|
|
||||||
/* Summary:
|
/* Summary:
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if HAVE_STDDEF_H
|
||||||
|
# include <stddef.h> /* For the definition of size_t on windows w/MSVC. */
|
||||||
|
#endif
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <quotearg.h>
|
#include <quotearg.h>
|
||||||
#include <quote.h>
|
#include <quote.h>
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
/* Find the length of STRING, but scan at most MAXLEN characters.
|
/* Find the length of STRING, but scan at most MAXLEN characters.
|
||||||
Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@@ -51,7 +51,7 @@ size_t
|
|||||||
__strnlen (const char *string, size_t maxlen)
|
__strnlen (const char *string, size_t maxlen)
|
||||||
{
|
{
|
||||||
const char *end = memchr (string, '\0', maxlen);
|
const char *end = memchr (string, '\0', maxlen);
|
||||||
return end ? end - string : maxlen;
|
return end ? (size_t) (end - string) : maxlen;
|
||||||
}
|
}
|
||||||
#ifdef weak_alias
|
#ifdef weak_alias
|
||||||
weak_alias (__strnlen, strnlen)
|
weak_alias (__strnlen, strnlen)
|
||||||
|
|||||||
+2
-2
@@ -47,11 +47,11 @@ void free ();
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_DONE_WORKING_MALLOC_CHECK
|
#ifndef HAVE_DONE_WORKING_MALLOC_CHECK
|
||||||
you must run the autoconf test for a properly working malloc -- see malloc.m4
|
"you must run the autoconf test for a properly working malloc -- see malloc.m4"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_DONE_WORKING_REALLOC_CHECK
|
#ifndef HAVE_DONE_WORKING_REALLOC_CHECK
|
||||||
you must run the autoconf test for a properly working realloc -- see realloc.m4
|
"you must run the autoconf test for a properly working realloc --see realloc.m4"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Exit value when the requested amount of memory is not available.
|
/* Exit value when the requested amount of memory is not available.
|
||||||
|
|||||||
+3
-4
@@ -1,4 +1,5 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
# Makefile.in generated by automake 1.5a from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
# 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.
|
||||||
@@ -132,9 +133,7 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(AUTOMAKE) --gnu m4/Makefile
|
$(AUTOMAKE) --gnu m4/Makefile
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
||||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
|
||||||
uninstall-info-am:
|
uninstall-info-am:
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
TAGS:
|
TAGS:
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
#serial 3
|
#serial 4
|
||||||
|
|
||||||
dnl From Paul Eggert.
|
dnl From Paul Eggert.
|
||||||
|
|
||||||
AC_DEFUN(AC_C_BACKSLASH_A,
|
AC_DEFUN([AC_C_BACKSLASH_A],
|
||||||
[
|
[
|
||||||
AC_CACHE_CHECK([whether backslash-a works in strings], ac_cv_c_backslash_a,
|
AC_CACHE_CHECK([whether backslash-a works in strings], ac_cv_c_backslash_a,
|
||||||
[AC_TRY_COMPILE([],
|
[AC_TRY_COMPILE([],
|
||||||
|
|||||||
+5
-4
@@ -1,12 +1,13 @@
|
|||||||
#serial 1
|
#serial 4
|
||||||
|
|
||||||
dnl FIXME: put these prerequisite-only *.m4 files in a separate
|
dnl FIXME: put these prerequisite-only *.m4 files in a separate
|
||||||
dnl directory -- otherwise, they'll conflict with existing files.
|
dnl directory -- otherwise, they'll conflict with existing files.
|
||||||
|
|
||||||
dnl These are the prerequisite macros for GNU's error.c file.
|
dnl These are the prerequisite macros for GNU's error.c file.
|
||||||
AC_DEFUN(jm_PREREQ_ERROR,
|
AC_DEFUN([jm_PREREQ_ERROR],
|
||||||
[
|
[
|
||||||
AC_CHECK_FUNCS(strerror strerror_r vprintf doprnt)
|
AC_CHECK_FUNCS(strerror vprintf doprnt)
|
||||||
AC_HEADER_STDC
|
AC_CHECK_DECLS([strerror])
|
||||||
AC_FUNC_STRERROR_R
|
AC_FUNC_STRERROR_R
|
||||||
|
AC_HEADER_STDC
|
||||||
])
|
])
|
||||||
|
|||||||
+7
-5
@@ -3,10 +3,12 @@
|
|||||||
#
|
#
|
||||||
# This file can be copied and used freely without restrictions. It can
|
# This file can be copied and used freely without restrictions. It can
|
||||||
# be used in projects which are not available under the GNU General Public
|
# be used in projects which are not available under the GNU General Public
|
||||||
# License but which still want to provide support for the GNU gettext
|
# License or the GNU Library General Public License but which still want
|
||||||
# functionality.
|
# to provide support for the GNU gettext functionality.
|
||||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
# Please note that the actual code of the GNU gettext library is covered
|
||||||
# General Public License and is *not* in the public domain.
|
# by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
# gettext package package is covered by the GNU General Public License.
|
||||||
|
# They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 10
|
# serial 10
|
||||||
|
|
||||||
@@ -241,7 +243,7 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", ""
|
|||||||
dnl Found it, now check the version.
|
dnl Found it, now check the version.
|
||||||
AC_MSG_CHECKING([version of bison])
|
AC_MSG_CHECKING([version of bison])
|
||||||
changequote(<<,>>)dnl
|
changequote(<<,>>)dnl
|
||||||
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
||||||
case $ac_prog_version in
|
case $ac_prog_version in
|
||||||
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
||||||
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
|
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
|
||||||
|
|||||||
+6
-4
@@ -3,10 +3,12 @@
|
|||||||
#
|
#
|
||||||
# This file can be copied and used freely without restrictions. It can
|
# This file can be copied and used freely without restrictions. It can
|
||||||
# be used in projects which are not available under the GNU General Public
|
# be used in projects which are not available under the GNU General Public
|
||||||
# License but which still want to provide support for the GNU gettext
|
# License or the GNU Library General Public License but which still want
|
||||||
# functionality.
|
# to provide support for the GNU gettext functionality.
|
||||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
# Please note that the actual code of the GNU gettext library is covered
|
||||||
# General Public License and is *not* in the public domain.
|
# by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
# gettext package package is covered by the GNU General Public License.
|
||||||
|
# They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 2
|
# serial 2
|
||||||
|
|
||||||
|
|||||||
+6
-7
@@ -1,16 +1,16 @@
|
|||||||
#serial 3
|
#serial 5
|
||||||
|
|
||||||
dnl From Jim Meyering.
|
dnl From Jim Meyering.
|
||||||
dnl Determine whether malloc accepts 0 as its argument.
|
dnl Determine whether malloc accepts 0 as its argument.
|
||||||
dnl If it doesn't, arrange to use the replacement function.
|
dnl If it doesn't, arrange to use the replacement function.
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(jm_FUNC_MALLOC,
|
AC_DEFUN([jm_FUNC_MALLOC],
|
||||||
[
|
[
|
||||||
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
||||||
dnl mistakenly use a broken malloc -- as it might if this test were omitted.
|
dnl mistakenly use a broken malloc -- as it might if this test were omitted.
|
||||||
AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_MALLOC_CHECK, 1,
|
AC_DEFINE(HAVE_DONE_WORKING_MALLOC_CHECK, 1,
|
||||||
[Define if the malloc check has been performed. ])
|
[Define if the malloc check has been performed. ])
|
||||||
|
|
||||||
AC_CACHE_CHECK([for working malloc], jm_cv_func_working_malloc,
|
AC_CACHE_CHECK([for working malloc], jm_cv_func_working_malloc,
|
||||||
[AC_TRY_RUN([
|
[AC_TRY_RUN([
|
||||||
@@ -27,9 +27,8 @@ AC_DEFUN(jm_FUNC_MALLOC,
|
|||||||
jm_cv_func_working_malloc=no)
|
jm_cv_func_working_malloc=no)
|
||||||
])
|
])
|
||||||
if test $jm_cv_func_working_malloc = no; then
|
if test $jm_cv_func_working_malloc = no; then
|
||||||
AC_SUBST(LIBOBJS)
|
AC_LIBOBJ(malloc)
|
||||||
LIBOBJS="$LIBOBJS malloc.$ac_objext"
|
AC_DEFINE(malloc, rpl_malloc,
|
||||||
AC_DEFINE_UNQUOTED(malloc, rpl_malloc,
|
|
||||||
[Define to rpl_malloc if the replacement function should be used.])
|
[Define to rpl_malloc if the replacement function should be used.])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
# serial 8
|
# serial 9
|
||||||
|
|
||||||
# From Paul Eggert.
|
# From Paul Eggert.
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
# (at least glibc-2.1.3) because the "_XOPEN_SOURCE 500" definition elicits
|
# (at least glibc-2.1.3) because the "_XOPEN_SOURCE 500" definition elicits
|
||||||
# a syntax error in wchar.h due to the use of undefined __int32_t.
|
# a syntax error in wchar.h due to the use of undefined __int32_t.
|
||||||
|
|
||||||
AC_DEFUN(AC_MBSTATE_T,
|
AC_DEFUN([AC_MBSTATE_T],
|
||||||
[
|
[
|
||||||
AC_CHECK_HEADERS(stdlib.h)
|
AC_CHECK_HEADERS(stdlib.h)
|
||||||
|
|
||||||
|
|||||||
+6
-4
@@ -3,10 +3,12 @@
|
|||||||
#
|
#
|
||||||
# This file can be copied and used freely without restrictions. It can
|
# This file can be copied and used freely without restrictions. It can
|
||||||
# be used in projects which are not available under the GNU General Public
|
# be used in projects which are not available under the GNU General Public
|
||||||
# License but which still want to provide support for the GNU gettext
|
# License or the GNU Library General Public License but which still want
|
||||||
# functionality.
|
# to provide support for the GNU gettext functionality.
|
||||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
# Please note that the actual code of the GNU gettext library is covered
|
||||||
# General Public License and is *not* in the public domain.
|
# by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
# gettext package package is covered by the GNU General Public License.
|
||||||
|
# They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 2
|
# serial 2
|
||||||
|
|
||||||
|
|||||||
+6
-7
@@ -1,16 +1,16 @@
|
|||||||
#serial 3
|
#serial 5
|
||||||
|
|
||||||
dnl From Jim Meyering.
|
dnl From Jim Meyering.
|
||||||
dnl Determine whether realloc works when both arguments are 0.
|
dnl Determine whether realloc works when both arguments are 0.
|
||||||
dnl If it doesn't, arrange to use the replacement function.
|
dnl If it doesn't, arrange to use the replacement function.
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(jm_FUNC_REALLOC,
|
AC_DEFUN([jm_FUNC_REALLOC],
|
||||||
[
|
[
|
||||||
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
||||||
dnl mistakenly use a broken realloc -- as it might if this test were omitted.
|
dnl mistakenly use a broken realloc -- as it might if this test were omitted.
|
||||||
AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_REALLOC_CHECK, 1,
|
AC_DEFINE(HAVE_DONE_WORKING_REALLOC_CHECK, 1,
|
||||||
[Define if the realloc check has been performed. ])
|
[Define if the realloc check has been performed. ])
|
||||||
|
|
||||||
AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc,
|
AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc,
|
||||||
[AC_TRY_RUN([
|
[AC_TRY_RUN([
|
||||||
@@ -27,9 +27,8 @@ AC_DEFUN(jm_FUNC_REALLOC,
|
|||||||
jm_cv_func_working_realloc=no)
|
jm_cv_func_working_realloc=no)
|
||||||
])
|
])
|
||||||
if test $jm_cv_func_working_realloc = no; then
|
if test $jm_cv_func_working_realloc = no; then
|
||||||
AC_SUBST(LIBOBJS)
|
AC_LIBOBJ(realloc)
|
||||||
LIBOBJS="$LIBOBJS realloc.$ac_objext"
|
AC_DEFINE(realloc, rpl_realloc,
|
||||||
AC_DEFINE_UNQUOTED(realloc, rpl_realloc,
|
|
||||||
[Define to rpl_realloc if the replacement function should be used.])
|
[Define to rpl_realloc if the replacement function should be used.])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|||||||
+38
-45
@@ -1,9 +1,23 @@
|
|||||||
#serial 1002
|
#serial 1003
|
||||||
# Experimental replacement for the function in the latest CVS autoconf.
|
# Experimental replacement for the function in the latest CVS autoconf.
|
||||||
# If the compile-test says strerror_r doesn't work, then resort to a
|
|
||||||
# `run'-test that works on BeOS and segfaults on DEC Unix.
|
|
||||||
# Use with the error.c file in ../lib.
|
# Use with the error.c file in ../lib.
|
||||||
|
|
||||||
|
# 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. */
|
||||||
|
|
||||||
undefine([AC_FUNC_STRERROR_R])
|
undefine([AC_FUNC_STRERROR_R])
|
||||||
|
|
||||||
# AC_FUNC_STRERROR_R
|
# AC_FUNC_STRERROR_R
|
||||||
@@ -11,56 +25,35 @@ undefine([AC_FUNC_STRERROR_R])
|
|||||||
AC_DEFUN([AC_FUNC_STRERROR_R],
|
AC_DEFUN([AC_FUNC_STRERROR_R],
|
||||||
[AC_CHECK_DECLS([strerror_r])
|
[AC_CHECK_DECLS([strerror_r])
|
||||||
AC_CHECK_FUNCS([strerror_r])
|
AC_CHECK_FUNCS([strerror_r])
|
||||||
if test $ac_cv_func_strerror_r = yes; then
|
AC_CACHE_CHECK([whether strerror_r returns char *],
|
||||||
AC_CHECK_HEADERS(string.h)
|
ac_cv_func_strerror_r_char_p,
|
||||||
AC_CACHE_CHECK([for working strerror_r],
|
|
||||||
ac_cv_func_strerror_r_works,
|
|
||||||
[
|
[
|
||||||
AC_TRY_COMPILE(
|
ac_cv_func_strerror_r_char_p=no
|
||||||
[
|
if test $ac_cv_have_decl_strerror_r = yes; then
|
||||||
# include <stdio.h>
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
|
||||||
# if HAVE_STRING_H
|
[[
|
||||||
# include <string.h>
|
char buf[100];
|
||||||
# endif
|
char x = *strerror_r (0, buf, sizeof buf);
|
||||||
],
|
char *p = strerror_r (0, buf, sizeof buf);
|
||||||
[
|
]])],
|
||||||
char buf[100];
|
ac_cv_func_strerror_r_char_p=yes)
|
||||||
char x = *strerror_r (0, buf, sizeof buf);
|
else
|
||||||
],
|
# strerror_r is not declared. Choose between
|
||||||
ac_cv_func_strerror_r_works=yes,
|
|
||||||
ac_cv_func_strerror_r_works=no
|
|
||||||
)
|
|
||||||
if test $ac_cv_func_strerror_r_works = no; then
|
|
||||||
# strerror_r seems not to work, but now we have to choose between
|
|
||||||
# systems that have relatively inaccessible declarations for the
|
# systems that have relatively inaccessible declarations for the
|
||||||
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
|
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
|
||||||
# former has a strerror_r that returns char*, while the latter
|
# former has a strerror_r that returns char*, while the latter
|
||||||
# has a strerror_r that returns `int'.
|
# has a strerror_r that returns `int'.
|
||||||
# This test should segfault on the DEC system.
|
# This test should segfault on the DEC system.
|
||||||
AC_TRY_RUN(
|
AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
|
||||||
[
|
extern char *strerror_r ();],
|
||||||
# include <stdio.h>
|
[[char buf[100];
|
||||||
# include <string.h>
|
|
||||||
# include <ctype.h>
|
|
||||||
|
|
||||||
extern char *strerror_r ();
|
|
||||||
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
char buf[100];
|
|
||||||
char x = *strerror_r (0, buf, sizeof buf);
|
char x = *strerror_r (0, buf, sizeof buf);
|
||||||
exit (!isalpha (x));
|
exit (!isalpha (x));]])],
|
||||||
}
|
ac_cv_func_strerror_r_char_p=yes, , :)
|
||||||
],
|
|
||||||
ac_cv_func_strerror_r_works=yes,
|
|
||||||
ac_cv_func_strerror_r_works=no,
|
|
||||||
ac_cv_func_strerror_r_works=no)
|
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
if test $ac_cv_func_strerror_r_works = yes; then
|
if test $ac_cv_func_strerror_r_char_p = yes; then
|
||||||
AC_DEFINE_UNQUOTED(HAVE_WORKING_STRERROR_R, 1,
|
AC_DEFINE([STRERROR_R_CHAR_P], 1,
|
||||||
[Define to 1 if `strerror_r' returns a string.])
|
[Define to 1 if strerror_r returns char *.])
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
])# AC_FUNC_STRERROR_R
|
])# AC_FUNC_STRERROR_R
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.25\n"
|
"Project-Id-Version: bison 1.25\n"
|
||||||
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
"POT-Creation-Date: 2001-10-26 14:37+0200\n"
|
||||||
"PO-Revision-Date: 1996-10-10 17:54 MET DST\n"
|
"PO-Revision-Date: 1996-10-10 17:54 MET DST\n"
|
||||||
"Last-Translator: Ulrich Drepper <[email protected]>\n"
|
"Last-Translator: Ulrich Drepper <[email protected]>\n"
|
||||||
"Language-Team: German <[email protected]>\n"
|
"Language-Team: German <[email protected]>\n"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/error.c:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -714,68 +714,68 @@ msgstr ""
|
|||||||
"Reduzierung von %s definiert %d Terminal, %d Nicht-Terminal und %d "
|
"Reduzierung von %s definiert %d Terminal, %d Nicht-Terminal und %d "
|
||||||
"Produktionen.\n"
|
"Produktionen.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: die Option »%s« ist nicht eindeutig\n"
|
msgstr "%s: die Option »%s« ist nicht eindeutig\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: lib/getopt.c:719
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `--%s' doesn't allow an argument\n"
|
msgid "%s: option `--%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: die Option »--%s« erlaubt kein Argument\n"
|
msgstr "%s: die Option »--%s« erlaubt kein Argument\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: lib/getopt.c:724
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: die Option »%c%s« erlaubt kein Argument\n"
|
msgstr "%s: die Option »%c%s« erlaubt kein Argument\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: lib/getopt.c:742 lib/getopt.c:915
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: die Option »%s« erfordert ein Argument\n"
|
msgstr "%s: die Option »%s« erfordert ein Argument\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: unbekannte Option »--%s«\n"
|
msgstr "%s: unbekannte Option »--%s«\n"
|
||||||
|
|
||||||
#. +option or -option
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: unbekannte Option »%c%s«\n"
|
msgstr "%s: unbekannte Option »%c%s«\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: die Option ist nicht erlaubt -- %c\n"
|
msgstr "%s: die Option ist nicht erlaubt -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: ungültige Option -- %c\n"
|
msgstr "%s: ungültige Option -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
msgstr "%s: die Option benötigt ein Argument -- %c\n"
|
msgstr "%s: die Option benötigt ein Argument -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: lib/getopt.c:881
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: option `-W %s' is ambiguous\n"
|
msgid "%s: option `-W %s' is ambiguous\n"
|
||||||
msgstr "%s: die Option »%s« ist nicht eindeutig\n"
|
msgstr "%s: die Option »%s« ist nicht eindeutig\n"
|
||||||
|
|
||||||
#: lib/getopt.c:880
|
#: lib/getopt.c:899
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: die Option »--%s« erlaubt kein Argument\n"
|
msgstr "%s: die Option »--%s« erlaubt kein Argument\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "%s: Hauptspeicher erschöpft\n"
|
msgstr "%s: Hauptspeicher erschöpft\n"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GNU bison 1.25\n"
|
"Project-Id-Version: GNU bison 1.25\n"
|
||||||
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
"POT-Creation-Date: 2001-10-26 14:37+0200\n"
|
||||||
"PO-Revision-Date: 1998-09-21 10:19+0200\n"
|
"PO-Revision-Date: 1998-09-21 10:19+0200\n"
|
||||||
"Last-Translator: Nicolás García-Pedrajas <[email protected]>\n"
|
"Last-Translator: Nicolás García-Pedrajas <[email protected]>\n"
|
||||||
"Language-Team: Spanish <[email protected]>\n"
|
"Language-Team: Spanish <[email protected]>\n"
|
||||||
@@ -43,7 +43,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/error.c:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -820,35 +820,35 @@ msgstr ""
|
|||||||
"la reducción de %s define %d terminal%s, %d no terminal%s, y %d produccion%"
|
"la reducción de %s define %d terminal%s, %d no terminal%s, y %d produccion%"
|
||||||
"s.\n"
|
"s.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: la opción `%s' es ambigua\n"
|
msgstr "%s: la opción `%s' es ambigua\n"
|
||||||
|
|
||||||
# Pongo esto como en otros .po. sv
|
# Pongo esto como en otros .po. sv
|
||||||
#: lib/getopt.c:700
|
#: lib/getopt.c:719
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `--%s' doesn't allow an argument\n"
|
msgid "%s: option `--%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: la opción `--%s' no admite ningún argumento\n"
|
msgstr "%s: la opción `--%s' no admite ningún argumento\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: lib/getopt.c:724
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: la opción `%c%s' no admite ningún argumento\n"
|
msgstr "%s: la opción `%c%s' no admite ningún argumento\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: lib/getopt.c:742 lib/getopt.c:915
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: la opción `%s' requiere un argumento\n"
|
msgstr "%s: la opción `%s' requiere un argumento\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: opción `--%s' no reconocida\n"
|
msgstr "%s: opción `--%s' no reconocida\n"
|
||||||
|
|
||||||
#. +option or -option
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: opción `%c%s' no reconocida\n"
|
msgstr "%s: opción `%c%s' no reconocida\n"
|
||||||
@@ -871,7 +871,7 @@ msgstr "%s: opci
|
|||||||
# a la cárcel (como mucho se cuelgan, je, je, 0ff0 :-). sv
|
# a la cárcel (como mucho se cuelgan, je, je, 0ff0 :-). sv
|
||||||
#
|
#
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: opción -- %c ilegal\n"
|
msgstr "%s: opción -- %c ilegal\n"
|
||||||
@@ -881,31 +881,31 @@ msgstr "%s: opci
|
|||||||
# Porque Enrique decía que le recordaba a disminuidos físicos.
|
# Porque Enrique decía que le recordaba a disminuidos físicos.
|
||||||
# Francamente, no creo que haya que andar con estas "fobias".
|
# Francamente, no creo que haya que andar con estas "fobias".
|
||||||
# Pongo inválida. sv
|
# Pongo inválida. sv
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: opción -- %c inválida\n"
|
msgstr "%s: opción -- %c inválida\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
msgstr "%s: la opción -- %c requiere un argumento\n"
|
msgstr "%s: la opción -- %c requiere un argumento\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: lib/getopt.c:881
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: option `-W %s' is ambiguous\n"
|
msgid "%s: option `-W %s' is ambiguous\n"
|
||||||
msgstr "%s: la opción `%s' es ambigua\n"
|
msgstr "%s: la opción `%s' es ambigua\n"
|
||||||
|
|
||||||
# Pongo esto como en otros .po. sv
|
# Pongo esto como en otros .po. sv
|
||||||
#: lib/getopt.c:880
|
#: lib/getopt.c:899
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: la opción `--%s' no admite ningún argumento\n"
|
msgstr "%s: la opción `--%s' no admite ningún argumento\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "%s: memoria agotada\n"
|
msgstr "%s: memoria agotada\n"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.28d\n"
|
"Project-Id-Version: bison 1.29f\n"
|
||||||
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
"POT-Creation-Date: 2001-10-26 14:37+0200\n"
|
||||||
"PO-Revision-Date: 2001-08-29 17:06+02:00\n"
|
"PO-Revision-Date: 2001-10-19 17:53+02:00\n"
|
||||||
"Last-Translator: Toomas Soome <[email protected]>\n"
|
"Last-Translator: Toomas Soome <[email protected]>\n"
|
||||||
"Language-Team: Estonian <[email protected]>\n"
|
"Language-Team: Estonian <[email protected]>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "liiga palju olekuid (maks %d)"
|
msgstr "liiga palju olekuid (maks %d)"
|
||||||
|
|
||||||
#: lib/error.c:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "Tundmatu süsteemi viga"
|
msgstr "Tundmatu süsteemi viga"
|
||||||
|
|
||||||
@@ -368,7 +368,7 @@ msgstr "reegel %-4d %s ->"
|
|||||||
|
|
||||||
#: src/print.c:240
|
#: src/print.c:240
|
||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr ""
|
msgstr "tühi"
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
#. TERMINAL (type #) : rule #s terminal is on RHS
|
||||||
#: src/print.c:244
|
#: src/print.c:244
|
||||||
@@ -704,68 +704,68 @@ msgstr ""
|
|||||||
"redutseeritud %s defineerib %d terminali%s, %d mitteterminali%s ja %d reeglit"
|
"redutseeritud %s defineerib %d terminali%s, %d mitteterminali%s ja %d reeglit"
|
||||||
"%s.\n"
|
"%s.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: võti `%s' on segane\n"
|
msgstr "%s: võti `%s' on segane\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: lib/getopt.c:719
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `--%s' doesn't allow an argument\n"
|
msgid "%s: option `--%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: võti `--%s' ei luba argumenti\n"
|
msgstr "%s: võti `--%s' ei luba argumenti\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: lib/getopt.c:724
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: võti `%c%s' ei luba argumenti\n"
|
msgstr "%s: võti `%c%s' ei luba argumenti\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: lib/getopt.c:742 lib/getopt.c:915
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: võti `%s' nõuab argumenti\n"
|
msgstr "%s: võti `%s' nõuab argumenti\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: tundmatu võti `--%s'\n"
|
msgstr "%s: tundmatu võti `--%s'\n"
|
||||||
|
|
||||||
#. +option or -option
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: tundmatu võti `%c%s'\n"
|
msgstr "%s: tundmatu võti `%c%s'\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: lubamatu võti -- %c\n"
|
msgstr "%s: lubamatu võti -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: vigane võti -- %c\n"
|
msgstr "%s: vigane võti -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
msgstr "%s: võti nõuab argumenti -- %c\n"
|
msgstr "%s: võti nõuab argumenti -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: lib/getopt.c:881
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `-W %s' is ambiguous\n"
|
msgid "%s: option `-W %s' is ambiguous\n"
|
||||||
msgstr "%s: võti `-W %s' on segane\n"
|
msgstr "%s: võti `-W %s' on segane\n"
|
||||||
|
|
||||||
#: lib/getopt.c:880
|
#: lib/getopt.c:899
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: võti `-W %s' ei luba argumenti\n"
|
msgstr "%s: võti `-W %s' ei luba argumenti\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "mälu on otsas"
|
msgstr "mälu on otsas"
|
||||||
|
|
||||||
@@ -790,12 +790,3 @@ msgstr "`"
|
|||||||
#: lib/quotearg.c:269
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr "'"
|
msgstr "'"
|
||||||
|
|
||||||
#~ msgid "\t\t/* empty */"
|
|
||||||
#~ msgstr "\t\t/* tühi */"
|
|
||||||
|
|
||||||
#~ msgid "multiple %%header_extension declarations"
|
|
||||||
#~ msgstr "korduvad %%header_extension eklaratsioonid"
|
|
||||||
|
|
||||||
#~ msgid "multiple %%source_extension declarations"
|
|
||||||
#~ msgstr "korduvad %%source_extension deklaratsioonid"
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GNU bison 1.28d\n"
|
"Project-Id-Version: GNU bison 1.29f\n"
|
||||||
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
"POT-Creation-Date: 2001-10-26 14:37+0200\n"
|
||||||
"PO-Revision-Date: 2001-08-29 20:00-0500\n"
|
"PO-Revision-Date: 2001-10-19 15:00-0500\n"
|
||||||
"Last-Translator: Michel Robitaille <[email protected]>\n"
|
"Last-Translator: Michel Robitaille <[email protected]>\n"
|
||||||
"Language-Team: French <[email protected]>\n"
|
"Language-Team: French <[email protected]>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -19,7 +19,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "nombre trop grand d'états (max %d)"
|
msgstr "nombre trop grand d'états (max %d)"
|
||||||
|
|
||||||
#: lib/error.c:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "Erreur système inconnue"
|
msgstr "Erreur système inconnue"
|
||||||
|
|
||||||
@@ -374,7 +374,7 @@ msgstr "r
|
|||||||
|
|
||||||
#: src/print.c:240
|
#: src/print.c:240
|
||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr ""
|
msgstr "vide"
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
#. TERMINAL (type #) : rule #s terminal is on RHS
|
||||||
#: src/print.c:244
|
#: src/print.c:244
|
||||||
@@ -711,68 +711,68 @@ msgstr ""
|
|||||||
"la réduction de %s définit %d terminal%s, %d catégorie%s et %d production%"
|
"la réduction de %s définit %d terminal%s, %d catégorie%s et %d production%"
|
||||||
"s.\n"
|
"s.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: l'option %s est ambigüe\n"
|
msgstr "%s: l'option %s est ambigüe\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: lib/getopt.c:719
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `--%s' doesn't allow an argument\n"
|
msgid "%s: option `--%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: l'option --%s n'admet pas de paramètre\n"
|
msgstr "%s: l'option --%s n'admet pas de paramètre\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: lib/getopt.c:724
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: l'option %c%s n'admet pas de paramètre\n"
|
msgstr "%s: l'option %c%s n'admet pas de paramètre\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: lib/getopt.c:742 lib/getopt.c:915
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: l'option %s requiert un paramètre\n"
|
msgstr "%s: l'option %s requiert un paramètre\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: l'option --%s est inconnue\n"
|
msgstr "%s: l'option --%s est inconnue\n"
|
||||||
|
|
||||||
#. +option or -option
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: l'option %c%s est inconnue\n"
|
msgstr "%s: l'option %c%s est inconnue\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: option illégale -- %c\n"
|
msgstr "%s: option illégale -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: option non valide -- %c\n"
|
msgstr "%s: option non valide -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
msgstr "%s: l'option requiert un paramètre -- %c\n"
|
msgstr "%s: l'option requiert un paramètre -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: lib/getopt.c:881
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `-W %s' is ambiguous\n"
|
msgid "%s: option `-W %s' is ambiguous\n"
|
||||||
msgstr "%s: l'option `-W %s' est ambiguë\n"
|
msgstr "%s: l'option `-W %s' est ambiguë\n"
|
||||||
|
|
||||||
#: lib/getopt.c:880
|
#: lib/getopt.c:899
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: l'option `-W %s' n'admet pas de paramètre\n"
|
msgstr "%s: l'option `-W %s' n'admet pas de paramètre\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "mémoire épuisée"
|
msgstr "mémoire épuisée"
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GNU bison 1.28\n"
|
"Project-Id-Version: GNU bison 1.28\n"
|
||||||
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
"POT-Creation-Date: 2001-10-26 14:37+0200\n"
|
||||||
"PO-Revision-Date: 1999-09-28 21:10+0900\n"
|
"PO-Revision-Date: 1999-09-28 21:10+0900\n"
|
||||||
"Last-Translator: Daisuke Yamashita <[email protected]>\n"
|
"Last-Translator: Daisuke Yamashita <[email protected]>\n"
|
||||||
"Language-Team: Japanese <[email protected]>\n"
|
"Language-Team: Japanese <[email protected]>\n"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "%s の数が多すぎます (最大 %d)"
|
msgstr "%s の数が多すぎます (最大 %d)"
|
||||||
|
|
||||||
#: lib/error.c:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -716,68 +716,68 @@ msgstr ""
|
|||||||
"還元ファイル %s で %d 個の終端子%.0s, %d 個の非終端子%.0s, %d 個の規則%.0sが"
|
"還元ファイル %s で %d 個の終端子%.0s, %d 個の非終端子%.0s, %d 個の規則%.0sが"
|
||||||
"定義されました\n"
|
"定義されました\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: オプション `%s' は曖昧です\n"
|
msgstr "%s: オプション `%s' は曖昧です\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: lib/getopt.c:719
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `--%s' doesn't allow an argument\n"
|
msgid "%s: option `--%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: オプション `--%s' は引数を許しません\n"
|
msgstr "%s: オプション `--%s' は引数を許しません\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: lib/getopt.c:724
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: オプション `%c%s' は引数を許しません\n"
|
msgstr "%s: オプション `%c%s' は引数を許しません\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: lib/getopt.c:742 lib/getopt.c:915
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: オプション `%s' は引数を要求します\n"
|
msgstr "%s: オプション `%s' は引数を要求します\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: 認識できないオプション `--%s' です\n"
|
msgstr "%s: 認識できないオプション `--%s' です\n"
|
||||||
|
|
||||||
#. +option or -option
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: 認識できないオプション `%c%s' です\n"
|
msgstr "%s: 認識できないオプション `%c%s' です\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: 定格外のオプション -- %c\n"
|
msgstr "%s: 定格外のオプション -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: 無効なオプション -- %c\n"
|
msgstr "%s: 無効なオプション -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
msgstr "%s: オプションは引数を要求します -- %c\n"
|
msgstr "%s: オプションは引数を要求します -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: lib/getopt.c:881
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `-W %s' is ambiguous\n"
|
msgid "%s: option `-W %s' is ambiguous\n"
|
||||||
msgstr "%s: オプション `-W %s' は曖昧です\n"
|
msgstr "%s: オプション `-W %s' は曖昧です\n"
|
||||||
|
|
||||||
#: lib/getopt.c:880
|
#: lib/getopt.c:899
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: オプション `-W %s' は引数を許しません\n"
|
msgstr "%s: オプション `-W %s' は引数を許しません\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "%s: メモリを使い果たしました\n"
|
msgstr "%s: メモリを使い果たしました\n"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.25\n"
|
"Project-Id-Version: bison 1.25\n"
|
||||||
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
"POT-Creation-Date: 2001-10-26 14:37+0200\n"
|
||||||
"PO-Revision-Date: 1996-08-27 15:34 MET DST\n"
|
"PO-Revision-Date: 1996-08-27 15:34 MET DST\n"
|
||||||
"Last-Translator: Erick Branderhorst <[email protected]>\n"
|
"Last-Translator: Erick Branderhorst <[email protected]>\n"
|
||||||
"Language-Team: Dutch <[email protected]>\n"
|
"Language-Team: Dutch <[email protected]>\n"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/error.c:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -719,68 +719,68 @@ msgstr ""
|
|||||||
"gereduceerd %s gedefinieerd %d terminal%s, %d nietterminal%s, en %d productie"
|
"gereduceerd %s gedefinieerd %d terminal%s, %d nietterminal%s, en %d productie"
|
||||||
"%s.\n"
|
"%s.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: optie `%s' is niet eenduidig\n"
|
msgstr "%s: optie `%s' is niet eenduidig\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: lib/getopt.c:719
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `--%s' doesn't allow an argument\n"
|
msgid "%s: option `--%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: optie `--%s' staat geen argument toe\n"
|
msgstr "%s: optie `--%s' staat geen argument toe\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: lib/getopt.c:724
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: optie `%c%s' staat geen argument toe\n"
|
msgstr "%s: optie `%c%s' staat geen argument toe\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: lib/getopt.c:742 lib/getopt.c:915
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: optie `%s' vereist een argument\n"
|
msgstr "%s: optie `%s' vereist een argument\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: onbekende optie `--%s'\n"
|
msgstr "%s: onbekende optie `--%s'\n"
|
||||||
|
|
||||||
#. +option or -option
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: onbekende optie `%c%s'\n"
|
msgstr "%s: onbekende optie `%c%s'\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: ongeldige optie -- %c\n"
|
msgstr "%s: ongeldige optie -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: onjuiste optie -- %c\n"
|
msgstr "%s: onjuiste optie -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
msgstr "%s: optie vereist een argument -- %c\n"
|
msgstr "%s: optie vereist een argument -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: lib/getopt.c:881
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: option `-W %s' is ambiguous\n"
|
msgid "%s: option `-W %s' is ambiguous\n"
|
||||||
msgstr "%s: optie `%s' is niet eenduidig\n"
|
msgstr "%s: optie `%s' is niet eenduidig\n"
|
||||||
|
|
||||||
#: lib/getopt.c:880
|
#: lib/getopt.c:899
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: optie `--%s' staat geen argument toe\n"
|
msgstr "%s: optie `--%s' staat geen argument toe\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "%s: geen geheugen meer beschikbaar\n"
|
msgstr "%s: geen geheugen meer beschikbaar\n"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.29\n"
|
"Project-Id-Version: bison 1.29\n"
|
||||||
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
"POT-Creation-Date: 2001-10-26 14:37+0200\n"
|
||||||
"PO-Revision-Date: 2001-09-09 13:49+04:00\n"
|
"PO-Revision-Date: 2001-09-09 13:49+04:00\n"
|
||||||
"Last-Translator: Dmitry S. Sivachenko <[email protected]>\n"
|
"Last-Translator: Dmitry S. Sivachenko <[email protected]>\n"
|
||||||
"Language-Team: Russian <[email protected]>\n"
|
"Language-Team: Russian <[email protected]>\n"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÓÏÓÔÏÑÎÉÊ (ÍÁËÓÉÍÁÌØÎÏ %d)"
|
msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÓÏÓÔÏÑÎÉÊ (ÍÁËÓÉÍÁÌØÎÏ %d)"
|
||||||
|
|
||||||
#: lib/error.c:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "îÅÉÚ×ÅÓÔÎÁÑ ÓÉÓÔÅÍÎÁÑ ÏÛÉÂËÁ"
|
msgstr "îÅÉÚ×ÅÓÔÎÁÑ ÓÉÓÔÅÍÎÁÑ ÏÛÉÂËÁ"
|
||||||
|
|
||||||
@@ -708,68 +708,68 @@ msgstr ""
|
|||||||
"×Ù×ÅÄÅÎÎÙÊ %s ÏÐÒÅÄÅÌÑÅÔ %d ÔÅÒÍÉÎÁÌÏ×%s, %d ÎÅÔÅÒÍÉÎÁÌÏ×%s, É %d ÐÒÁ×ÉÌ "
|
"×Ù×ÅÄÅÎÎÙÊ %s ÏÐÒÅÄÅÌÑÅÔ %d ÔÅÒÍÉÎÁÌÏ×%s, %d ÎÅÔÅÒÍÉÎÁÌÏ×%s, É %d ÐÒÁ×ÉÌ "
|
||||||
"×Ù×ÏÄÁ%s.\n"
|
"×Ù×ÏÄÁ%s.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: ÎÅÏÄÎÏÚÎÁÞÎÙÊ ËÌÀÞ `%s'\n"
|
msgstr "%s: ÎÅÏÄÎÏÚÎÁÞÎÙÊ ËÌÀÞ `%s'\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: lib/getopt.c:719
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `--%s' doesn't allow an argument\n"
|
msgid "%s: option `--%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: ËÌÀÞ `--%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
msgstr "%s: ËÌÀÞ `--%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: lib/getopt.c:724
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: ËÌÀÞ `%c%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
msgstr "%s: ËÌÀÞ `%c%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: lib/getopt.c:742 lib/getopt.c:915
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: ËÌÀÞ `%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ Ó ÁÒÇÕÍÅÎÔÏÍ\n"
|
msgstr "%s: ËÌÀÞ `%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ Ó ÁÒÇÕÍÅÎÔÏÍ\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `--%s'\n"
|
msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `--%s'\n"
|
||||||
|
|
||||||
#. +option or -option
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `%c%s'\n"
|
msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `%c%s'\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÙÊ ËÌÀÞ -- %c\n"
|
msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÙÊ ËÌÀÞ -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: ÎÅ×ÅÒÎÙÊ ËÌÀÞ -- %c\n"
|
msgstr "%s: ÎÅ×ÅÒÎÙÊ ËÌÀÞ -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
msgstr "%s: ËÌÀÞ ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ Ó ÁÒÇÕÍÅÎÔÏÍ -- %c\n"
|
msgstr "%s: ËÌÀÞ ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ Ó ÁÒÇÕÍÅÎÔÏÍ -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: lib/getopt.c:881
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `-W %s' is ambiguous\n"
|
msgid "%s: option `-W %s' is ambiguous\n"
|
||||||
msgstr "%s: ÎÅÏÄÎÏÚÎÁÞÎÙÊ ËÌÀÞ `-W %s'\n"
|
msgstr "%s: ÎÅÏÄÎÏÚÎÁÞÎÙÊ ËÌÀÞ `-W %s'\n"
|
||||||
|
|
||||||
#: lib/getopt.c:880
|
#: lib/getopt.c:899
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: ËÌÀÞ `-W %s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
msgstr "%s: ËÌÀÞ `-W %s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "ÐÁÍÑÔØ ÉÓÞÅÒÐÁÎÁ"
|
msgstr "ÐÁÍÑÔØ ÉÓÞÅÒÐÁÎÁ"
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.28c\n"
|
"Project-Id-Version: bison 1.28c\n"
|
||||||
"POT-Creation-Date: 2001-10-02 18:30+0200\n"
|
"POT-Creation-Date: 2001-10-26 14:37+0200\n"
|
||||||
"PO-Revision-Date: 2001-09-10 10:54GMT\n"
|
"PO-Revision-Date: 2001-09-10 10:54GMT\n"
|
||||||
"Last-Translator: Altug Bayram <[email protected]>\n"
|
"Last-Translator: Altug Bayram <[email protected]>\n"
|
||||||
"Language-Team: Turkish <[email protected]>\n"
|
"Language-Team: Turkish <[email protected]>\n"
|
||||||
@@ -19,7 +19,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "çok fazla durum (en fazla %d)"
|
msgstr "çok fazla durum (en fazla %d)"
|
||||||
|
|
||||||
#: lib/error.c:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "Bilinmeyen sistem hatasý"
|
msgstr "Bilinmeyen sistem hatasý"
|
||||||
|
|
||||||
@@ -710,68 +710,68 @@ msgstr ""
|
|||||||
"indirgenen %s tanýmlanan %d sabit simge%s, %d deðiþken simge%s, ve %düretilen"
|
"indirgenen %s tanýmlanan %d sabit simge%s, %d deðiþken simge%s, ve %düretilen"
|
||||||
"%s.\n"
|
"%s.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: `%s' seçeneði belirsiz\n"
|
msgstr "%s: `%s' seçeneði belirsiz\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: lib/getopt.c:719
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `--%s' doesn't allow an argument\n"
|
msgid "%s: option `--%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: `--%s' seçeneði argümansýz kullanýlýr\n"
|
msgstr "%s: `--%s' seçeneði argümansýz kullanýlýr\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: lib/getopt.c:724
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
msgid "%s: option `%c%s' doesn't allow an argument\n"
|
||||||
msgstr "%s: seçenek `%c%s' argümansýz kullanýlýr\n"
|
msgstr "%s: seçenek `%c%s' argümansýz kullanýlýr\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: lib/getopt.c:742 lib/getopt.c:915
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' requires an argument\n"
|
msgid "%s: option `%s' requires an argument\n"
|
||||||
msgstr "%s: `%s' seçeneði bir argümanla kullanýlýr\n"
|
msgstr "%s: `%s' seçeneði bir argümanla kullanýlýr\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: lib/getopt.c:771
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `--%s'\n"
|
msgid "%s: unrecognized option `--%s'\n"
|
||||||
msgstr "%s: `--%s' seçeneði bilinmiyor\n"
|
msgstr "%s: `--%s' seçeneði bilinmiyor\n"
|
||||||
|
|
||||||
#. +option or -option
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: `%c%s' seçeneði bilinmiyor\n"
|
msgstr "%s: `%c%s' seçeneði bilinmiyor\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: kuraldýþý seçenek -- %c\n"
|
msgstr "%s: kuraldýþý seçenek -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: geçersiz seçenek -- %c\n"
|
msgstr "%s: geçersiz seçenek -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: lib/getopt.c:834 lib/getopt.c:964
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option requires an argument -- %c\n"
|
msgid "%s: option requires an argument -- %c\n"
|
||||||
msgstr "%s: seçenek bir argümanla kullanýlýr -- %c\n"
|
msgstr "%s: seçenek bir argümanla kullanýlýr -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: lib/getopt.c:881
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `-W %s' is ambiguous\n"
|
msgid "%s: option `-W %s' is ambiguous\n"
|
||||||
msgstr "%s: `-W %s' seçeneði belirsiz\n"
|
msgstr "%s: `-W %s' seçeneði belirsiz\n"
|
||||||
|
|
||||||
#: lib/getopt.c:880
|
#: lib/getopt.c:899
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
msgid "%s: option `-W %s' doesn't allow an argument\n"
|
||||||
msgstr "%s: `-W %s' seçeneði argümansýz kullanýlýr\n"
|
msgstr "%s: `-W %s' seçeneði argümansýz kullanýlýr\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "bellek tükendi"
|
msgstr "bellek tükendi"
|
||||||
|
|
||||||
|
|||||||
+4
-5
@@ -1,4 +1,5 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
# Makefile.in generated by automake 1.5a from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
# 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.
|
||||||
@@ -187,9 +188,7 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(AUTOMAKE) --gnu src/Makefile
|
$(AUTOMAKE) --gnu src/Makefile
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
||||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
|
||||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
@@ -228,7 +227,7 @@ ANSI2KNR = ../lib/ansi2knr
|
|||||||
cd ../lib && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
cd ../lib && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
||||||
|
|
||||||
mostlyclean-kr:
|
mostlyclean-kr:
|
||||||
-rm -f *_.c
|
-test "$U" = "" || rm -f *_.c
|
||||||
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/LR0$U.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/LR0$U.Po@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/closure$U.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/closure$U.Po@am__quote@
|
||||||
|
|||||||
+4
-5
@@ -1,4 +1,5 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5a from Makefile.am.
|
# Makefile.in generated by automake 1.5a from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
# 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.
|
||||||
@@ -125,11 +126,9 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(AUTOMAKE) --gnu tests/Makefile
|
$(AUTOMAKE) --gnu tests/Makefile
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
||||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
|
||||||
bison: $(top_builddir)/config.status bison.in
|
bison: $(top_builddir)/config.status bison.in
|
||||||
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||||
uninstall-info-am:
|
uninstall-info-am:
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
TAGS:
|
TAGS:
|
||||||
|
|||||||
Reference in New Issue
Block a user