From: Ken Raeburn Date: Tue, 21 Sep 1999 22:47:18 +0000 (+0000) Subject: rhapsody fixes from 1.1 branch X-Git-Tag: krb5-1.2-beta1~229 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dee22503c823cf8b2768856ab8d622603b16925e;p=krb5.git rhapsody fixes from 1.1 branch git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11835 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index 199d5bf83..e67e67e7c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +1999-09-21 Ken Raeburn + + * aclocal.m4 (KRB5_LIB_PARAMS): Treat Rhapsody like Mac OS 10. + For both, add "-undefined warning" when building shared libs, and + remove "-static" from CC_LINK_STATIC. + 1999-08-27 Danilo Almeida * Makefile.in: Add some missing dirs needed for generating a proper diff --git a/src/aclocal.m4 b/src/aclocal.m4 index b4e6b4abe..4544e45f1 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1093,16 +1093,16 @@ mips-*-netbsd*) PROFFLAGS=-pg ;; -*-*-macos10*) +*-*-macos10* | *-*-rhapsody*) PICFLAGS=-fno-common SHLIBVEXT='.$(LIBMAJOR).$(LIBMINOR).dylib' SHLIBSEXT='.$(LIBMAJOR).dylib' SHLIB_EXPFLAGS='$(SHLIB_DIRS) $(SHLIB_EXPLIBS)' SHLIBEXT=.dylib SHOBJEXT=.so - LDCOMBINE='cc -dynamiclib -dylib_compatibility_version=$(LIBMAJOR).$(LIBMINOR) -dylib_current_version=$(LIBMAJOR).$(LIBMINOR)' + LDCOMBINE='cc -undefined warning -dynamiclib -dylib_compatibility_version=$(LIBMAJOR).$(LIBMINOR) -dylib_current_version=$(LIBMAJOR).$(LIBMINOR)' CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) -dynamic' - CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) -static' + CC_LINK_STATIC='$(CC) $(PROG_LIBPATH)' RUN_ENV='DYLD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`; export DYLD_LIBRARY_PATH;' ;;