diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-02-11 16:38:19 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-06-18 22:33:26 +0200 |
commit | 21080e1828cab80c9260c83b83b884a98577c2a9 (patch) | |
tree | 5121957b5c2b7f5e85f85c204e6152121c39f678 /configure.ac | |
parent | b9e0c6d28c3e89cf27ce15b14a8c2300ad32a4e5 (diff) | |
download | curl-21080e1828cab80c9260c83b83b884a98577c2a9.tar.gz |
configure: --disable-progress-meter
Builds libcurl without support for the built-in progress meter.
Closes #4023
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9b69e1bb4..ebcc44761 100755 --- a/configure.ac +++ b/configure.ac @@ -4115,6 +4115,24 @@ AC_HELP_STRING([--disable-netrc],[Disable netrc parsing]), ) dnl ************************************************************ +dnl disable progress-meter +dnl +AC_MSG_CHECKING([whether to support progress-meter]) +AC_ARG_ENABLE(progress-meter, +AC_HELP_STRING([--enable-progress-meter],[Enable progress-meter]) +AC_HELP_STRING([--disable-progress-meter],[Disable progress-meter]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_PROGRESS_METER, 1, [disable progress-meter]) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) + +dnl ************************************************************ dnl disable shuffle DNS support dnl AC_MSG_CHECKING([whether to support DNS shuffling]) |