Merge pull request #470 from ddiss/chap_b64_fix_build_without_gnutls
Some checks are pending
Build / build (push) Waiting to run
CodeQL / Analyze (cpp) (push) Waiting to run

configure: fix bogus TEST_CHAP_BASE64 conditional
This commit is contained in:
Ronnie Sahlberg
2026-05-22 18:45:13 +10:00
committed by GitHub

View File

@@ -109,7 +109,7 @@ if test "$WITH_LIBGCRYPT" != no; then
WITH_LIBGCRYPT=$ac_cv_lib_gcrypt_gcry_control WITH_LIBGCRYPT=$ac_cv_lib_gcrypt_gcry_control
fi fi
# gnutls_base64_encode2() was added >8 years ago so should be present # gnutls_base64_encode2() was added >8 years ago so should be present
AM_CONDITIONAL(TEST_CHAP_BASE64, [test "$WITH_LIBGCRYPT"]) AM_CONDITIONAL(TEST_CHAP_BASE64, [test "$WITH_GNUTLS" = yes])
NEED_MD5=no NEED_MD5=no
if test "$WITH_GNUTLS" = no && test "$WITH_LIBGCRYPT" = no; then if test "$WITH_GNUTLS" = no && test "$WITH_LIBGCRYPT" = no; then