rhapsody fixes from 1.1 branch
authorKen Raeburn <raeburn@mit.edu>
Tue, 21 Sep 1999 22:47:18 +0000 (22:47 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 21 Sep 1999 22:47:18 +0000 (22:47 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11835 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index 199d5bf830922d898fbdaf2872531d37b69823a0..e67e67e7c2376ed469cd329b90770e6f1fe1717b 100644 (file)
@@ -1,3 +1,9 @@
+1999-09-21  Ken Raeburn  <raeburn@mit.edu>
+
+       * 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  <dalmeida@mit.edu>
 
        * Makefile.in: Add some missing dirs needed for generating a proper
index b4e6b4abe2098ae6a387f5e2f8cfdbb8ede027bc..4544e45f10ea5ae5d581e3ff9191bf8031c9dba4 100644 (file)
@@ -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;'
        ;;