diff --git a/configure b/configure
index a4caedb1e33ddc241f22c50c06668a86befbb1cc..d603503e3da18220a46d3c60bde66b90e89c9d51 100755
--- a/configure
+++ b/configure
@@ -7901,7 +7901,7 @@ if test "${WGET}" != ":" ; then
   DOWNLOAD_TIMEOUT='--timeout=$1'
 else if test "${CURL}" != ":" ; then
   DOWNLOAD="${CURL} -O --progress-bar -w \"%{url_effective}\n\""
-  DOWNLOAD_TO_STDOUT="${CURL} -L --progress-bar"
+  DOWNLOAD_TO_STDOUT="${CURL} -Ls"
   DOWNLOAD_TIMEOUT='--max-time $(or $2,$1)'
 else
   # Extract the first word of "fetch", so it can be a program name with args.
diff --git a/configure.ac b/configure.ac
index 039648a431087956f01865c1f40be84049e8cbaf..12f4a34ddaac740fb54a2bce5697665f95b687d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -319,7 +319,7 @@ if test "${WGET}" != ":" ; then
   DOWNLOAD_TIMEOUT='--timeout=$1'
 else if test "${CURL}" != ":" ; then
   DOWNLOAD="${CURL} -O --progress-bar -w \"%{url_effective}\n\""
-  DOWNLOAD_TO_STDOUT="${CURL} -L --progress-bar"
+  DOWNLOAD_TO_STDOUT="${CURL} -Ls"
   DOWNLOAD_TIMEOUT='--max-time $(or $2,$1)'
 else
   AC_PATH_PROG([FETCH], [fetch], [:])