43
43
AC_MSG_RESULT([$gl_cv_cc_visibility])
44
44
if test $gl_cv_cc_visibility = yes; then
45
45
CFLAG_VISIBILITY="-fvisibility=hidden"
49
50
AS_IF([test "x$SUNCC" = "xyes"],[
50
51
CFLAG_VISIBILITY="-xldscope=hidden"
53
55
AC_SUBST([CFLAG_VISIBILITY])
54
57
AC_SUBST([HAVE_VISIBILITY])
55
58
AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY],
56
59
[Define to 1 or 0, depending whether the compiler supports simple visibility declarations.])