Commit a11dc931ffed995c9635b058424fb21a0eea5994

Authored by Kevin Greenan
1 parent 9311b4fc
Exists in master and in 2 other branches v2, v3

Adding option to disable SSE in autoconf script

Showing 1 changed file with 8 additions and 0 deletions   Show diff stats
configure.ac
... ... @@ -24,5 +24,13 @@ AC_PROG_CC
24 24  
25 25 AX_EXT()
26 26  
  27 +AC_ARG_ENABLE([sse],
  28 + AS_HELP_STRING([--disable-sse], [Build without SSE optimizations]),
  29 + [if test "x$enableval" = "xno" ; then
  30 + SIMD_FLAGS=""
  31 + echo "DISABLED SSE!!!"
  32 + fi]
  33 +)
  34 +
27 35 AC_CONFIG_FILES([Makefile src/Makefile tools/Makefile test/Makefile examples/Makefile])
28 36 AC_OUTPUT
... ...