added --disable-visibility configure option

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-07-13 20:44:26 +00:00
parent 50257dba06
commit a2bd84a532
2 changed files with 65 additions and 2 deletions

View File

@@ -557,6 +557,8 @@ WX_ARG_DISABLE(rpath, [ --disable-rpath disable use of rpath for
WX_ARG_ENABLE(objc_uniquifying,[ --enable-objc_uniquifying enable Objective-C class name uniquifying], wxUSE_OBJC_UNIQUIFYING)
WX_ARG_DISABLE(visibility, [ --disable-visibility disable use of ELF symbols visibility even if supported], wxUSE_VISIBILITY)
dnl ---------------------------------------------------------------------------
dnl optional non GUI features
dnl ---------------------------------------------------------------------------
@@ -3690,7 +3692,9 @@ if test "$wxUSE_SHARED" = "yes"; then
dnl test for GCC's visibility support (sets CFLAGS_VISIBILITY, which is
dnl assigned to CFLAGS and CXXFLAGS below)
WX_VISIBILITY
if test "$wxUSE_VISIBILITY" != "no"; then
WX_VISIBILITY
fi
dnl test for Sun CC which can be used under both Solaris and Linux
if test "x$SUNCXX" = xyes; then