build: avoid bootstrap failure when $GZIP is set
authorJim Meyering <meyering@redhat.com>
Tue, 3 May 2011 08:09:20 +0000 (10:09 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 3 May 2011 08:15:13 +0000 (10:15 +0200)
commit4b28ff7f32b1131c3a2e2fc560db32794b592d99
tree190fe9f8ec08867ced8d876695a4e66c565776f7
parentefa479c1e5e3cef6d31a6b4adde14d6a86e1d62e
build: avoid bootstrap failure when $GZIP is set

Running "GZIP=-9 ./bootstrap" would fail right away, because the
tool-version-checking code would treat the upper-cased program name
as an environment variable name and if that has a value use the
result as the application name.  That works fine for automake,
autoconf, etc. but not for gzip.
* bootstrap (check_versions): Do not treat $GZIP as a program name.
If defined at all, it is supposed to list gzip options.
Reported by Alan Curry in http://debbugs.gnu.org/8609
bootstrap