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
This commit is contained in:
Carlo Marcelo Arenas Belón 2019-08-10 19:14:01 -07:00 committed by Daniel Stenberg
parent 86ae740482
commit 4a962ff218
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 1 additions and 1 deletions

View File

@ -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