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//`"
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"
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}"