summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorThomas Weber <tweber@debian.org>2017-10-21 21:54:17 +0200
committerThomas Weber <tweber@debian.org>2017-10-21 21:54:17 +0200
commit8110a93db00daa8a5a5a35747bf146737ce87b30 (patch)
treee36cc0f4dbb002c45774154c3e7b16b5de8a2e12 /m4
parent2b29d487d2a2e745dfe457e48c3aa85546022ddf (diff)
downloadlcms2-8110a93db00daa8a5a5a35747bf146737ce87b30.tar.gz
Only check for visibility attributes that we are using.
Clang on OSX does not support visibility "protected".
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_gcc_func_attribute.m42
1 files changed, 0 insertions, 2 deletions
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("")));