diff options
author | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-05-30 01:01:19 +0000 |
---|---|---|
committer | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-05-30 01:01:19 +0000 |
commit | f224548bae30eede02e1a6c004a95ce6229b5b72 (patch) | |
tree | c3947af0eb1aeb7288d3f6910d8810e640daba1c | |
parent | 0a64cb3826551c10a082f1c4288d7c86014bc179 (diff) | |
download | ATCD-f224548bae30eede02e1a6c004a95ce6229b5b72.tar.gz |
ChangeLogTag: Sun May 29 17:49:00 2005 J.T. Conklin <jtc@acorntoolworks.com>
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | m4/compiler.m4 | 19 |
2 files changed, 23 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog index e0b34ddc323..77a378f4918 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +Sun May 29 17:49:00 2005 J.T. Conklin <jtc@acorntoolworks.com> + + * m4/compiler.m4: + + Disable the use of gcc's symbol visibility on MacOSX, since it + requires features of the ELF object file format not present in + Mach-O. Longer term we need a feature check that explicitly + tests for proper operation of symbol visibility instead of a + list of systems where it's disabled. + Fri May 27 15:32:15 2005 Justin Michel <michel_j@ociweb.com> * ace/ACE.h: diff --git a/m4/compiler.m4 b/m4/compiler.m4 index 7d50869978b..763b6713525 100644 --- a/m4/compiler.m4 +++ b/m4/compiler.m4 @@ -374,12 +374,19 @@ dnl @todo Clean up / consolidate these conditionals dnl Take advantage of visibility attributes when using g++ 4.0 or dnl better. if test "$ACE_GXX_MAJOR_VERSION" -ge 4; then - AC_MSG_NOTICE([enabling GNU G++ visibility attribute support]) - ACE_GXX_VISIBILITY_FLAGS="-fvisibility=hidden -fvisibility-inlines-hidden" - ACE_CXXFLAGS="$ACE_CXXFLAGS $ACE_GXX_VISIBILITY_FLAGS" - AC_DEFINE([ACE_HAS_CUSTOM_EXPORT_MACROS]) - AC_DEFINE([ACE_Proper_Export_Flag], - [__attribute__ ((visibility("default")))]) + case "$host_os" in + darwin*) + ;; + + *) + AC_MSG_NOTICE([enabling GNU G++ visibility attribute support]) + ACE_GXX_VISIBILITY_FLAGS="-fvisibility=hidden -fvisibility-inlines-hidden" + ACE_CXXFLAGS="$ACE_CXXFLAGS $ACE_GXX_VISIBILITY_FLAGS" + AC_DEFINE([ACE_HAS_CUSTOM_EXPORT_MACROS]) + AC_DEFINE([ACE_Proper_Export_Flag], + [__attribute__ ((visibility("default")))]) + ;; + esac else case `$CXX --version` in 2.9*) |