[Libreoffice-commits] core.git: configure.ac
Thorsten Behrens
Thorsten.Behrens at CIB.de
Sat Feb 20 20:21:35 UTC 2016
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit c37c82319f88e75ba28fd4b7bf26b5ea01846c17
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Date: Sat Feb 20 19:05:16 2016 +0100
wget: don't break on CentOS6 baseline
Where this fancy new no-use-server-timestamps is not yet known.
Change-Id: I481c44bb977620400a3dede6191889bbbe5ec74a
Reviewed-on: https://gerrit.libreoffice.org/22546
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/configure.ac b/configure.ac
index b6f6f37..0a200e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12010,9 +12010,9 @@ if test "$enable_fetch_external" != "no"; then
CURL=`which curl 2>/dev/null`
for i in wget /usr/bin/wget /usr/local/bin/wget /usr/sfw/bin/wget /opt/sfw/bin/wget /opt/local/bin/wget; do
- eval "$i --version" > /dev/null 2>&1
- ret=$?
- if test $ret -eq 0; then
+ # wget new enough?
+ $i --help 2> /dev/null | $GREP no-use-server-timestamps 2>&1 > /dev/null
+ if test $? -eq 0; then
WGET=$i
break
fi
More information about the Libreoffice-commits
mailing list