From 8110a93db00daa8a5a5a35747bf146737ce87b30 Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Sat, 21 Oct 2017 21:54:17 +0200 Subject: Only check for visibility attributes that we are using. Clang on OSX does not support visibility "protected". --- m4/ax_gcc_func_attribute.m4 | 2 -- 1 file changed, 2 deletions(-) (limited to 'm4') diff --git a/m4/ax_gcc_func_attribute.m4 b/m4/ax_gcc_func_attribute.m4 index c788ca9..1edceba 100644 --- a/m4/ax_gcc_func_attribute.m4 +++ b/m4/ax_gcc_func_attribute.m4 @@ -184,8 +184,6 @@ AC_DEFUN([AX_GCC_FUNC_ATTRIBUTE], [ [visibility], [ int foo_def( void ) __attribute__(($1("default"))); int foo_hid( void ) __attribute__(($1("hidden"))); - int foo_int( void ) __attribute__(($1("internal"))); - int foo_pro( void ) __attribute__(($1("protected"))); ], [warning], [ int foo( void ) __attribute__(($1(""))); -- cgit v1.2.1