,
withval=yes
)dnl
-if test "$withval" = yes; then
+if test "$krb5_cv_shlibs_enabled" = yes ; then
+ if test "$withval" = yes; then
AC_MSG_RESULT(Using shared libraries)
LDARGS="$krb5_cv_shlibs_ldflag -L[$](TOPLIBD) $LDARGS"
if test "$krb5_cv_exe_need_dirs" = yes; then
fi
SHLIB_TAIL_COMP=$krb5_cv_shlibs_tail_comp
AC_SUBST(SHLIB_TAIL_COMP)
-else
+ else
AC_MSG_RESULT(Using archive libraries)
LDARGS="$krb5_cv_noshlibs_ldflag -L[$](TOPLIBD) $LDARGS"
+ fi
+else
+ LDARGS="-L[$](TOPLIBD) $LDARGS"
fi
AC_SUBST(LDARGS)
])dnl
krb5_cv_exe_need_dirs=yes
krb5_cv_shlibs_use_dirs=yes
krb5_cv_shlibs_tail_comp=
+ krb5_cv_shlibs_enabled=yes
;;
*-*-solaris*)
echo "Enabling shared libraries for Solaris...."
krb5_cv_exe_need_dirs=yes
krb5_cv_shlibs_use_dirs=yes
krb5_cv_shlibs_tail_comp=
+ krb5_cv_shlibs_enabled=yes
;;
alpha-dec-osf*)
echo "Enabling shared libraries for Alpha OSF...."
krb5_cv_exe_need_dirs=no
krb5_cv_shlibs_use_dirs=yes
krb5_cv_shlibs_tail_comp=
+ krb5_cv_shlibs_enabled=yes
if test ! -f so_locations; then
cp -p /usr/shlib/so_locations .
fi
krb5_cv_noshlibs_ldflag=
krb5_cv_shlibs_sym_ufo=
krb5_cv_shlibs_dirhead=
-krb5_cv_shlibs_tail_comp=])
+krb5_cv_shlibs_tail_comp=
+krb5_cv_shlibs_enabled=])
AC_ARG_ENABLE([athena],
[ --enable-athena build with MIT Project Athena configuration],,)
if test -z "$KRB4_LIB"; then