* aclocal.m4 (KRB_INCLUDE): Put in-tree include dirs before
previous contents of CPPFLAGS.
+ (KRB5_AC_CHOOSE_SS): Let user specify SS_LIB=..., substitute it
+ into generated makefiles.
2002-09-03 Ezra Peisach <epeisach@bu.edu>
AC_DEFUN([KRB5_AC_CHOOSE_SS],[
AC_ARG_WITH(system-ss,
AC_HELP_STRING(--with-system-ss,use system -lss and mk_cmds @<:@default: use a private version@:>@))
+AC_ARG_VAR(SS_LIB,[system libraries for 'ss' package, if --with-system-ss was specified [-lss]])
if test "x$with_system_ss" = xyes ; then
SS_VERSION=sys
- # check for various libraries we might need
+ # todo: check for various libraries we might need
+ # in the meantime...
+ test "x${SS_LIB+set}" = xset || SS_LIB=-lss
else
SS_VERSION=k5
fi
+AC_SUBST(SS_LIB)
AC_SUBST(SS_VERSION)
])
* libobj.in (.c.so, .c.po): Put LOCALINCLUDES before CPPFLAGS.
* pre.in (ALL_CFLAGS): Put LOCALINCLUDES before CPPFLAGS.
+ (SS_LIB-sys): Use @SS_LIB@ substitution.
2002-08-29 Ken Raeburn <raeburn@mit.edu>
GEN_LIB = @GEN_LIB@
SS_LIB = $(SS_LIB-@SS_VERSION@)
-SS_LIB-sys = -lss
+SS_LIB-sys = @SS_LIB@
SS_LIB-k5 = $(TOPLIBD)/libss.a
KDB5_LIB = -lkdb5
DB_LIB = -ldb