Module: Mesa
Branch: master
Commit: 95d9eae42745d958d94445dbfb343dd1927ba9d6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=95d9eae42745d958d94445dbfb343dd1927ba9d6

Author: Emil Velikov <[email protected]>
Date:   Mon Dec  5 19:52:40 2016 +0000

configure: use standard check for attribure alias

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 <[email protected]>

---

 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index beacd11..e6b4d8c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -239,6 +239,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)
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to