From: Tom Yu Date: Mon, 29 Jan 2001 00:04:18 +0000 (+0000) Subject: * aclocal.m4 (KRB5_LIB_AUX): Smash some shared lib file extensions X-Git-Tag: krb5-1.3-alpha1~1681 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=746285c76c49197740f5ce90cc58d969dbeeb44f;p=krb5.git * aclocal.m4 (KRB5_LIB_AUX): Smash some shared lib file extensions so that AIX doesn't break, since static and shared libs are mutually exclusive on AIX. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12958 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index b7e4858b2..6cda13bbe 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2001-01-28 Tom Yu + + * aclocal.m4 (KRB5_LIB_AUX): Smash some shared lib file extensions + so that AIX doesn't break, since static and shared libs are + mutually exclusive on AIX. + 2001-01-16 Ken Raeburn * acconfig.h (HAVE_SA_LEN): Undef. diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 902c8091c..cf775b7cf 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1063,8 +1063,18 @@ AC_ARG_ENABLE([shared], AC_MSG_RESULT([Forcing static libraries.]) # avoid duplicate rules generation for AIX and such SHLIBEXT=.so-nobuild + SHLIBVEXT=.so.v-nobuild + SHLIBSEXT=.so.s-nobuild else AC_MSG_RESULT([Enabling shared libraries.]) + # Clear some stuff in case of AIX, etc. + if test "$STLIBEXT" = "$SHLIBEXT" ; then + STLIBEXT=.a-nobuild + LIBLIST= + LIBLINKS= + OBJLISTS= + LIBINSTLIST= + fi LIBLIST="$LIBLIST "'lib$(LIB)$(SHLIBEXT)' LIBLINKS="$LIBLINKS "'$(TOPLIBD)/lib$(LIB)$(SHLIBEXT) $(TOPLIBD)/lib$(LIB)$(SHLIBVEXT)' case "$SHLIBSEXT" in @@ -1080,10 +1090,6 @@ AC_ARG_ENABLE([shared], OBJLISTS="$OBJLISTS OBJS.SH" fi CC_LINK="$CC_LINK_SHARED" - if test "$STLIBEXT" = "$SHLIBEXT" ; then - STLIBEXT=".a-no-build" - LIBINSTLIST="install-shared" #don't install static - fi ;; esac else @@ -1095,6 +1101,9 @@ else fi], RUN_ENV= CC_LINK="$CC_LINK_STATIC" + SHLIBEXT=.so-nobuild + SHLIBVEXT=.so.v-nobuild + SHLIBSEXT=.so.s-nobuild )dnl if test -n "$EXTRA_LIB_TARGETS"; then