From: Marcelo E. M. <mar...@bi...> - 2001-06-05 16:22:32
|
>> Brian Paul <br...@va...> writes: > The trick is there was a patch to Linux 2.2.x that added SSE so just > testing for kernel >= 2.4.0 isn't enough. Does the presense of > X86_FXSR_MAGIC ensure that the _fpstate.magic field exists? Looking at the patch (2.4.0-test2), yes. magic and X86_FXSR_MAGIC where introduced at the same time. I agree with you, stopping in the middle of the compilation isn't nice. The problem is you can't run something while generating the Makefiles from the Imakefiles, can you? You just need to check that: #include <signal.h> #if defined(SSE_CHECK) && !defined(X86_FXSR_MAGIC) #error "X86_FXSR_MAGIC not defined" #endif doesn't produce an error. -- Marcelo |