From: Carlo Marcelo Arenas Belón Date: Sun, 11 Aug 2019 02:14:01 +0000 (-0700) Subject: configure: avoid undefined check_for_ca_bundle X-Git-Tag: curl-7_66_0~112 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a962ff2189e8bdbcd79813d67e3af0f1c465f7c;p=thirdparty%2Fcurl.git configure: avoid undefined check_for_ca_bundle instead of using a "greater than 0" test, check for variable being set, as it is always set to 1, and could be left unset if non of OPENSSL MBEDTLS GNUTLS WOLFSSL is being configured for. Closes #4213 --- diff --git a/configure.ac b/configure.ac index 1ddc3d6010..020a0e08ce 100755 --- a/configure.ac +++ b/configure.ac @@ -2633,7 +2633,7 @@ dnl ********************************************************************** dnl Check for the CA bundle dnl ********************************************************************** -if test "$check_for_ca_bundle" -gt 0; then +if test -n "$check_for_ca_bundle"; then CURL_CHECK_CA_BUNDLE fi