Mesa (master): configure: use standard check for attribure alias

Emil Velikov evelikov at kemper.freedesktop.org
Wed Jan 18 16:03:36 UTC 2017


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

Author: Emil Velikov <emil.velikov at collabora.com>
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 <emil.velikov at collabora.com>

---

 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)
 




More information about the mesa-commit mailing list