[PATCH] Fix MMX & SSE intrinsics to work with Sun compilers & Solaris

Alan Coopersmith Alan.Coopersmith at Sun.COM
Sat Apr 4 09:44:29 PDT 2009


Robert Noland wrote:
> On Sat, 2009-04-04 at 09:01 +0200, Rémi Cardona wrote:
>> Le 04/04/2009 02:50, Alan Coopersmith a écrit :
>>> +if test "x$MMX_CFLAGS" = "x" ; then
>> [...]
>>> +fi
>>> +if test "x$SSE2_CFLAGS" = "x" ; then
>> [...]
>>> +fi
>> What's the reason for checking if the variables already exist? The old 
>> code just set them right away.
> 
> This method allows them to be over-ridden from the environment.

Exactly - lets a packager/builder override without having to edit configure.ac
and regenerate the configure script, if they need different compiler flags for
some reason.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the xorg-devel mailing list