Author: post
Date: 2011-03-20 11:15:46 +0100 (Sun, 20 Mar 2011)
New Revision: 3898
Modified:
trunk/configure.in
Log:
Add AVX compiler check.
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2011-03-20 09:14:51 UTC (rev 3897)
+++ trunk/configure.in 2011-03-20 10:15:46 UTC (rev 3898)
@@ -99,9 +99,11 @@
AX_CHECK_COMPILER_FLAGS("-msse2", [_CAN_COMPILE_SSE2=yes],
[_CAN_COMPILE_SSE2=no])
AX_CHECK_COMPILER_FLAGS("-msse4.1",
[_CAN_COMPILE_SSE4_1=yes],[_CAN_COMPILE_SSE4_1=no])
+AX_CHECK_COMPILER_FLAGS("-mavx", [_CAN_COMPILE_AVX=yes],[_CAN_COMPILE_AVX=no])
AM_CONDITIONAL(CAN_COMPILE_SSE4_1, test "$_CAN_COMPILE_SSE4_1" = yes)
AM_CONDITIONAL(CAN_COMPILE_SSE2, test "$_CAN_COMPILE_SSE2" = yes)
+AM_CONDITIONAL(CAN_COMPILE_AVX, test "$_CAN_COMPILE_AVX" = yes)
[
branchname()
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit