Adding option to disable SSE support in configure
parent
f48b262221
commit
21de983833
|
@ -36,6 +36,14 @@ AC_TYPE_UINT32_T
|
||||||
AC_TYPE_UINT64_T
|
AC_TYPE_UINT64_T
|
||||||
AX_EXT
|
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.
|
# Checks for library functions.
|
||||||
AC_FUNC_MALLOC
|
AC_FUNC_MALLOC
|
||||||
AC_CHECK_FUNCS([bzero getcwd gettimeofday mkdir strchr strdup strrchr])
|
AC_CHECK_FUNCS([bzero getcwd gettimeofday mkdir strchr strdup strrchr])
|
||||||
|
|
Loading…
Reference in New Issue