From 09bdf3e362ca8010227cb7f461b1b2870c2db56f Mon Sep 17 00:00:00 2001 From: bala Date: Wed, 13 Nov 2002 22:17:34 +0000 Subject: ChangeLogTag: Wed Nov 13 16:52:04 UTC 2002 Craig Rodrigues --- ace/config-macosx.h | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'ace/config-macosx.h') diff --git a/ace/config-macosx.h b/ace/config-macosx.h index d47811133e9..48f21466797 100644 --- a/ace/config-macosx.h +++ b/ace/config-macosx.h @@ -167,13 +167,26 @@ #define ACE_LACKS_SIGINFO_H #define ACE_HAS_UCONTEXT_T #define ACE_HAS_GETIFADDRS -#define ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES + +// dlcompat package (not part of base Darwin) is needed for dlopen(). +// Fink installer puts libraries in /sw/lib and headers in /sw/include +// In order to install dlcompat do the following: +// - download fink from http://fink.sf.net +// - type: +// fink install dlcompat +#define ACE_HAS_SVR4_DYNAMIC_LINKING +#define ACE_LD_SEARCH_PATH ACE_LIB_TEXT ("DYLD_LIBRARY_PATH") +#define ACE_DLL_SUFFIX ACE_LIB_TEXT (".dylib") // gperf seems to need this #define ACE_HAS_NONSTATIC_OBJECT_MANAGER -// Remove the following when Apple fixes static template member problem in their -// compiler +// gcc 3.1 is broken, gcc 3.3 is a bit better +#if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 3)) +# define ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES + // Remove the following when Apple fixes static template member problem + // in their compiler #define ACE_HAS_POSITION_INDEPENDENT_POINTERS 0 +#endif #endif /* ACE_CONFIG_MACOSX_H */ -- cgit v1.2.1