Skip to content

Commit 21de983

Browse files
author
Kevin Greenan
committed
Adding option to disable SSE support in configure
1 parent f48b262 commit 21de983

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

configure.ac

+8
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ AC_TYPE_UINT32_T
3636
AC_TYPE_UINT64_T
3737
AX_EXT
3838

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+
3947
# Checks for library functions.
4048
AC_FUNC_MALLOC
4149
AC_CHECK_FUNCS([bzero getcwd gettimeofday mkdir strchr strdup strrchr])

0 commit comments

Comments
 (0)