maint: update to latest gnulib

* .gnulib: Update to latest.
* bootstrap.conf (gnulib_modules): Add new termios module.
(gnulib_tool_option_extras): Make libtool usage explicit.
* src/util/util.c (includes): Gnulib now guarantees termios.h.
* bootstrap: Resync from gnulib.
This commit is contained in:
Eric Blake 2010-09-22 12:08:58 -06:00
parent 0f9c246028
commit 76d87a5959
4 changed files with 11 additions and 8 deletions

@ -1 +1 @@
Subproject commit 7ba06c8ff37d8725cb824c64b94be41b9294ffb7
Subproject commit 833bff3a531e4730779f8c7be1d9f7c471e6f221

View File

@ -1,6 +1,6 @@
#! /bin/sh
# Print a version string.
scriptversion=2010-05-17.18; # UTC
scriptversion=2010-07-06.10; # UTC
# Bootstrap this package from checked-out sources.
@ -90,7 +90,8 @@ bootstrap_epilogue() { :; }
# options because the latest/%s directory and the .po files within are
# all symlinks.
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='
/^AC_INIT(/{
@ -475,15 +476,17 @@ download_po_files() {
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.
# 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() {
# Directory containing primary .po files.
# Overwrite them only when we're sure a .po file is new.
po_dir=$1
domain=$2
# Download *.po files into this dir.
# Mirror *.po files into this dir.
# Usually contains *.s1 checksum files.
ref_po_dir="$po_dir/.reference"

View File

@ -65,6 +65,7 @@ strsep
strtok_r
sys_stat
sys_wait
termios
time_r
timegm
uname
@ -132,6 +133,7 @@ gnulib_mk=Makefile.am
gnulib_tool_option_extras="\
--lgpl=2\
--with-tests\
--libtool\
"
# Convince bootstrap to use multiple m4 directories.

View File

@ -43,9 +43,7 @@
#endif
#include <string.h>
#include <signal.h>
#if HAVE_TERMIOS_H
# include <termios.h>
#endif
#include <termios.h>
#include "c-ctype.h"
#ifdef HAVE_PATHS_H