[flac-dev] [PATCH] for configure.ac

Erik de Castro Lopo mle+la at mega-nerd.com
Tue Oct 14 02:18:14 PDT 2014


lvqcl wrote:

> How so? ./configure script tests a compiler by checking the existence of x86intrin.h.
> If the file exist then it is assumed that a compiler supports SSE intrinsics.
> 
> --enable-sse results in a definition of FLAC__SSE_OS preprocessor variable.
> If it is defined then SSE detection code in src/libFLAC/cpu.c
> assumes that OS supports SSE.


Sow what about just:

        echo "    Compiler is Clang : ................... ${xiph_cv_c_compiler_clang}"
-       echo "    SSE optimizations : ................... ${sse_os}"
+       echo "    SSE enabled : ......................... ${sse_enabled}"
        echo "    Asm optimizations : ................... ${asm_optimisation}"
        echo "    Ogg/FLAC support : .................... ${have_ogg}"


Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list