]> git.sur5r.net Git - openldap/commitdiff
need to know if SASL is available
authorPierangelo Masarati <ando@openldap.org>
Sat, 19 Jun 2004 10:00:25 +0000 (10:00 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 19 Jun 2004 10:00:25 +0000 (10:00 +0000)
configure.in

index e7c59dbc1415fa36433c14abe8446e294a419118..366d5cfa0b6183f537d07d2aa30ab19e174656d5 100644 (file)
@@ -2082,6 +2082,7 @@ dnl ----------------------------------------------------------------
 dnl
 dnl Check for Cyrus SASL
 dnl
+WITH_SASL=no
 ol_link_sasl=no
 ol_link_spasswd=no
 if test $ol_with_cyrus_sasl != no ; then
@@ -2122,6 +2123,8 @@ if test $ol_with_cyrus_sasl != no ; then
                AC_CHECK_FUNC(sasl_version, [AC_DEFINE(HAVE_SASL_VERSION,1,
                        [define if your SASL library has sasl_version()])])
                LIBS="$ac_save_LIBS"
+
+               WITH_SASL=yes
        fi
 
 else
@@ -2780,6 +2783,7 @@ fi
 
 AC_SUBST(LIBSRCS)
 AC_SUBST(PLAT)
+AC_SUBST(WITH_SASL)
 AC_SUBST(WITH_TLS)
 AC_SUBST(BUILD_LIBS_DYNAMIC)