Adjust to recent changes to gnulib bootstrap.

* .cvsignore, build-aux/.cvsignore, doc/.cvsignore, etc/.cvsignore:
* examples/calc++/.cvsignore, lib/.cvsignore, m4/.cvsignore:
* po/.cvsignore, runtime-po/.cvsignore, src/.cvsignore:
* tests/.cvsignore: Remove; I don't use CVS to maintain Bison
anymore and don't know of anybody else who does.  If someone needs
these files, they can resurrect them.
* .gitignore, build-aux/.gitignore, doc/.gitignore, lib/.gitignore:
* m4/.gitignore, po/.gitignore, runtime-po/.gitignore:
Omit leading '/', since bootstrap omits it.
Adjust file names to match current contents better.
* bootstrap: Sync from gnulib: this contains the new gnulib_mk_hook
installed just for us.
* bootstrap.conf (excluded_files): Don't exclude codeset.m4,
glibc21.m4, inttypes_h.m4, size_max.m4, xsize.m4, as they are now
needed somehow.  Don't have time to look into why.
(gnulib_modules): Change malloc to malloc-gnu.  Do we really assume
the GNU malloc behavior, where malloc (0) != NULL unless we're
out of storage?  If not, we can omit malloc-gnu; but for now I left
it in to be safe.
(vc_ignore): Remove.
(gnulib_mk_hook): New function.
* README-hacking: Renamed from HACKING, since gnulib bootstrap now
uses that convention.
This commit is contained in:
Paul Eggert
2010-10-08 11:10:06 -07:00
parent 771a7fb869
commit 95aed8db15
23 changed files with 666 additions and 1118 deletions

View File

@@ -1,32 +0,0 @@
*.cache
*.flc
*.prj
*~
.tarball-version
.version
ABOUT-NLS
COPYING
GNUmakefile
INSTALL
Makefile
Makefile.in
_*
a.exe
a.out
aclocal.m4
b.out
bison-*
conf[0-9]*
confdefs*
config.log
config.status
configure
configure.lineno
conftest*
gnulib
javacomp.sh
javaexec.sh
maint.mk
patches
releases
stamp-h*

54
.gitignore vendored
View File

