Signed-off-by: Đoàn Trần Công Danh <congdanhqx@xxxxxxxxx> --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 66aedb9288..5a73a592e1 100644 --- a/configure.ac +++ b/configure.ac @@ -594,9 +594,12 @@ fi GIT_STASH_FLAGS($CURLDIR) +# Respect --without-curl +if test -z "$NO_CURL"; then AC_CHECK_LIB([curl], [curl_global_init], [NO_CURL=], [NO_CURL=YesPlease]) +fi GIT_UNSTASH_FLAGS($CURLDIR) -- 2.26.0.rc2.234.g969ad452ca