]> git.saurik.com Git - bison.git/commitdiff
gnulib: update
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 28 May 2013 14:38:26 +0000 (16:38 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 28 May 2013 14:40:44 +0000 (16:40 +0200)
bootstrap
gnulib

index 96f1e7625279cba31a61154c261ef53908f6ea43..0cbea66e8f2f5340a7305448b82286c2fa6bbd11 100755 (executable)
--- 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
   }
 '
diff --git a/gnulib b/gnulib
index 076ac82d1d7f4df54630f1b4917b3c14f227f032..e28fbd787cb4861a7848ac6e86c838912b8cd2ec 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 076ac82d1d7f4df54630f1b4917b3c14f227f032
+Subproject commit e28fbd787cb4861a7848ac6e86c838912b8cd2ec