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], [
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("")));