summaryrefslogtreecommitdiff
path: root/m4macros
diff options
context:
space:
mode:
authorNick Schermer <nick@xfce.org>2009-10-22 11:18:06 +0200
committerNick Schermer <nick@xfce.org>2009-10-22 11:18:06 +0200
commit77d9703dccee853d007c3b7133bc14accff66203 (patch)
tree052cde8b3caea531b6fc9eb129d48ddf00da8c7a /m4macros
parent399b5f31fba3b76767041bdd0d7ad57c53ee1866 (diff)
downloadxfce4-dev-tools-77d9703dccee853d007c3b7133bc14accff66203.tar.gz
Don't set the default visibility in XDT_FEATURE_VISIBILITY.
Only use XDT_FEATURE_VISIBILITY to detect if visibility is supported by the compiler. Setting the default visibility to hidden will break libraries and modules that don't set the visibility of their public function to "default".
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/xdt-features.m42
1 files changed, 0 insertions, 2 deletions
diff --git a/m4macros/xdt-features.m4 b/m4macros/xdt-features.m4
index ea0c685..be355b6 100644
--- a/m4macros/xdt-features.m4
+++ b/m4macros/xdt-features.m4
@@ -164,8 +164,6 @@ AC_DEFUN([XDT_FEATURE_VISIBILITY],
if test "x$have_gnuc_visibility" = "xyes"; then
CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY"
- XDT_SUPPORTED_FLAGS([xdt_vis_hidden_cflags], [-fvisibility=hidden])
- CFLAGS="$CFLAGS $xdt_vis_hidden_cflags"
fi
AM_CONDITIONAL([HAVE_GNUC_VISIBILITY], [test "x$have_gnuc_visibility" = "xyes"])