summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2013-05-08 14:46:36 -0600
committerEric Blake <eblake@redhat.com>2013-05-08 14:54:04 -0600
commit3dfc2b71aa070dad6e2a460705426031e77889e2 (patch)
tree8f0ba0590c14ef85c612e6017bcac85b759bef9f /bootstrap
parent55b46920bbcceaad6c71a74eb5877c0d2bebf673 (diff)
downloadlibvirt-3dfc2b71aa070dad6e2a460705426031e77889e2.tar.gz
maint: update to latest gnulib
Among others, this fixes a cosmetic bug where bootstrap stated: ./bootstrap: Bootstrapping from checked-out http://libvirt.org sources... instead of the intended: ./bootstrap: Bootstrapping from checked-out libvirt sources... * .gnulib: Update to latest, for bootstrap improvement. * bootstrap: Resync from gnulib.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap19
1 files changed, 10 insertions, 9 deletions
diff --git a/bootstrap b/bootstrap
index 96f1e76252..0cbea66e8f 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
# Print a version string.
-scriptversion=2013-03-08.16; # UTC
+scriptversion=2013-05-08.20; # UTC
# Bootstrap this package from checked-out sources.
@@ -140,20 +140,21 @@ po_download_command_format2=\
"wget --mirror -nd -q -np -A.po -P '%s' \
http://translationproject.org/latest/%s/"
+# Prefer a non-empty tarname (4th argument of AC_INIT if given), else
+# fall back to the package name (1st argument with munging)
extract_package_name='
- /^AC_INIT(/{
- /.*,.*,.*, */{
- s///
- s/[][]//g
- s/)$//
+ /^AC_INIT(\[*/{
+ s///
+ /^[^,]*,[^,]*,[^,]*,[ []*\([^][ ,)]\)/{
+ s//\1/
+ s/[],)].*//
p
q
}
- s/AC_INIT(\[*//
- s/]*,.*//
+ s/[],)].*//
s/^GNU //
y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
- s/[^A-Za-z0-9_]/-/g
+ s/[^abcdefghijklmnopqrstuvwxyz0123456789_]/-/g
p
}
'