]> git.sur5r.net Git - openldap/blobdiff - configure.in
Modify password code such that backend end routine calls into
[openldap] / configure.in
index 08759eb747d8975d02bca313f2b3904b5d3b4679..8b4439f8ed56d62607cd418cd5c3db36bbc4db9f 100644 (file)
@@ -522,7 +522,7 @@ if test $ol_enable_perl != no ; then
 
        else
                PERL_CPPFLAGS="`$PERLBIN -MExtUtils::Embed -e ccopts`"
-               if test x"$ol_with_perl_module" == "xstatic" ; then
+               if test x"$ol_with_perl_module" = "xstatic" ; then
                        SLAPD_PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e s/-lc//`"
                else
                        MOD_PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e s/-lc//`"
@@ -708,7 +708,6 @@ AC_CHECK_FUNC(socket, :, [
 dnl hopefully we won't include too many libraries
        AC_CHECK_LIB(socket, main)
        AC_CHECK_LIB(net, main)
-       AC_CHECK_LIB(net, socket)
        AC_CHECK_LIB(nsl_s, main)
        AC_CHECK_LIB(nsl, main)
        AC_CHECK_LIB(inet, socket)
@@ -717,7 +716,6 @@ dnl hopefully we won't include too many libraries
 
 dnl require select
 AC_CHECK_FUNC(select, :, AC_MSG_ERROR([select() required.]))
-dnl AC_CHECK_FUNCS(socketpair)
 
 if test "${ac_cv_header_winsock_h}" != yes; then
     dnl Select arg types
@@ -826,13 +824,13 @@ if test $ol_with_kerberos = auto -o $ol_with_kerberos = k5 ; then
 
        if test $ac_cv_header_kerberosIV_krb_h = yes ; then
                AC_CHECK_LIB(krb4, main, [have_k5=yes], [have_k5=no],
-                       [-lkrb5 -ldes425])
+                       [-lkrb5 -ldes425 -lcrypto -lcom_err])
 
                if test $have_k5 = yes ; then
                        ol_with_kerberos=found
                        ol_link_kerberos=yes
 
-                       KRB_LIBS="-lkrb4 -lkrb5 -ldes425"
+                       KRB_LIBS="-lkrb4 -lkrb5 -ldes425 -lcrypto -lcom_err"
 
                        LIBS="$KRB_LIBS $LIBS"
 
@@ -1732,7 +1730,7 @@ if test $ol_enable_tcl != no ; then
                for lib in tcl tcl7.6 tcl8.0 tcl8.2 ; do
                        AC_CHECK_LIB($lib,main,
                          [have_tcl=yes
-                          if test x"$ol_with_tcl_module" == "xstatic" ; then
+                          if test x"$ol_with_tcl_module" = "xstatic" ; then
                               SLAPD_LIBS="$SLAPD_LIBS -l${lib}"
                           else
                               MOD_TCL_LIB="-l${lib}"