Ticket #8: 001_cyrus-sasl_configure_check.patch

File 001_cyrus-sasl_configure_check.patch, 0.8 KB (added by amd@…, 20 months ago)

Patch by Priit Laes <amd@…>

  • configure.in

    commit b405fc09602cf92f689177612378136a27f78f2d
    Author: Priit Laes <plaes@plaes.org>
    Date:   Sun Apr 1 21:10:57 2007 +0300
    
        Fixed Cyrus-SASL check.
    
    diff --git a/configure.in b/configure.in
    index e8e74f3..2e32b8b 100644
    a b  
    281281    AC_DEFINE(HAVE_IDN,1,[Define to 1 if Libidn is available.]) 
    282282fi 
    283283 
     284dnl 
     285dnl Cyrus-SASL 
     286dnl 
     287AC_CHECK_LIB(sasl2, sasl_client_init, [], 
     288        [AC_MSG_ERROR([Cyrus-SASL library not found])]) 
     289AC_CHECK_HEADERS("sasl/sasl.h", , 
     290        [AC_MSG_ERROR([Cyrus-SASL development headers not found])]) 
    284291 
    285 AC_CHECK_LIB(sasl2,sasl_client_init) 
    286292 
    287293dnl find openssl >= 0.9.6b 
    288294AC_ARG_ENABLE(ssl, AC_HELP_STRING([--enable-ssl], [enable SSL/TLS support (yes)]), want_ssl=$enableval, want_ssl=yes)