summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-01-16 15:46:26 +0100
committerAkim Demaille <akim.demaille@gmail.com>2021-01-16 16:11:04 +0100
commit30a8d580fafac35af533128e92ae4fc004416756 (patch)
treed4ccce825ec5cd43f430d36f8d1cb876d87f826b /bootstrap
parent119dedb5919cbff126651729cd9ac46e5479570a (diff)
downloadbison-30a8d580fafac35af533128e92ae4fc004416756.tar.gz
gnulib: update
* src/output.c, src/print-xml.c: Adjust.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap15
1 files changed, 9 insertions, 6 deletions
diff --git a/bootstrap b/bootstrap
index 5f1b1b70..c17a36f1 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,10 +1,10 @@
#! /bin/sh
# Print a version string.
-scriptversion=2020-11-18.17; # UTC
+scriptversion=2021-01-10.00; # UTC
# Bootstrap this package from checked-out sources.
-# Copyright (C) 2003-2020 Free Software Foundation, Inc.
+# Copyright (C) 2003-2021 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -47,7 +47,7 @@ PERL="${PERL-perl}"
me=$0
-default_gnulib_url=git://git.sv.gnu.org/gnulib
+default_gnulib_url=https://git.savannah.gnu.org/git/gnulib.git
usage() {
cat <<EOF
@@ -184,7 +184,7 @@ po_download_command_format=\
https://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)
+# fall back to the package name (1st argument with munging).
extract_package_name='
/^AC_INIT(\[*/{
s///
@@ -201,8 +201,11 @@ extract_package_name='
p
}
'
-package=$(sed -n "$extract_package_name" configure.ac) \
- || die 'cannot find package name in configure.ac'
+package=$(${AUTOCONF:-autoconf} --trace AC_INIT:\$4 configure.ac 2>/dev/null)
+if test -z "$package"; then
+ package=$(sed -n "$extract_package_name" configure.ac) \
+ || die 'cannot find package name in configure.ac'
+fi
gnulib_name=lib$package
build_aux=build-aux