Fix pixman build with older GCC releases
authorBrad Smith <brad@comstyle.com>
Fri, 18 Oct 2013 03:22:02 +0000 (23:22 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Sat, 2 Nov 2013 00:14:33 +0000 (20:14 -0400)
commit8ef7e0d18e00291da14c69d3034896235875d019
tree266dd98a24bf71c0b5d0beb0514a3270972c265d
parent3c2f4b651747c1ac484c39d5128cae5483094342
Fix pixman build with older GCC releases

The following patch fixes building pixman with older GCC releases
such as GCC 3.3 and older (OpenBSD; some older archs use GCC 3.3.6)
by changing the method of detecting the presence of __builtin_clz
to utilizing an autoconf check to determine its presence. Compilers
that pretend to be GCC, implement __builtin_clz and are already
utilizing the intrinsic include LLVM/Clang, Open64, EKOPath and
PCC.
configure.ac
pixman/pixman-matrix.c