[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/8] bootstrap: update from gnulib
From: |
Sami Kerola |
Subject: |
[PATCH 2/8] bootstrap: update from gnulib |
Date: |
Wed, 9 Oct 2013 20:20:11 +0100 |
* bootstrap: new version will allow use of URL parameter in AC_INIT
macro.
Signed-off-by: Sami Kerola <address@hidden>
---
bootstrap | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/bootstrap b/bootstrap
index 96f1e76..0cbea66 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
}
'
--
1.8.2.3
- [PATCH 1/8] allow user message to use new-generation greeting format, Sami Kerola, 2013/10/09
- [PATCH 2/8] bootstrap: update from gnulib,
Sami Kerola <=
- [PATCH 4/8] clean up configure.ac syntax, Sami Kerola, 2013/10/09
- [PATCH 3/8] reuse AM_INIT_AUTOMAKE bug-email address, Sami Kerola, 2013/10/09
- [PATCH 5/8] use PACKAGE_NAME from config.h, Sami Kerola, 2013/10/09
- [PATCH 6/8] re-indent to match with gnu coding style, Sami Kerola, 2013/10/09
- [PATCH 7/8] make copyright year pseudo dynamic, Sami Kerola, 2013/10/09
- [PATCH 8/8] make hello unicode aware, Sami Kerola, 2013/10/09