only add -L and -R to the krb4 libdir if we are actually using it

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10163 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-06-21 20:31:42 +00:00
parent 4c1667b6be
commit 55f8e7a625

View File

@@ -572,7 +572,7 @@ if test "$ac_cv_func_des_cbc_encrypt" = "yes" -a \
"$ac_cv_func_RC4" = "yes"; then
DIR_des=''
LIB_des=''
if test "$krb4_libdir" != ""; then
if test "$krb4_libdir" != "" -a "$ac_cv_funclib_des_cbc_encrypt" = "-ldes"; then
LIB_des="-R $krb4_libdir -L$krb4_libdir"
fi
LIB_des="$LIB_des $ac_cv_funclib_MD4_Init"