From 932b8b7bc51eaad397792e267f90d78a2f114527 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 26 Jan 2006 21:58:45 +0000 Subject: [PATCH] Do not link with SASL/TLS libraries if support not enabled. --- SConstruct | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/SConstruct b/SConstruct index a1d623a2..a0326e0a 100644 --- a/SConstruct +++ b/SConstruct @@ -1307,16 +1307,6 @@ else AC_ERROR(no usable version of iconv has been found) fi -# -- GNU SASL Library (http://www.gnu.org/software/gsasl/) -AC_CHECK_HEADER(gsasl.h, - AC_CHECK_LIB(gsasl, gsasl_check_version, - [have_gsasl=yes AC_SUBST(GSASL_AVAIL_LIBS, -lgsasl) AC_SUBST(GSASL_AVAIL_REQUIRED, libgsasl)], - have_gsasl=no), - have_gsasl=no) - -# -- GNU TLS Library (http://www.gnu.org/software/gnutls/) -AM_PATH_LIBGNUTLS(1.2.0, have_gnutls=yes, have_gnutls=no) - # -- global constructors (stolen from 'configure.in' in libsigc++) AC_MSG_CHECKING([if linker supports global constructors]) cat > mylib.$ac_ext <