80
dnl Must be done once we turn on warnings and such
82
[whether __attribute__ visibility "hidden" is supported],
83
[ac_cv_can_use_hidden_],[
85
save_CXXFLAGS="${CXXFLAGS}"
86
CXXFLAGS="${AM_CXXFLAGS} ${CXXFLAGS}"
90
__attribute__((visibility ("hidden")))
94
[ac_cv_can_use_hidden_=yes],
95
[ac_cv_can_use_hidden_=no])
96
CXXFLAGS="${save_CXXFLAGS}"
98
AS_IF([test "$ac_cv_can_use_hidden_" = "yes"],[
99
AC_DEFINE(HAVE_ATTR_HIDDEN, 1,
100
[Define to 1 if you have support for __attribute__((visibility("hidden")))])