diff options
author | Carlo Marcelo Arenas Belón <carenas@gmail.com> | 2019-08-10 19:14:01 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-11 16:50:18 +0200 |
commit | 4a962ff2189e8bdbcd79813d67e3af0f1c465f7c (patch) | |
tree | c9e5de9636f7996d4a2dbfb7ed1b1100fad245c2 /configure.ac | |
parent | 86ae7404824ed9d79ffc6aa36294684e83ef9c82 (diff) | |
download | curl-4a962ff2189e8bdbcd79813d67e3af0f1c465f7c.tar.gz |
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
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 1ddc3d601..020a0e08c 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 |