Commit 21de98383350e7c46e5ee329de2a93c696dee67a

Authored by Kevin Greenan
1 parent f48b2622
Exists in master

Adding option to disable SSE support in configure

Showing 1 changed file with 8 additions and 0 deletions   Show diff stats
configure.ac
... ... @@ -36,6 +36,14 @@ AC_TYPE_UINT32_T
36 36 AC_TYPE_UINT64_T
37 37 AX_EXT
38 38  
  39 +AC_ARG_ENABLE([sse],
  40 + AS_HELP_STRING([--disable-sse], [Build without SSE optimizations]),
  41 + [if test "x$enableval" = "xno" ; then
  42 + SIMD_FLAGS=""
  43 + echo "DISABLED SSE!!!"
  44 + fi]
  45 +)
  46 +
39 47 # Checks for library functions.
40 48 AC_FUNC_MALLOC
41 49 AC_CHECK_FUNCS([bzero getcwd gettimeofday mkdir strchr strdup strrchr])
... ...