]> git.sur5r.net Git - openldap/blobdiff - configure.in
Added check for Cyrus SASL sasl_version()
[openldap] / configure.in
index ce15a164b50630f2f2d7aaaed660d1325d3215e2..47204a93064edb62fa9539036dd4de6a4302739b 100644 (file)
@@ -2194,6 +2194,12 @@ if test $ol_with_cyrus_sasl != no ; then
                if test $ol_enable_spasswd != no ; then
                        ol_link_spasswd=yes
                fi
+
+               ac_save_LIBS="$LIBS"
+               LIBS="$LIBS $ol_link_sasl"
+               AC_CHECK_FUNC(sasl_version, [AC_DEFINE(HAVE_SASL_VERSION,1,
+                       [define if your SASL library has sasl_version()])])
+               LIBS="$ac_save_LIBS"
        fi
 
 else