@@ -1,32 +1,32 @@
.tarball-version
.version
/*.cache /*.cache
/*.flc /*.flc
/*.prj /*.prj
/*~ /*~
/.tarball-version
/.version
/ABOUT-NLS
/COPYING
/GNUmakefile
/INSTALL
/Makefile
/Makefile.in
/_* /_*
/a.exe ABOUT-NLS
/a.out COPYING
/aclocal.m4 GNUmakefile
/b.out INSTALL
/bison-* Makefile
/conf[0-9]* Makefile.in
/confdefs* a.exe
/config.log a.out
/config.status aclocal.m4
/configure b.out
/configure.lineno bison-*
/conftest* conf[0-9]*
/gnulib confdefs*
/javacomp.sh config.log
/javaexec.sh config.status
/maint.mk configure
/patches configure.lineno
/releases conftest*
/stamp-h* gnulib
javacomp.sh
javaexec.sh
maint.mk
patches
releases
stamp-h*

View File

@@ -1,3 +1,31 @@
2010-10-08 Paul Eggert <eggert@cs.ucla.edu>
Adjust to recent changes to gnulib bootstrap.
* .cvsignore, build-aux/.cvsignore, doc/.cvsignore, etc/.cvsignore:
* examples/calc++/.cvsignore, lib/.cvsignore, m4/.cvsignore:
* po/.cvsignore, runtime-po/.cvsignore, src/.cvsignore:
* tests/.cvsignore: Remove; I don't use CVS to maintain Bison
anymore and don't know of anybody else who does. If someone needs
these files, they can resurrect them.
* .gitignore, build-aux/.gitignore, doc/.gitignore, lib/.gitignore:
* m4/.gitignore, po/.gitignore, runtime-po/.gitignore:
Omit leading '/', since bootstrap omits it.
Adjust file names to match current contents better.
* bootstrap: Sync from gnulib: this contains the new gnulib_mk_hook
installed just for us.
* bootstrap.conf (excluded_files): Don't exclude codeset.m4,
glibc21.m4, inttypes_h.m4, size_max.m4, xsize.m4, as they are now
needed somehow. Don't have time to look into why.
(gnulib_modules): Change malloc to malloc-gnu. Do we really assume
the GNU malloc behavior, where malloc (0) != NULL unless we're
out of storage? If not, we can omit malloc-gnu; but for now I left
it in to be safe.
(vc_ignore): Remove.
(gnulib_mk_hook): New function.
* README-hacking: Renamed from HACKING, since gnulib bootstrap now
uses that convention.
2010-09-09 Paul Hilfinger <hilfinger@cs.berkeley.edu> 2010-09-09 Paul Hilfinger <hilfinger@cs.berkeley.edu>
* data/glr.c (yySymbol): Define as int to avoid compiler warnings about * data/glr.c (yySymbol): Define as int to avoid compiler warnings about

239
bootstrap
View File

@@ -1,9 +1,10 @@
#! /bin/sh #! /bin/sh
# Print a version string.
scriptversion=2010-10-08.16; # UTC
# Bootstrap this package from checked-out sources. # Bootstrap this package from checked-out sources.
# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free # Copyright (C) 2003-2010 Free Software Foundation, Inc.
# Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -18,13 +19,20 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# Written by Paul Eggert. # Originally written by Paul Eggert. The canonical version of this
# script is maintained as build-aux/bootstrap in gnulib, however, to
# be useful to your project, you should place a copy of it under
# version control in the top-level directory of your project. The
# intent is that all customization can be done with a bootstrap.conf
# file also maintained in your version control; gnulib comes with a
# template build-aux/bootstrap.conf to get you started.
# Please report bugs or propose patches to bug-gnulib@gnu.org.
nl=' nl='
' '
# Ensure file names are sorted consistently across platforms. # Ensure file names are sorted consistently across platforms.
# Also, ensure diagnostics are in English, e.g., "wget --help" below.
LC_ALL=C LC_ALL=C
export LC_ALL export LC_ALL
@@ -45,7 +53,7 @@ Options:
sources reside. Use this if you already sources reside. Use this if you already
have gnulib sources on your machine, and have gnulib sources on your machine, and
do not want to waste your bandwidth downloading do not want to waste your bandwidth downloading
them again. them again. Defaults to \$GNULIB_SRCDIR.
--copy Copy files instead of creating symbolic links. --copy Copy files instead of creating symbolic links.
--force Attempt to bootstrap even if the sources seem --force Attempt to bootstrap even if the sources seem
not to have been checked out. not to have been checked out.
@@ -72,6 +80,10 @@ gnulib_modules=
# Any gnulib files needed that are not in modules. # Any gnulib files needed that are not in modules.
gnulib_files= gnulib_files=
# A function to be called to edit gnulib.mk right after it's created.
# Override it via your own definition in bootstrap.conf.
gnulib_mk_hook() { :; }
# A function to be called after everything else in this script. # A function to be called after everything else in this script.
# Override it via your own definition in bootstrap.conf. # Override it via your own definition in bootstrap.conf.
bootstrap_epilogue() { :; } bootstrap_epilogue() { :; }
@@ -82,7 +94,8 @@ bootstrap_epilogue() { :; }
# options because the latest/%s directory and the .po files within are # options because the latest/%s directory and the .po files within are
# all symlinks. # all symlinks.
po_download_command_format=\ po_download_command_format=\
"rsync -Lrtvz 'translationproject.org::tp/latest/%s/' '%s'" "rsync --delete --exclude '*.s1' -Lrtvz \
'translationproject.org::tp/latest/%s/' '%s'"
extract_package_name=' extract_package_name='
/^AC_INIT(/{ /^AC_INIT(/{
@@ -135,7 +148,8 @@ XGETTEXT_OPTIONS='\\\
--flag=error:3:c-format --flag=error_at_line:5:c-format\\\ --flag=error:3:c-format --flag=error_at_line:5:c-format\\\
' '
# Package bug report address for gettext files # Package bug report address and copyright holder for gettext files
COPYRIGHT_HOLDER='Free Software Foundation, Inc.'
MSGID_BUGS_ADDRESS=bug-$package@gnu.org MSGID_BUGS_ADDRESS=bug-$package@gnu.org
# Files we don't want to import. # Files we don't want to import.
@@ -143,7 +157,7 @@ excluded_files=
# File that should exist in the top directory of a checked out hierarchy, # File that should exist in the top directory of a checked out hierarchy,
# but not in a distribution tarball. # but not in a distribution tarball.
checkout_only_file=HACKING checkout_only_file=README-hacking
# Whether to use copies instead of symlinks. # Whether to use copies instead of symlinks.
copy=false copy=false
@@ -162,7 +176,6 @@ vc_ignore=auto
# die otherwise. # die otherwise.
find_tool () find_tool ()
{ {
# Find sha1sum, named gsha1sum on MacPorts.
find_tool_envvar=$1 find_tool_envvar=$1
shift shift
find_tool_names=$@ find_tool_names=$@
@@ -190,8 +203,8 @@ find_tool ()
eval "export $find_tool_envvar" eval "export $find_tool_envvar"
} }
# Find sha1sum, named gsha1sum on MacPorts. # Find sha1sum, named gsha1sum on MacPorts, and shasum on MacOS 10.6.
find_tool SHA1SUM sha1sum gsha1sum find_tool SHA1SUM sha1sum gsha1sum shasum
# Override the default configuration, if necessary. # Override the default configuration, if necessary.
# Make sure that bootstrap.conf is sourced from the current directory # Make sure that bootstrap.conf is sourced from the current directory
@@ -248,21 +261,6 @@ insert_sorted_if_absent() {
|| exit 1 || exit 1
} }
# Adjust $PATTERN for $VC_IGNORE_FILE and insert it with
# insert_sorted_if_absent.
insert_vc_ignore() {
vc_ignore_file="$1"
case $vc_ignore_file in
*.gitignore)
# A .gitignore entry that does not start with `/' applies recursively to
# subdirectories, so prepend `/' to every .gitignore entry.
pattern=`echo "$2" | sed s,^,/,`;;
*)
pattern="$2";;
esac
insert_sorted_if_absent "$vc_ignore_file" "$pattern"
}
# Die if there is no AC_CONFIG_AUX_DIR($build_aux) line in configure.ac. # Die if there is no AC_CONFIG_AUX_DIR($build_aux) line in configure.ac.
found_aux_dir=no found_aux_dir=no
grep '^[ ]*AC_CONFIG_AUX_DIR(\['"$build_aux"'\])' configure.ac \ grep '^[ ]*AC_CONFIG_AUX_DIR(\['"$build_aux"'\])' configure.ac \
@@ -281,7 +279,7 @@ if test ! -d $build_aux; then
mkdir $build_aux mkdir $build_aux
for dot_ig in x $vc_ignore; do for dot_ig in x $vc_ignore; do
test $dot_ig = x && continue test $dot_ig = x && continue
insert_vc_ignore $dot_ig $build_aux insert_sorted_if_absent $dot_ig $build_aux
done done
fi fi
@@ -352,8 +350,12 @@ check_versions() {
ret=0 ret=0
while read app req_ver; do while read app req_ver; do
# We only need libtoolize from the libtool package.
if test "$app" = libtool; then
app=libtoolize
fi
# Honor $APP variables ($TAR, $AUTOCONF, etc.) # Honor $APP variables ($TAR, $AUTOCONF, etc.)
appvar=`echo $app | tr '[a-z]' '[A-Z]'` appvar=`echo $app | tr '[a-z]-' '[A-Z]_'`
test "$appvar" = TAR && appvar=AMTAR test "$appvar" = TAR && appvar=AMTAR
eval "app=\${$appvar-$app}" eval "app=\${$appvar-$app}"
inst_ver=$(get_version $app) inst_ver=$(get_version $app)
@@ -376,16 +378,30 @@ check_versions() {
print_versions() { print_versions() {
echo "Program Min_version" echo "Program Min_version"
echo "----------------------" echo "----------------------"
printf "$buildreq" printf %s "$buildreq"
echo "----------------------" echo "----------------------"
# can't depend on column -t # can't depend on column -t
} }
use_libtool=0
# We'd like to use grep -E, to see if any of LT_INIT,
# AC_PROG_LIBTOOL, AM_PROG_LIBTOOL is used in configure.ac,
# but that's not portable enough (e.g., for Solaris).
grep '^[ ]*A[CM]_PROG_LIBTOOL' configure.ac >/dev/null \
&& use_libtool=1
grep '^[ ]*LT_INIT' configure.ac >/dev/null \
&& use_libtool=1
if test $use_libtool = 1; then
find_tool LIBTOOLIZE glibtoolize libtoolize
fi
if ! printf "$buildreq" | check_versions; then if ! printf "$buildreq" | check_versions; then
test -f README-prereq && echo >&2
echo "See README-prereq for notes on obtaining these prerequisite programs:" >&2 if test -f README-prereq; then
echo echo "See README-prereq for how to get the prerequisite programs" >&2
print_versions else
echo "Please install the prerequisite programs" >&2
fi
exit 1 exit 1
fi fi
@@ -407,7 +423,7 @@ fi
cleanup_gnulib() { cleanup_gnulib() {
status=$? status=$?
rm -fr gnulib rm -fr "$gnulib_path"
exit $status exit $status
} }
@@ -415,6 +431,9 @@ git_modules_config () {
test -f .gitmodules && git config --file .gitmodules "$@" test -f .gitmodules && git config --file .gitmodules "$@"
} }
gnulib_path=`git_modules_config submodule.gnulib.path`
: ${gnulib_path=gnulib}
# Get gnulib files. # Get gnulib files.
case ${GNULIB_SRCDIR--} in case ${GNULIB_SRCDIR--} in
@@ -424,30 +443,44 @@ case ${GNULIB_SRCDIR--} in
git submodule init || exit $? git submodule init || exit $?
git submodule update || exit $? git submodule update || exit $?
elif [ ! -d gnulib ]; then elif [ ! -d "$gnulib_path" ]; then
echo "$0: getting gnulib files..." echo "$0: getting gnulib files..."
trap cleanup_gnulib 1 2 13 15 trap cleanup_gnulib 1 2 13 15
git clone --help|grep depth > /dev/null && shallow='--depth 2' || shallow= shallow=
git clone $shallow git://git.sv.gnu.org/gnulib || git clone -h 2>&1 | grep -- --depth > /dev/null && shallow='--depth 2'
git clone $shallow git://git.sv.gnu.org/gnulib "$gnulib_path" ||
cleanup_gnulib cleanup_gnulib
trap - 1 2 13 15 trap - 1 2 13 15
fi fi
GNULIB_SRCDIR=gnulib GNULIB_SRCDIR=$gnulib_path
;; ;;
*) *)
# Redirect the gnulib submodule to the directory on the command line # Use GNULIB_SRCDIR as a reference.
# if possible.
if test -d "$GNULIB_SRCDIR"/.git && \ if test -d "$GNULIB_SRCDIR"/.git && \
git_modules_config submodule.gnulib.url >/dev/null; then git_modules_config submodule.gnulib.url >/dev/null; then
git submodule init
GNULIB_SRCDIR=`cd $GNULIB_SRCDIR && pwd`
git_modules_config --replace-all submodule.gnulib.url $GNULIB_SRCDIR
echo "$0: getting gnulib files..." echo "$0: getting gnulib files..."
git submodule update || exit $? if git submodule -h|grep -- --reference > /dev/null; then
GNULIB_SRCDIR=gnulib # Prefer the one-liner available in git 1.6.4 or newer.
git submodule update --init --reference "$GNULIB_SRCDIR" \
"$gnulib_path" || exit $?
else
# This fallback allows at least git 1.5.5.
if test -f "$gnulib_path"/gnulib-tool; then
# Since file already exists, assume submodule init already complete.
git submodule update || exit $?
else
# Older git can't clone into an empty directory.
rmdir "$gnulib_path" 2>/dev/null
git clone --reference "$GNULIB_SRCDIR" \
"$(git_modules_config submodule.gnulib.url)" "$gnulib_path" \
&& git submodule init && git submodule update \
|| exit $?
fi
fi
GNULIB_SRCDIR=$gnulib_path
fi fi
;; ;;
esac esac
@@ -465,22 +498,24 @@ download_po_files() {
eval "$cmd" eval "$cmd"
} }
# Download .po files to $po_dir/.reference and copy only the new # Mirror .po files to $po_dir/.reference and copy only the new
# or modified ones into $po_dir. Also update $po_dir/LINGUAS. # or modified ones into $po_dir. Also update $po_dir/LINGUAS.
# Note po files that exist locally only are left in $po_dir but will
# not be included in LINGUAS and hence will not be distributed.
update_po_files() { update_po_files() {
# Directory containing primary .po files. # Directory containing primary .po files.
# Overwrite them only when we're sure a .po file is new. # Overwrite them only when we're sure a .po file is new.
po_dir=$1 po_dir=$1
domain=$2 domain=$2
# Download *.po files into this dir. # Mirror *.po files into this dir.
# Usually contains *.s1 checksum files. # Usually contains *.s1 checksum files.
ref_po_dir="$po_dir/.reference" ref_po_dir="$po_dir/.reference"
test -d $ref_po_dir || mkdir $ref_po_dir || return test -d $ref_po_dir || mkdir $ref_po_dir || return
download_po_files $ref_po_dir $domain \ download_po_files $ref_po_dir $domain \
&& ls "$ref_po_dir"/*.po 2>/dev/null | && ls "$ref_po_dir"/*.po 2>/dev/null |
sed 's|.*/||; s|\.po$||' > "$po_dir/LINGUAS" sed 's|.*/||; s|\.po$||' > "$po_dir/LINGUAS" || return
langs=`cd $ref_po_dir && echo *.po|sed 's/\.po//g'` langs=`cd $ref_po_dir && echo *.po|sed 's/\.po//g'`
test "$langs" = '*' && langs=x test "$langs" = '*' && langs=x
@@ -510,27 +545,6 @@ case $SKIP_PO in
fi;; fi;;
esac esac
check_dst_dir()
{
dst=$1
# If the destination directory doesn't exist, create it.
# This is required at least for "lib/uniwidth/cjk.h".
dst_dir=`dirname "$dst"`
if ! test -d "$dst_dir"; then
mkdir -p "$dst_dir"
# If we've just created a directory like lib/uniwidth,
# tell version control system(s) it's ignorable.
# FIXME: for now, this does only one level
parent=`dirname "$dst_dir"`
for dot_ig in x $vc_ignore; do
test $dot_ig = x && continue
ig=$parent/$dot_ig
insert_vc_ignore $ig `echo "$dst_dir"|sed 's,.*/,,'`
done
fi
}
symlink_to_dir() symlink_to_dir()
{ {
src=$1/$2 src=$1/$2
@@ -538,7 +552,22 @@ symlink_to_dir()
test -f "$src" && { test -f "$src" && {
check_dst_dir "$dst" # If the destination directory doesn't exist, create it.
# This is required at least for "lib/uniwidth/cjk.h".
dst_dir=`dirname "$dst"`
if ! test -d "$dst_dir"; then
mkdir -p "$dst_dir"
# If we've just created a directory like lib/uniwidth,
# tell version control system(s) it's ignorable.
# FIXME: for now, this does only one level
parent=`dirname "$dst_dir"`
for dot_ig in x $vc_ignore; do
test $dot_ig = x && continue
ig=$parent/$dot_ig
insert_sorted_if_absent $ig `echo "$dst_dir"|sed 's,.*/,,'`
done
fi
if $copy; then if $copy; then
{ {
@@ -595,6 +624,11 @@ cp_mark_as_generated()
*) c1= ; c2= ;; *) c1= ; c2= ;;
esac esac
# If the destination directory doesn't exist, create it.
# This is required at least for "lib/uniwidth/cjk.h".
dst_dir=`dirname "$cp_dst"`
test -d "$dst_dir" || mkdir -p "$dst_dir"
if test -z "$c1"; then if test -z "$c1"; then
cmp -s "$cp_src" "$cp_dst" || { cmp -s "$cp_src" "$cp_dst" || {
# Copy the file first to get proper permissions if it # Copy the file first to get proper permissions if it
@@ -606,7 +640,6 @@ cp_mark_as_generated()
mv -f "$cp_dst-t" "$cp_dst" mv -f "$cp_dst-t" "$cp_dst"
} }
else else
check_dst_dir "$cp_dst"
# Copy the file first to get proper permissions if it # Copy the file first to get proper permissions if it
# doesn't already exist. Then overwrite the copy. # doesn't already exist. Then overwrite the copy.
cp "$cp_src" "$cp_dst-t" && cp "$cp_src" "$cp_dst-t" &&
@@ -649,19 +682,23 @@ slurp() {
for file in `ls -a $1/$dir`; do for file in `ls -a $1/$dir`; do
case $file in case $file in
.|..) continue;; .|..) continue;;
.*) continue;; # FIXME: should all file names starting with "." be ignored? # FIXME: should all file names starting with "." be ignored?
.*) continue;;
esac esac
test -d $1/$dir/$file && continue test -d $1/$dir/$file && continue
for excluded_file in $excluded_files; do for excluded_file in $excluded_files; do
test "$dir/$file" = "$excluded_file" && continue 2 test "$dir/$file" = "$excluded_file" && continue 2
done done
if test $file = Makefile.am; then if test $file = Makefile.am && test "X$gnulib_mk" != XMakefile.am; then
copied=$copied${sep}$gnulib_mk; sep=$nl copied=$copied${sep}$gnulib_mk; sep=$nl
remove_intl='/^[^#].*\/intl/s/^/#/;'"s!$bt_regex/!!g" remove_intl='/^[^#].*\/intl/s/^/#/;'"s!$bt_regex/!!g"
echo "$0: Copying $1/$dir/$file to $dir/$gnulib_mk ..." sed "$remove_intl" $1/$dir/$file |
rm -f $dir/$gnulib_mk cmp - $dir/$gnulib_mk > /dev/null || {
sed "$remove_intl" $1/$dir/$file >$dir/$gnulib_mk echo "$0: Copying $1/$dir/$file to $dir/$gnulib_mk ..." &&
etc/prefix-gnulib-mk $dir/$gnulib_mk rm -f $dir/$gnulib_mk &&
sed "$remove_intl" $1/$dir/$file >$dir/$gnulib_mk &&
gnulib_mk_hook $dir/$gnulib_mk
}
elif { test "${2+set}" = set && test -r $2/$dir/$file; } || elif { test "${2+set}" = set && test -r $2/$dir/$file; } ||
version_controlled_file $dir $file; then version_controlled_file $dir $file; then
echo "$0: $dir/$file overrides $1/$dir/$file" echo "$0: $dir/$file overrides $1/$dir/$file"
@@ -672,7 +709,7 @@ slurp() {
rm -f $dir/$file rm -f $dir/$file
sed ' sed '
/^AC_DEFUN(\[AM_INTL_SUBDIR],/,/^]/c\ /^AC_DEFUN(\[AM_INTL_SUBDIR],/,/^]/c\
AC_DEFUN([AM_INTL_SUBDIR], [ AC_DEFUN([AM_INTL_SUBDIR], [])
/^AC_DEFUN(\[gt_INTL_SUBDIR_CORE],/,/^]/c\ /^AC_DEFUN(\[gt_INTL_SUBDIR_CORE],/,/^]/c\
AC_DEFUN([gt_INTL_SUBDIR_CORE], []) AC_DEFUN([gt_INTL_SUBDIR_CORE], [])
$a\ $a\
@@ -688,18 +725,25 @@ slurp() {
test $dot_ig = x && continue test $dot_ig = x && continue
ig=$dir/$dot_ig ig=$dir/$dot_ig
if test -n "$copied"; then if test -n "$copied"; then
insert_vc_ignore $ig "$copied" insert_sorted_if_absent $ig "$copied"
# If an ignored file name ends with .in.h, then also add # If an ignored file name ends with .in.h, then also add
# the name with just ".h". Many gnulib headers are generated, # the name with just ".h". Many gnulib headers are generated,
# e.g., stdint.in.h -> stdint.h, dirent.in.h ->..., etc. # e.g., stdint.in.h -> stdint.h, dirent.in.h ->..., etc.
# Likewise for .gperf -> .h, .y -> .c, and .sin -> .sed # Likewise for .gperf -> .h, .y -> .c, and .sin -> .sed
f=`echo "$copied"|sed 's/\.in\.h$/.h/;s/\.sin$/.sed/;s/\.y$/.c/;s/\.gperf$/.h/'` f=`echo "$copied" |
insert_vc_ignore $ig "$f" sed '
s/\.in\.h$/.h/
s/\.sin$/.sed/
s/\.y$/.c/
s/\.gperf$/.h/
'
`
insert_sorted_if_absent $ig "$f"
# For files like sys_stat.in.h and sys_time.in.h, record as # For files like sys_stat.in.h and sys_time.in.h, record as
# ignorable the directory we might eventually create: sys/. # ignorable the directory we might eventually create: sys/.
f=`echo "$copied"|sed 's/sys_.*\.in\.h$/sys/'` f=`echo "$copied"|sed 's/sys_.*\.in\.h$/sys/'`
insert_vc_ignore $ig "$f" insert_sorted_if_absent $ig "$f"
fi fi
done done
done done
@@ -724,6 +768,12 @@ gnulib_tool_options="\
--local-dir $local_gl_dir\ --local-dir $local_gl_dir\
$gnulib_tool_option_extras\ $gnulib_tool_option_extras\
" "
if test $use_libtool = 1; then
case "$gnulib_tool_options " in
*' --libtool '*) ;;
*) gnulib_tool_options="$gnulib_tool_options --libtool" ;;
esac
fi
echo "$0: $gnulib_tool $gnulib_tool_options --import ..." echo "$0: $gnulib_tool $gnulib_tool_options --import ..."
$gnulib_tool $gnulib_tool_options --import $gnulib_modules && $gnulib_tool $gnulib_tool_options --import $gnulib_modules &&
slurp $bt || exit slurp $bt || exit
@@ -766,20 +816,12 @@ grep -E '^[ ]*AC_CONFIG_HEADERS?\>' configure.ac >/dev/null ||
for command in \ for command in \
libtool \ libtool \
"${ACLOCAL-aclocal} --force -I m4" \ "${ACLOCAL-aclocal} --force -I m4 $ACLOCAL_FLAGS" \
"${AUTOCONF-autoconf} --force" \ "${AUTOCONF-autoconf} --force" \
"${AUTOHEADER-autoheader} --force" \ "${AUTOHEADER-autoheader} --force" \
"${AUTOMAKE-automake} --add-missing --copy --force-missing" "${AUTOMAKE-automake} --add-missing --copy --force-missing"
do do
if test "$command" = libtool; then if test "$command" = libtool; then
use_libtool=0
# We'd like to use grep -E, to see if any of LT_INIT,
# AC_PROG_LIBTOOL, AM_PROG_LIBTOOL is used in configure.ac,
# but that's not portable enough (e.g., for Solaris).
grep '^[ ]*A[CM]_PROG_LIBTOOL' configure.ac >/dev/null \
&& use_libtool=1
grep '^[ ]*LT_INIT' configure.ac >/dev/null \
&& use_libtool=1
test $use_libtool = 0 \ test $use_libtool = 0 \
&& continue && continue
command="${LIBTOOLIZE-libtoolize} -c -f" command="${LIBTOOLIZE-libtoolize} -c -f"
@@ -805,13 +847,14 @@ if test $with_gettext = yes; then
rm -f po/Makevars rm -f po/Makevars
sed ' sed '
/^EXTRA_LOCALE_CATEGORIES *=/s/=.*/= '"$EXTRA_LOCALE_CATEGORIES"'/ /^EXTRA_LOCALE_CATEGORIES *=/s/=.*/= '"$EXTRA_LOCALE_CATEGORIES"'/
/^MSGID_BUGS_ADDRESS *=/s/=.*/= '"$MSGID_BUGS_ADDRESS"'/ /^COPYRIGHT_HOLDER *=/s/=.*/= '"$COPYRIGHT_HOLDER"'/
/^MSGID_BUGS_ADDRESS *=/s|=.*|= '"$MSGID_BUGS_ADDRESS"'|
/^XGETTEXT_OPTIONS *=/{ /^XGETTEXT_OPTIONS *=/{
s/$/ \\/ s/$/ \\/
a\ a\
'"$XGETTEXT_OPTIONS"' $${end_of_xgettext_options+} '"$XGETTEXT_OPTIONS"' $${end_of_xgettext_options+}
} }
' po/Makevars.template >po/Makevars ' po/Makevars.template >po/Makevars || exit 1
if test -d runtime-po; then if test -d runtime-po; then
# Similarly for runtime-po/Makevars, but not quite the same. # Similarly for runtime-po/Makevars, but not quite the same.
@@ -825,7 +868,7 @@ if test $with_gettext = yes; then
a\ a\
'"$XGETTEXT_OPTIONS_RUNTIME"' $${end_of_xgettext_options+} '"$XGETTEXT_OPTIONS_RUNTIME"' $${end_of_xgettext_options+}
} }
' <po/Makevars.template >runtime-po/Makevars ' po/Makevars.template >runtime-po/Makevars || exit 1
# Copy identical files from po to runtime-po. # Copy identical files from po to runtime-po.
(cd po && cp -p Makefile.in.in *-quot *.header *.sed *.sin ../runtime-po) (cd po && cp -p Makefile.in.in *-quot *.header *.sed *.sin ../runtime-po)
@@ -836,6 +879,10 @@ bootstrap_epilogue
echo "$0: done. Now you can run './configure'." echo "$0: done. Now you can run './configure'."
# Local Variables: # Local variables:
# indent-tabs-mode: nil # eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End: # End:

View File

@@ -20,7 +20,7 @@ gnulib_modules='
announce-gen argmatch assert config-h c-strcase configmake dirname announce-gen argmatch assert config-h c-strcase configmake dirname
error extensions fopen-safer gendocs getopt-gnu gettext error extensions fopen-safer gendocs getopt-gnu gettext
git-version-gen hash inttypes javacomp-script javaexec-script git-version-gen hash inttypes javacomp-script javaexec-script
maintainer-makefile malloc mbswidth obstack pipe quote quotearg maintainer-makefile malloc-gnu mbswidth obstack pipe quote quotearg
realloc-posix stdbool stpcpy strerror strtoul strverscmp unistd realloc-posix stdbool stpcpy strerror strtoul strverscmp unistd
unistd-safer unlocked-io update-copyright unsetenv verify warnings unistd-safer unlocked-io update-copyright unsetenv verify warnings
xalloc xalloc-die xstrndup xalloc xalloc-die xstrndup
@@ -45,28 +45,25 @@ XGETTEXT_OPTIONS_RUNTIME=$XGETTEXT_OPTIONS'\\\
# Gettext supplies these files, but we don't need them since # Gettext supplies these files, but we don't need them since
# we don't have an intl subdirectory. # we don't have an intl subdirectory.
excluded_files=' excluded_files='
m4/codeset.m4
m4/glibc2.m4 m4/glibc2.m4
m4/glibc21.m4
m4/intdiv0.m4 m4/intdiv0.m4
m4/intl.m4 m4/intl.m4
m4/intldir.m4 m4/intldir.m4
m4/intmax.m4 m4/intmax.m4
m4/inttypes_h.m4
m4/lcmessage.m4 m4/lcmessage.m4
m4/lock.m4 m4/lock.m4
m4/longdouble.m4 m4/longdouble.m4
m4/signed.m4 m4/signed.m4
m4/size_max.m4
m4/uintmax_t.m4 m4/uintmax_t.m4
m4/ulonglong.m4 m4/ulonglong.m4
m4/visibility.m4 m4/visibility.m4
m4/xsize.m4
' '
# In directories like lib/, m4/, and po/, generate both these files because we # Massage lib/gnulib.mk before using it later in the bootstrapping process.
# still try to support CVS emulation. gnulib_mk_hook()
vc_ignore='.cvsignore .gitignore' {
etc/prefix-gnulib-mk $1
}
bootstrap_epilogue() bootstrap_epilogue()
{ {

View File

@@ -1,22 +0,0 @@
announce-gen
arg-nonnull.h
c++defs.h
compile
config.guess
config.rpath
config.sub
depcomp
gendocs.sh
git-version-gen
install-sh
javacomp.sh.in
javaexec.sh.in
link-warning.h
mdate-sh
missing
texinfo.tex
update-copyright
useless-if-before-free
vc-list-files
warn-on-use.h
ylwrap

44
build-aux/.gitignore vendored
View File

@@ -1,22 +1,22 @@
/announce-gen announce-gen
/arg-nonnull.h arg-nonnull.h
/c++defs.h c++defs.h
/compile compile
/config.guess config.guess
/config.rpath config.rpath
/config.sub config.sub
/depcomp depcomp
/gendocs.sh gendocs.sh
/git-version-gen git-version-gen
/install-sh install-sh
/javacomp.sh.in javacomp.sh.in
/javaexec.sh.in javaexec.sh.in
/link-warning.h link-warning.h
/mdate-sh mdate-sh
/missing missing
/texinfo.tex texinfo.tex
/update-copyright update-copyright
/useless-if-before-free useless-if-before-free
/vc-list-files vc-list-files
/warn-on-use.h warn-on-use.h
/ylwrap ylwrap

View File

@@ -1,25 +0,0 @@
*.info*
bison.1
bison.aux
bison.cp
bison.cps
bison.dvi
bison.fn
bison.help
bison.html
bison.ky
bison.log
bison.pdf
bison.pg
bison.ps
bison.toc
bison.tp
bison.vr
cross-options.texi
gendocs_template
refcard.dvi
refcard.log
refcard.ps
stamp-vti
version.texi
yacc.1

52
doc/.gitignore vendored
View File

@@ -1,25 +1,27 @@
/*.info* *.info*
/bison.1 *~
/bison.aux .dirstamp
/bison.cp bison.1
/bison.cps bison.aux
/bison.dvi bison.cp
/bison.fn bison.cps
/bison.help bison.dvi
/bison.html bison.fn
/bison.ky bison.help
/bison.log bison.html
/bison.pdf bison.ky
/bison.pg bison.log
/bison.ps bison.pdf
/bison.toc bison.pg
/bison.tp bison.ps
/bison.vr bison.toc
/cross-options.texi bison.tp
/gendocs_template bison.vr
/refcard.dvi cross-options.texi
/refcard.log gendocs_template
/refcard.ps refcard.dvi
/stamp-vti refcard.log
/version.texi refcard.ps
/yacc.1 stamp-vti
version.texi
yacc.1

View File

@@ -1 +0,0 @@
bench.pl

View File

@@ -1,11 +0,0 @@
*.cc
*.hh
*.ll
*.output
*.stamp
*.tmp
*.yy
.deps
Makefile
Makefile.in
calc++

View File

@@ -1,219 +0,0 @@
.deps
Makefile
Makefile.in
alloca.h
alloca.in.h
argmatch.c
argmatch.h
asnprintf.c
basename-lgpl.c
basename.c
binary-io.h
bitrotate.h
c-ctype.c
c-ctype.h
c-strcase.h
c-strcasecmp.c
c-strncasecmp.c
charset.alias
cloexec.c
cloexec.h
config.charset
config.h
config.hin
configmake.h
dirname-lgpl.c
dirname.c
dirname.h
dup-safer-flag.c
dup-safer.c
dup2.c
errno.h
errno.in.h
error.c
error.h
exitfail.c
exitfail.h
fatal-signal.c
fatal-signal.h
fcntl.c
fcntl.h
fcntl.in.h
fd-safer-flag.c
fd-safer.c
float+.h
float.h
float.in.h
fopen-safer.c
fopen.c
fprintf.c
fpucw.h
frexp.c
frexpl.c
fseterr.c
fseterr.h
getdtablesize.c
getopt.c
getopt.h
getopt.in.h
getopt1.c
getopt_.h
getopt_int.h
getpagesize.c
gettext.h
gnulib.mk
hash.c
hash.h
intprops.h
inttypes.h
inttypes.in.h
inttypes_.h
isnan.c
isnand-nolibm.h
isnand.c
isnanf-nolibm.h
isnanf.c
isnanl-nolibm.h
isnanl.c
localcharset.c
localcharset.h
malloc.c
math.h
math.in.h
mbrtowc.c
mbsinit.c
mbswidth.c
mbswidth.h
memchr.c
memchr.valgrind
obstack.c
obstack.h
open.c
pipe-safer.c
pipe.c
pipe.h
pipe2-safer.c
pipe2.c
printf-args.c
printf-args.h
printf-frexp.c
printf-frexp.h
printf-frexpl.c
printf-frexpl.h
printf-parse.c
printf-parse.h
printf.c
quote.c
quote.h
quotearg.c
quotearg.h
rawmemchr.c
rawmemchr.valgrind
realloc.c
ref-add.sed
ref-add.sin
ref-del.sed
ref-del.sin
sched.h
sched.in.h
sig-handler.h
sigaction.c
signal.h
signal.in.h
signbitd.c
signbitf.c
signbitl.c
sigprocmask.c
size_max.h
snprintf.c
spawn.h
spawn.in.h
spawn_faction_addclose.c
spawn_faction_adddup2.c
spawn_faction_addopen.c
spawn_faction_destroy.c
spawn_faction_init.c
spawn_int.h
spawnattr_destroy.c
spawnattr_init.c
spawnattr_setflags.c
spawnattr_setsigmask.c
spawni.c
spawnp.c
sprintf.c
stamp-h1
stat.c
stdbool.h
stdbool.in.h
stdbool_.h
stddef.h
stddef.in.h
stdint.h
stdint.in.h
stdint_.h
stdio--.h
stdio-impl.h
stdio-safer.h
stdio-write.c
stdio.h
stdio.in.h
stdlib.h
stdlib.in.h
stdlib_.h
stpcpy.c
strchrnul.c
strchrnul.valgrind
streq.h
strerror.c
string.h
string.in.h
string_.h
stripslash.c
strndup.c
strnlen.c
strtol.c
strtoul.c
strverscmp.c
strverscmp.h
sys
sys_stat.h
sys_stat.in.h
sys_wait.h
sys_wait.in.h
time.h
time.in.h
unistd--.h
unistd-safer.h
unistd.h
unistd.in.h
unistd_.h
unitypes.h
unitypes.in.h
uniwidth
uniwidth.h
uniwidth.in.h
unlocked-io.h
unsetenv.c
vasnprintf.c
vasnprintf.h
verify.h
vfprintf.c
vsnprintf.c
vsprintf.c
w32spawn.h
wait-process.c
wait-process.h
wchar.h
wchar.in.h
wchar_.h
wctype.h
wctype.in.h
wctype_.h
wcwidth.c
wcwidth.h
xalloc-die.c
xalloc.h
xmalloc.c
xsize.h
xstrndup.c
xstrndup.h

438
lib/.gitignore vendored
View File

@@ -1,222 +1,216 @@
/*.a *.a
/*.o *.bak
/*~ *.o
/.deps *~
/Makefile .deps
/Makefile.in .dirstamp
/alloca.h Makefile
/alloca.in.h Makefile.in
/argmatch.c alloca.h
/argmatch.h alloca.in.h
/asnprintf.c arg-nonnull.h
/basename-lgpl.c argmatch.c
/basename.c argmatch.h
/binary-io.h asnprintf.c
/bitrotate.h basename-lgpl.c
/c-ctype.c basename.c
/c-ctype.h binary-io.h
/c-strcase.h bitrotate.h
/c-strcasecmp.c c++defs.h
/c-strncasecmp.c c-ctype.c
/charset.alias c-ctype.h
/cloexec.c c-strcase.h
/cloexec.h c-strcasecmp.c
/config.charset c-strncasecmp.c
/config.h charset.alias
/config.hin cloexec.c
/configmake.h cloexec.h
/dirname-lgpl.c config.charset
/dirname.c config.h
/dirname.h config.hin
/dup-safer-flag.c configmake.h
/dup-safer.c dirname-lgpl.c
/dup2.c dirname.c
/errno.h dirname.h
/errno.in.h dup-safer-flag.c
/error.c dup-safer.c
/error.h dup2.c
/exitfail.c errno.h
/exitfail.h errno.in.h
/fatal-signal.c error.c
/fatal-signal.h error.h
/fcntl.c exitfail.c
/fcntl.h exitfail.h
/fcntl.in.h fatal-signal.c
/fd-safer-flag.c fatal-signal.h
/fd-safer.c fcntl.c
/float+.h fcntl.h
/float.h fcntl.in.h
/float.in.h fd-safer-flag.c
/fopen-safer.c fd-safer.c
/fopen.c float+.h
/fprintf.c float.h
/fpucw.h float.in.h
/frexp.c fopen-safer.c
/frexpl.c fopen.c
/fseterr.c fprintf.c
/fseterr.h fpucw.h
/getdtablesize.c frexp.c
/getopt.c frexpl.c
/getopt.h fseterr.c
/getopt.in.h fseterr.h
/getopt1.c getdtablesize.c
/getopt_.h getopt.c
/getopt_int.h getopt.h
/getpagesize.c getopt.in.h
/gettext.h getopt1.c
/gnulib.mk getopt_int.h
/hash.c gettext.h
/hash.h gnulib.mk
/intprops.h hash.c
/inttypes.h hash.h
/inttypes.in.h intprops.h
/inttypes_.h inttypes.h
/isnan.c inttypes.in.h
/isnand-nolibm.h isnan.c
/isnand.c isnand-nolibm.h
/isnanf-nolibm.h isnand.c
/isnanf.c isnanf-nolibm.h
/isnanl-nolibm.h isnanf.c
/isnanl.c isnanl-nolibm.h
/localcharset.c isnanl.c
/localcharset.h localcharset.c
/malloc.c localcharset.h
/math.h malloc.c
/math.in.h math.h
/mbrtowc.c math.in.h
/mbsinit.c mbrtowc.c
/mbswidth.c mbsinit.c
/mbswidth.h mbswidth.c
/memchr.c mbswidth.h
/memchr.valgrind memchr.c
/obstack.c memchr.valgrind
/obstack.h obstack.c
/open.c obstack.h
/pipe-safer.c open.c
/pipe.c pipe-safer.c
/pipe.h pipe.c
/pipe2-safer.c pipe.h
/pipe2.c pipe2-safer.c
/printf-args.c pipe2.c
/printf-args.h printf-args.c
/printf-frexp.c printf-args.h
/printf-frexp.h printf-frexp.c
/printf-frexpl.c printf-frexp.h
/printf-frexpl.h printf-frexpl.c
/printf-parse.c printf-frexpl.h
/printf-parse.h printf-parse.c
/printf.c printf-parse.h
/quote.c printf.c
/quote.h quote.c
/quotearg.c quote.h
/quotearg.h quotearg.c
/rawmemchr.c quotearg.h
/rawmemchr.valgrind rawmemchr.c
/realloc.c rawmemchr.valgrind
/ref-add.sed realloc.c
/ref-add.sin ref-add.sed
/ref-del.sed ref-add.sin
/ref-del.sin ref-del.sed
/sched.h ref-del.sin
/sched.in.h sched.h
/sig-handler.h sched.in.h
/sigaction.c sig-handler.h
/signal.h sigaction.c
/signal.in.h signal.h
/signbitd.c signal.in.h
/signbitf.c signbitd.c
/signbitl.c signbitf.c
/sigprocmask.c signbitl.c
/size_max.h sigprocmask.c
/snprintf.c size_max.h
/spawn.h snprintf.c
/spawn.in.h spawn.h
/spawn_faction_addclose.c spawn.in.h
/spawn_faction_adddup2.c spawn_faction_addclose.c
/spawn_faction_addopen.c spawn_faction_adddup2.c
/spawn_faction_destroy.c spawn_faction_addopen.c
/spawn_faction_init.c spawn_faction_destroy.c
/spawn_int.h spawn_faction_init.c
/spawnattr_destroy.c spawn_int.h
/spawnattr_init.c spawnattr_destroy.c
/spawnattr_setflags.c spawnattr_init.c
/spawnattr_setsigmask.c spawnattr_setflags.c
/spawni.c spawnattr_setsigmask.c
/spawnp.c spawni.c
/sprintf.c spawnp.c
/stamp-h1 sprintf.c
/stat.c stamp-h1
/stdbool.h stat.c
/stdbool.in.h stdbool.h
/stdbool_.h stdbool.in.h
/stddef.h stddef.h
/stddef.in.h stddef.in.h
/stdint.h stdint.h
/stdint.in.h stdint.in.h
/stdint_.h stdio--.h
/stdio--.h stdio-impl.h
/stdio-impl.h stdio-safer.h
/stdio-safer.h stdio-write.c
/stdio-write.c stdio.h
/stdio.h stdio.in.h
/stdio.in.h stdlib.h
/stdlib.h stdlib.in.h
/stdlib.in.h stpcpy.c
/stdlib_.h strchrnul.c
/stpcpy.c strchrnul.valgrind
/strchrnul.c streq.h
/strchrnul.valgrind strerror.c
/streq.h string.h
/strerror.c string.in.h
/string.h stripslash.c
/string.in.h strndup.c
/string_.h strnlen.c
/stripslash.c strtol.c
/strndup.c strtoul.c
/strnlen.c strverscmp.c
/strtol.c sys
/strtoul.c sys_stat.h
/strverscmp.c sys_stat.in.h
/strverscmp.h sys_wait.h
/sys sys_wait.in.h
/sys_stat.h time.h
/sys_stat.in.h time.in.h
/sys_wait.h unistd--.h
/sys_wait.in.h unistd-safer.h
/time.h unistd.h
/time.in.h unistd.in.h
/unistd--.h unitypes.h
/unistd-safer.h unitypes.in.h
/unistd.h uniwidth
/unistd.in.h uniwidth.h
/unistd_.h uniwidth.in.h
/unitypes.h unlocked-io.h
/unitypes.in.h unsetenv.c
/uniwidth vasnprintf.c
/uniwidth.h vasnprintf.h
/uniwidth.in.h verify.h
/unlocked-io.h vfprintf.c
/unsetenv.c vsnprintf.c
/vasnprintf.c vsprintf.c
/vasnprintf.h w32spawn.h
/verify.h wait-process.c
/vfprintf.c wait-process.h
/vsnprintf.c waitpid.c
/vsprintf.c warn-on-use.h
/w32spawn.h wchar.h
/wait-process.c wchar.in.h
/wait-process.h wctype.h
/wchar.h wctype.in.h
/wchar.in.h wcwidth.c
/wchar_.h xalloc-die.c
/wctype.h xalloc.h
/wctype.in.h xmalloc.c
/wctype_.h xsize.h
/wcwidth.c xstrndup.c
/wcwidth.h xstrndup.h
/xalloc-die.c
/xalloc.h
/xmalloc.c
/xsize.h
/xstrndup.c
/xstrndup.h

View File

@@ -1,143 +0,0 @@
00gnulib.m4
absolute-header.m4
alloca.m4
argmatch.m4
asm-underscore.m4
assert.m4
cloexec.m4
config-h.m4
dirname.m4
dos.m4
double-slash-root.m4
dup2.m4
environ.m4
errno_h.m4
error.m4
exitfail.m4
exponentd.m4
exponentf.m4
exponentl.m4
extensions.m4
fatal-signal.m4
fcntl-o.m4
fcntl.m4
fcntl_h.m4
float_h.m4
fopen.m4
fpieee.m4
fprintf-posix.m4
frexp.m4
frexpl.m4
getdtablesize.m4
getopt.m4
getpagesize.m4
gettext.m4
gnulib-cache.m4
gnulib-common.m4
gnulib-comp.m4
gnulib-tool.m4
hash.m4
iconv.m4
include_next.m4
inline.m4
intlmacosx.m4
intmax_t.m4
inttypes-h.m4
inttypes-pri.m4
inttypes.m4
isnand.m4
isnanf.m4
isnanl.m4
javacomp.m4
javaexec.m4
ldexpl.m4
lib-ld.m4
lib-link.m4
lib-prefix.m4
libunistring-base.m4
localcharset.m4
locale-fr.m4
locale-ja.m4
locale-zh.m4
longlong.m4
malloc.m4
math_h.m4
mbrtowc.m4
mbsinit.m4
mbstate_t.m4
mbswidth.m4
memchr.m4
mmap-anon.m4
mode_t.m4
multiarch.m4
nls.m4
nocrash.m4
open.m4
pipe.m4
pipe2.m4
po.m4
posix_spawn.m4
printf-frexp.m4
printf-frexpl.m4
printf-posix-rpl.m4
printf-posix.m4
printf.m4
progtest.m4
quote.m4
quotearg.m4
rawmemchr.m4
realloc.m4
sched_h.m4
setenv.m4
sig_atomic_t.m4
sigaction.m4
signal_h.m4
signalblocking.m4
signbit.m4
snprintf-posix.m4
snprintf.m4
spawn_h.m4
sprintf-posix.m4
stat.m4
stdbool.m4
stddef_h.m4
stdint.m4
stdint_h.m4
stdio-safer.m4
stdio_h.m4
stdlib_h.m4
stpcpy.m4
strchrnul.m4
strerror.m4
string_h.m4
strndup.m4
strnlen.m4
strtol.m4
strtoul.m4
strverscmp.m4
sys_stat_h.m4
sys_wait_h.m4
threadlib.m4
time_h.m4
unistd-safer.m4
unistd_h.m4
unlocked-io.m4
vasnprintf-posix.m4
vasnprintf.m4
vfprintf-posix.m4
vsnprintf-posix.m4
vsnprintf.m4
vsprintf-posix.m4
wait-process.m4
warn-on-use.m4
warning.m4
warnings.m4
wchar.m4
wchar_h.m4
wchar_t.m4
wctype.m4
wctype_h.m4
wcwidth.m4
wint_t.m4
xalloc.m4
xstrndup.m4

284
m4/.gitignore vendored
View File

@@ -1,143 +1,141 @@
/00gnulib.m4 00gnulib.m4
/absolute-header.m4 alloca.m4
/alloca.m4 argmatch.m4
/argmatch.m4 asm-underscore.m4
/asm-underscore.m4 assert.m4
/assert.m4 cloexec.m4
/cloexec.m4 codeset.m4
/config-h.m4 config-h.m4
/dirname.m4 dirname.m4
/dos.m4 dos.m4
/double-slash-root.m4 double-slash-root.m4
/dup2.m4 dup2.m4
/environ.m4 environ.m4
/errno_h.m4 errno_h.m4
/error.m4 error.m4
/exitfail.m4 exponentd.m4
/exponentd.m4 exponentf.m4
/exponentf.m4 exponentl.m4
/exponentl.m4 extensions.m4
/extensions.m4 fatal-signal.m4
/fatal-signal.m4 fcntl-o.m4
/fcntl-o.m4 fcntl.m4
/fcntl.m4 fcntl_h.m4
/fcntl_h.m4 float_h.m4
/float_h.m4 fopen.m4
/fopen.m4 fpieee.m4
/fpieee.m4 fprintf-posix.m4
/fprintf-posix.m4 frexp.m4
/frexp.m4 frexpl.m4
/frexpl.m4 getdtablesize.m4
/getdtablesize.m4 getopt.m4
/getopt.m4 gettext.m4
/getpagesize.m4 glibc21.m4
/gettext.m4 gnulib-cache.m4
/gnulib-cache.m4 gnulib-common.m4
/gnulib-common.m4 gnulib-comp.m4
/gnulib-comp.m4 gnulib-tool.m4
/gnulib-tool.m4 hash.m4
/hash.m4 iconv.m4
/iconv.m4 include_next.m4
/include_next.m4 inline.m4
/inline.m4 intlmacosx.m4
/intlmacosx.m4 intmax_t.m4
/intmax_t.m4 inttypes-pri.m4
/inttypes-h.m4 inttypes.m4
/inttypes-pri.m4 inttypes_h.m4
/inttypes.m4 isnand.m4
/isnand.m4 isnanf.m4
/isnanf.m4 isnanl.m4
/isnanl.m4 javacomp.m4
/javacomp.m4 javaexec.m4
/javaexec.m4 ldexpl.m4
/ldexpl.m4 lib-ld.m4
/lib-ld.m4 lib-link.m4
/lib-link.m4 lib-prefix.m4
/lib-prefix.m4 libunistring-base.m4
/libunistring-base.m4 localcharset.m4
/localcharset.m4 locale-fr.m4
/locale-fr.m4 locale-ja.m4
/locale-ja.m4 locale-zh.m4
/locale-zh.m4 longlong.m4
/longlong.m4 malloc.m4
/malloc.m4 math_h.m4
/math_h.m4 mbrtowc.m4
/mbrtowc.m4 mbsinit.m4
/mbsinit.m4 mbstate_t.m4
/mbstate_t.m4 mbswidth.m4
/mbswidth.m4 memchr.m4
/memchr.m4 mmap-anon.m4
/mmap-anon.m4 mode_t.m4
/mode_t.m4 multiarch.m4
/multiarch.m4 nls.m4
/nls.m4 nocrash.m4
/nocrash.m4 open.m4
/open.m4 pipe.m4
/pipe.m4 pipe2.m4
/pipe2.m4 po.m4
/po.m4 posix_spawn.m4
/posix_spawn.m4 printf-frexp.m4
/printf-frexp.m4 printf-frexpl.m4
/printf-frexpl.m4 printf-posix-rpl.m4
/printf-posix-rpl.m4 printf-posix.m4
/printf-posix.m4 printf.m4
/printf.m4 progtest.m4
/progtest.m4 quote.m4
/quote.m4 quotearg.m4
/quotearg.m4 rawmemchr.m4
/rawmemchr.m4 realloc.m4
/realloc.m4 sched_h.m4
/sched_h.m4 setenv.m4
/setenv.m4 sig_atomic_t.m4
/sig_atomic_t.m4 sigaction.m4
/sigaction.m4 signal_h.m4
/signal_h.m4 signalblocking.m4
/signalblocking.m4 signbit.m4
/signbit.m4 size_max.m4
/snprintf-posix.m4 snprintf-posix.m4
/snprintf.m4 snprintf.m4
/spawn_h.m4 spawn_h.m4
/sprintf-posix.m4 sprintf-posix.m4
/stat.m4 stat.m4
/stdbool.m4 stdbool.m4
/stddef_h.m4 stddef_h.m4
/stdint.m4 stdint.m4
/stdint_h.m4 stdint_h.m4
/stdio-safer.m4 stdio-safer.m4
/stdio_h.m4 stdio_h.m4
/stdlib_h.m4 stdlib_h.m4
/stpcpy.m4 stpcpy.m4
/strchrnul.m4 strchrnul.m4
/strerror.m4 strerror.m4
/string_h.m4 string_h.m4
/strndup.m4 strndup.m4
/strnlen.m4 strnlen.m4
/strtol.m4 strtol.m4
/strtoul.m4 strtoul.m4
/strverscmp.m4 strverscmp.m4
/sys_stat_h.m4 sys_stat_h.m4
/sys_wait_h.m4 sys_wait_h.m4
/threadlib.m4 threadlib.m4
/time_h.m4 time_h.m4
/unistd-safer.m4 unistd-safer.m4
/unistd_h.m4 unistd_h.m4
/unlocked-io.m4 unlocked-io.m4
/vasnprintf-posix.m4 vasnprintf.m4
/vasnprintf.m4 vfprintf-posix.m4
/vfprintf-posix.m4 vsnprintf-posix.m4
/vsnprintf-posix.m4 vsnprintf.m4
/vsnprintf.m4 vsprintf-posix.m4
/vsprintf-posix.m4 wait-process.m4
/wait-process.m4 waitpid.m4
/warn-on-use.m4 warn-on-use.m4
/warning.m4 warnings.m4
/warnings.m4 wchar_h.m4
/wchar.m4 wchar_t.m4
/wchar_h.m4 wctype_h.m4
/wchar_t.m4 wcwidth.m4
/wctype.m4 wint_t.m4
/wctype_h.m4 xalloc.m4
/wcwidth.m4 xsize.m4
/wint_t.m4 xstrndup.m4
/xalloc.m4
/xstrndup.m4

View File

@@ -1,22 +0,0 @@
*.gmo
*.po
*.po~
.reference
LINGUAS
Makefile
Makefile.in
Makefile.in.in
Makevars
Makevars.template
POTFILES
Rules-quot
bison.pot
boldquot.sed
en@boldquot.header
en@quot.header
insert-header.sed
insert-header.sin
quot.sed
remove-potcdate.sed
remove-potcdate.sin
stamp-po

44
po/.gitignore vendored
View File

@@ -1,22 +1,22 @@
/*.gmo *.gmo
/*.po *.po
/*.po~ *.po~
/.reference .reference
/LINGUAS LINGUAS
/Makefile Makefile
/Makefile.in Makefile.in
/Makefile.in.in Makefile.in.in
/Makevars Makevars
/Makevars.template Makevars.template
/POTFILES POTFILES
/Rules-quot Rules-quot
/bison.pot bison.pot
/boldquot.sed boldquot.sed
/en@boldquot.header en@boldquot.header
/en@quot.header en@quot.header
/insert-header.sed insert-header.sed
/insert-header.sin insert-header.sin
/quot.sed quot.sed
/remove-potcdate.sed remove-potcdate.sed
/remove-potcdate.sin remove-potcdate.sin
/stamp-po stamp-po

View File

@@ -1,22 +0,0 @@
*.gmo
*.po
*.po~
.reference
LINGUAS
Makefile
Makefile.in
Makefile.in.in
Makevars
Makevars.template
POTFILES
Rules-quot
bison-runtime.pot
boldquot.sed
en@boldquot.header
en@quot.header
insert-header.sed
insert-header.sin
quot.sed
remove-potcdate.sed
remove-potcdate.sin
stamp-po

44
runtime-po/.gitignore vendored
View File

@@ -1,22 +1,22 @@
/*.gmo *.gmo
/*.po *.po
/*.po~ *.po~
/.reference .reference
/LINGUAS LINGUAS
/Makefile Makefile
/Makefile.in Makefile.in
/Makefile.in.in Makefile.in.in
/Makevars Makevars
/Makevars.template Makevars.template
/POTFILES POTFILES
/Rules-quot Rules-quot
/bison-runtime.pot bison-runtime.pot
/boldquot.sed boldquot.sed
/en@boldquot.header en@boldquot.header
/en@quot.header en@quot.header
/insert-header.sed insert-header.sed
/insert-header.sin insert-header.sin
/quot.sed quot.sed
/remove-potcdate.sed remove-potcdate.sed
/remove-potcdate.sin remove-potcdate.sin
/stamp-po stamp-po

View File

@@ -1,9 +0,0 @@
*.flc
*.log
*.output
.deps
bison
scan-code.c
scan-gram.c
scan-skel.c
yacc

23
src/.gitignore vendored
View File

@@ -1,11 +1,12 @@
/*.flc *.flc
/*.log *.log
/*.o *.o
/*.output *.output
/.deps .deps
/bison .dirstamp
/bison.exe bison
/scan-code.c bison.exe
/scan-gram.c scan-code.c
/scan-skel.c scan-gram.c
/yacc scan-skel.c
yacc

View File

@@ -1,13 +0,0 @@
*.dot
*.output
atconfig
atlocal
autom4te.cache
bison
calc
calc.[chy]
calc.tab.*
package.m4
testsuite
testsuite.dir
testsuite.log