summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-11-12 13:50:48 -0700
committerEric Blake <eblake@redhat.com>2010-11-12 13:50:48 -0700
commit36233679333e80beb3a283d44e9fecedfe7f454a (patch)
tree0138bfe8ae11d706bc4a85783671b9083548af96
parentf09721b14db35e4dd22794da9f751deeb8343ba1 (diff)
downloadgnulib-36233679333e80beb3a283d44e9fecedfe7f454a.tar.gz
bootstrap: allow FreeBSD gzip
$ gzip --version > /dev/null FreeBSD gzip 20100407 * build-aux/bootstrap (get_version): Parse FreeBSD gzip version, which has no '.' and goes to stderr. * build-aux/bootstrap.conf (buildreq): Improve the sample file. Reported by Matthias Bolte. Signed-off-by: Eric Blake <eblake@redhat.com>
-rw-r--r--ChangeLog6
-rwxr-xr-xbuild-aux/bootstrap6
-rw-r--r--build-aux/bootstrap.conf8
3 files changed, 17 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e348fe28a3..8a9d7b665d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2010-11-12 Eric Blake <eblake@redhat.com>
+ bootstrap: allow FreeBSD gzip
+ * build-aux/bootstrap (get_version): Parse FreeBSD gzip version,
+ which has no '.' and goes to stderr.
+ * build-aux/bootstrap.conf (buildreq): Improve the sample file.
+ Reported by Matthias Bolte.
+
maintainer-makefile: check for i18n setup
* top/maint.mk (sc_bindtextdomain): Check for evidence that _()
will likely work.
diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index 8c8d777da1..5278e8eb1f 100755
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
# Print a version string.
-scriptversion=2010-10-08.16; # UTC
+scriptversion=2010-11-12.20; # UTC
# Bootstrap this package from checked-out sources.
@@ -345,11 +345,11 @@ get_version() {
$app --version 2>&1 |
sed -n '# extract version within line
- s/.*[v ]\{1,\}\([0-9]\{1,\}\.[.a-z0-9-]*\).*/\1/
+ s/.*[v ]\{1,\}\([0-9]\{1,\}\(\.[.a-z0-9-]*\)*\).*/\1/
t done
# extract version at start of line
- s/^\([0-9]\{1,\}\.[.a-z0-9-]*\).*/\1/
+ s/^\([0-9]\{1,\}\(\.[.a-z0-9-]*\)\)*.*/\1/
t done
d
diff --git a/build-aux/bootstrap.conf b/build-aux/bootstrap.conf
index 75cf6ff34e..2bb60e211e 100644
--- a/build-aux/bootstrap.conf
+++ b/build-aux/bootstrap.conf
@@ -57,3 +57,11 @@ if test $gettext_external = 1; then
m4/xsize.m4
'
fi
+
+# Build prerequisites
+buildreq="\
+autoconf 2.59
+automake 1.9.6
+git 1.5.5
+tar -
+"