SSE check incorrect + strndup fix

Christophe Massiot massiot at via.ecp.fr
Sat Jun 15 13:51:39 CEST 2002


À (At) 2:05 -0700 15/06/2002, Steven M. Schultz écrivait (wrote) :

>	The SSE check in ./configure is not correct.  It is _not_ safe
>	to assume that if a  SSE instruction compiles that the OS supports
>	SSE!

That's exactly what we're doing. The test in configure just tests if 
we can _compile_ SSE (resp. MMX, Altivec, etc.) operands. Whether the 
OS (and machine) supports SSE can only be determined at runtime (and 
depends on the OS version and machine), and it is done in 
src/misc/cpu.c.

-- 
Christophe Massiot.

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list