build: remove internal/protected build attribute checks

They're not necessary, and not always supported. We only need to know about
hidden and default.
This commit is contained in:
Cory Fields 2014-11-06 22:18:08 -05:00
parent f36a40f7fd
commit ee64c53c1f

View file

@ -180,8 +180,6 @@ AC_DEFUN([AX_GCC_FUNC_ATTRIBUTE], [
[visibility], [ [visibility], [
int foo_def( void ) __attribute__(($1("default"))); int foo_def( void ) __attribute__(($1("default")));
int foo_hid( void ) __attribute__(($1("hidden"))); int foo_hid( void ) __attribute__(($1("hidden")));
int foo_int( void ) __attribute__(($1("internal")));
int foo_pro( void ) __attribute__(($1("protected")));
], ],
[warning], [ [warning], [
int foo( void ) __attribute__(($1(""))); int foo( void ) __attribute__(($1("")));