mesa: Replace a priori knowledge of gcc attributes with configure tests.
authorMatt Turner <mattst88@gmail.com>
Mon, 22 Sep 2014 01:14:01 +0000 (18:14 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 25 Sep 2014 20:52:55 +0000 (13:52 -0700)
commit976464c210816ff0c90e2e24e766dda81193fc79
tree2d5bc60e59715fc38693c9b41eec6de930319e81
parent4a96df73e770bcca6396d3c8ffe3fd1693c73e50
mesa: Replace a priori knowledge of gcc attributes with configure tests.

Note that I had to add support for testing the packed attribute to
m4/ax_gcc_func_attribute.m4.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com> [C bits]
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
configure.ac
m4/ax_gcc_func_attribute.m4 [new file with mode: 0644]
scons/gallium.py
src/mesa/drivers/dri/i965/intel_tex_subimage.c
src/util/macros.h