From: Jong Hyuk Choi Date: Thu, 25 Sep 2003 01:00:34 +0000 (+0000) Subject: didn't compile without cyrus-sasl X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~657 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8693f3361dc968587250fb4aba773d8b5f4087b6;p=openldap didn't compile without cyrus-sasl --- diff --git a/libraries/libldap/sasl.c b/libraries/libldap/sasl.c index 27da363e0c..bd59ff58b2 100644 --- a/libraries/libldap/sasl.c +++ b/libraries/libldap/sasl.c @@ -449,9 +449,12 @@ ldap_sasl_interactive_bind_s( goto done; } else #endif + +#ifdef HAVE_CYRUS_SASL if( mechs == NULL || *mechs == '\0' ) { mechs = ld->ld_options.ldo_def_sasl_mech; } +#endif if( mechs == NULL || *mechs == '\0' ) { rc = ldap_pvt_sasl_getmechs( ld, &smechs );