From 491f8c5b2422a3ca7ff23e80ac4fb70a37cb8adb Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Mon, 10 Dec 2012 19:06:48 +0100 Subject: no need for wget/curl when not fetching anything MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I097675450a0eed87eccf90356c81657485609d13 Reviewed-on: https://gerrit.libreoffice.org/1289 Tested-by: Matúš Kukan Reviewed-by: Matúš Kukan --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ad5e9f357eb7..5d48f0273e22 100644 --- a/configure.ac +++ b/configure.ac @@ -11493,6 +11493,10 @@ AC_SUBST(SCPDEFS) # WGET= MD5SUM= +CURL= + +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 @@ -11534,6 +11538,8 @@ if test -z "$MD5SUM"; then add_warning "no md5sum: found!" fi +fi + AC_SUBST(WGET) AC_SUBST(CURL) AC_SUBST(MD5SUM) -- cgit