[Mesa-dev] [PATCH 2/7] configure: use standard check for attribure alias

Emil Velikov emil.l.velikov at gmail.com
Mon Dec 5 19:52:40 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

Currently we have two macros - HAVE_ALIAS and GLX_ALIAS_UNSUPPORTED.
To make it even better former of which is explicitly cleared in some
cases while not in others.

Clear all that up by using a single macro properly set during configure.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index adca49d..f251764 100644
--- a/configure.ac
+++ b/configure.ac
@@ -238,6 +238,7 @@ AX_GCC_FUNC_ATTRIBUTE([unused])
 AX_GCC_FUNC_ATTRIBUTE([visibility])
 AX_GCC_FUNC_ATTRIBUTE([warn_unused_result])
 AX_GCC_FUNC_ATTRIBUTE([weak])
+AX_GCC_FUNC_ATTRIBUTE([alias])
 
 AM_CONDITIONAL([GEN_ASM_OFFSETS], test "x$GEN_ASM_OFFSETS" = xyes)
 
-- 
2.10.2



More information about the mesa-dev mailing list