Fix for #838. Please see issue for my comments. Please close #838 if you agree it's fixed. If #838 is still broken, please push issue back to me.

This commit is contained in:
Robin Mills 2012-08-26 02:51:45 +00:00
parent 6e21a9f640
commit b452f19590

View File

@ -103,11 +103,11 @@ AC_MSG_CHECKING([whether to enable symbol visibility support])
visibility=yes
# visibility support in cygwin/ming generates 1000's of warning, set off by default
case "$host_os" in
*mingw* | *cygwin*) visiblity=no ;;
*mingw* | *cygwin*) visibility=no ;;
esac
AC_ARG_ENABLE(visibility,
[ --disable-visibility do not use symbol visibility support ],
VISIBILITY_SUPPORT=$enableval, VISIBILITY_SUPPORT=$visiblity)
VISIBILITY_SUPPORT=$enableval, VISIBILITY_SUPPORT=$visibility)
AC_MSG_RESULT($VISIBILITY_SUPPORT)
if test "$VISIBILITY_SUPPORT" = "yes"; then
# Sun Studio C++ compiler (which apparently ignores -fvisibility-inlines-hidden)