]> xenbits.xensource.com Git - libvirt.git/commitdiff
maint: update to latest gnulib
authorEric Blake <eblake@redhat.com>
Wed, 22 Sep 2010 18:08:58 +0000 (12:08 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 23 Sep 2010 14:15:16 +0000 (08:15 -0600)
* .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.

.gnulib
bootstrap
bootstrap.conf
src/util/util.c

diff --git a/.gnulib b/.gnulib
index 7ba06c8ff37d8725cb824c64b94be41b9294ffb7..833bff3a531e4730779f8c7be1d9f7c471e6f221 160000 (submodule)
--- a/.gnulib
+++ b/.gnulib
@@ -1 +1 @@
-Subproject commit 7ba06c8ff37d8725cb824c64b94be41b9294ffb7
+Subproject commit 833bff3a531e4730779f8c7be1d9f7c471e6f221
index 242254922ea7c533aab6769a9f9ddd86cf3e498b..5ab4cf7ccb71482361dcac151d805a8881485410 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -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"
 
index 8a85b9146d073e2bcf3d3e23821fd2b6f1f05b50..1f1d41658c5fa3f5c9c0fd970c7c10a8bcc5595e 100644 (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.
index b6b971206618227a161870db25bfc184823fb284..586baee461e8ee0cbd2e1bdca730c9aae368d9d9 100644 (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