From 365a4235fbdb850f53305af956777de983011320 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 10 Feb 1997 16:33:39 +0000 Subject: [PATCH] * aclocal.m4 (KRB5_LIB_PARAMS): Set CC_LINK_STATIC for platforms w/o shared library support. (KRB5_LIB_AUX); Set CC_LINK if --enable-shared is not specified. (The second fix was to utilize the action-if-false stanza of AC_ARG_ENABLE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9837 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 7 +++++++ src/aclocal.m4 | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 9369ea82d..b50b65e09 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +Mon Feb 10 11:30:56 1997 Ezra Peisach + + * aclocal.m4 (KRB5_LIB_PARAMS): Set CC_LINK_STATIC for platforms + w/o shared library support. + (KRB5_LIB_AUX); Set CC_LINK if --enable-shared is not + specified. + Mon Feb 3 00:11:37 1997 Richard Basch * Makefile.in: diff --git a/src/aclocal.m4 b/src/aclocal.m4 index e2991576e..71caa7b7f 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1095,7 +1095,10 @@ AC_ARG_ENABLE([shared], else RUN_ENV= CC_LINK="$CC_LINK_STATIC" -fi])dnl +fi], + RUN_ENV= + CC_LINK="$CC_LINK_STATIC" +)dnl if test -z "$LIBLIST"; then AC_MSG_ERROR([must enable one of shared or static libraries]) @@ -1144,6 +1147,9 @@ PFLIBEXT=_p.a STOBJEXT=.o SHOBJEXT=.so PFOBJEXT=.po +# Default for systems w/o shared libraries +CC_LINK_STATIC='$(CC) $(PROG_LIBPATH)' + # Set up architecture-specific variables. case $krb5_cv_host in alpha-dec-osf*) -- 2.26.2