* config.guess, config.sub: Clean up Rhapsody and Mac OS X guesses.
Use powerpc-apple-darwin1.x on Mac OS X.
+ * aclocal.m4: Clean up to Rhapsody/Darwin compile options:
+ - Set the compatibility version of libraries to 0.1 for now so
+ binaries don't blow up every time a new library version rolls
+ out. We can add a compat variable to the lib makefiles if we think
+ this is needed.
+ - Don't forget LDFLAGS in CC_LINK_* and LDCOMBINE macros. This is
+ probably a good idea for all platforms. We'll need it in Darwin
+ for building multi-architecture binaries.
+ - The default for SHOBJEXT works, so there is no need to define it
+ again.
+
2000-04-18 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in (clean-windows): Actually clean gss-sample on Windows.
SHLIBSEXT='.$(LIBMAJOR).dylib'
SHLIB_EXPFLAGS='$(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
SHLIBEXT=.dylib
- SHOBJEXT=.so
- 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)'
+ LDCOMBINE='$(CC) $(LDFLAGS) -undefined warning -dynamiclib -dylib_compatibility_version=0.1 -dylib_current_version=$(LIBMAJOR).$(LIBMINOR)'
+ CC_LINK_SHARED='$(CC) $(LDFLAGS) $(PROG_LIBPATH) -dynamic'
+ CC_LINK_STATIC='$(CC) $(LDFLAGS) $(PROG_LIBPATH)'
RUN_ENV='DYLD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`; export DYLD_LIBRARY_PATH;'
;;