2
AC_DEFUN([AC_DEF_API_EXPORT_ATTRS],
3
[AC_REQUIRE([gl_VISIBILITY])
4
AC_REQUIRE([AC_CANONICAL_HOST])
6
*win32* | *mingw32* | *cygwin* | *windows*)
13
if test $HAVE_VISIBILITY = 1 -a $os_support != "win32"; then
14
AC_DEFINE(LOCAL_FN, [__attribute__ ((visibility ("hidden")))],
15
[attribute of the non-exported symbols])
16
AC_DEFINE(API_EXPORTED, [__attribute__ ((visibility ("default")))],
17
[attribute of the symbols exported in the API])
19
AC_DEFINE(LOCAL_FN, [], [attribute of the non-exported symbols])
20
AC_DEFINE(API_EXPORTED, [], [attribute of the symbols exported in the API])