Skip to content

Commit 37c9abd

Browse files
committed
build: remove check for __attribute__((visibility..
1 parent 42326b0 commit 37c9abd

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

configure.ac

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -943,23 +943,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
943943
[ AC_MSG_RESULT([no])]
944944
)
945945

946-
AC_MSG_CHECKING([for default visibility attribute])
947-
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
948-
int foo(void) __attribute__((visibility("default")));
949-
int main(){}
950-
])],
951-
[
952-
AC_DEFINE([HAVE_DEFAULT_VISIBILITY_ATTRIBUTE], [1], [Define if the visibility attribute is supported.])
953-
AC_MSG_RESULT([yes])
954-
],
955-
[
956-
AC_MSG_RESULT([no])
957-
if test "$use_reduce_exports" = "yes"; then
958-
AC_MSG_ERROR([Cannot find a working visibility attribute. Use --disable-reduce-exports.])
959-
fi
960-
]
961-
)
962-
963946
AC_MSG_CHECKING([for dllexport attribute])
964947
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
965948
__declspec(dllexport) int foo(void);

0 commit comments

Comments
 (0)