Adding option to disable SSE support in configure

master
Kevin Greenan 2014-06-09 11:37:29 -07:00
parent f48b262221
commit 21de983833
1 changed files with 8 additions and 0 deletions

View File

@ -36,6 +36,14 @@ AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AX_EXT
AC_ARG_ENABLE([sse],
AS_HELP_STRING([--disable-sse], [Build without SSE optimizations]),
[if test "x$enableval" = "xno" ; then
SIMD_FLAGS=""
echo "DISABLED SSE!!!"
fi]
)
# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([bzero getcwd gettimeofday mkdir strchr strdup strrchr])