From f7c4a6f160688185e96c2d7bb34512a34bdcd088 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 3 Sep 2002 23:18:41 +0000 Subject: [PATCH] Support SS_LIB=... at configure time git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14828 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 2 ++ src/aclocal.m4 | 6 +++++- src/config/ChangeLog | 1 + src/config/pre.in | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index bac181799..25b579c1a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,8 @@ * 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 diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 51bd0b7e7..b54b07c4b 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1435,11 +1435,15 @@ AC_SUBST(COM_ERR_VERSION) 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) ]) diff --git a/src/config/ChangeLog b/src/config/ChangeLog index 27b611715..1988dca22 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -3,6 +3,7 @@ * 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 diff --git a/src/config/pre.in b/src/config/pre.in index 0379a03bb..b9237ffde 100644 --- a/src/config/pre.in +++ b/src/config/pre.in @@ -246,7 +246,7 @@ SS_DEPS-k5 = $(BUILDTOP)/include/ss/ss.h $(BUILDTOP)/include/ss/ss_err.h 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 -- 2.26.2