summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Greenan <kmg@box.com>2014-06-09 11:21:01 -0700
committerKevin Greenan <kmg@box.com>2014-06-09 11:21:01 -0700
commita11dc931ffed995c9635b058424fb21a0eea5994 (patch)
treeb8b8cc9b1ba2ab58a70d111b3123117a03c26577
parent9311b4fc107da2f2e9a2624520cfe2ffd216af53 (diff)
downloadgf-complete-a11dc931ffed995c9635b058424fb21a0eea5994.tar.gz
Adding option to disable SSE in autoconf script
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7fd1fe3..fb70f45 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,5 +24,13 @@ AC_PROG_CC
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]
+)
+
AC_CONFIG_FILES([Makefile src/Makefile tools/Makefile test/Makefile examples/Makefile])
AC_OUTPUT