diff options
author | Tom Tsou <tom.tsou@ettus.com> | 2015-05-18 16:26:33 -0700 |
---|---|---|
committer | Tom Tsou <tom.tsou@ettus.com> | 2015-05-18 16:35:44 -0700 |
commit | 6613331459351489436d9f91129a47750a46020f (patch) | |
tree | 43373112ce5e9f88d6f29b002e0ef08469cfe6ca /configure.ac | |
parent | 577cd020c16e8d74d7464ea59157e7a44cbb6683 (diff) |
build: Provide option for disabling SSE autodetection
Setup '--with-sse' option to check system capabilities by default, but
allow disabling by the user. Selective SSE build options can be
controlled by the user by defining specific HAVE_SSE options.
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b2fe1e9..0a64dee 100644 --- a/configure.ac +++ b/configure.ac @@ -78,6 +78,11 @@ AC_ARG_WITH(neon-vfpv4, [ [enable ARM NEON FMA support]) ]) +AC_ARG_WITH(sse, [ + AS_HELP_STRING([--with-sse], + [enable x86 SSE support (default)]) +]) + AS_IF([test "x$with_neon" = "xyes"], [ AC_DEFINE(HAVE_NEON, 1, Support ARM NEON) ]) @@ -101,7 +106,9 @@ AS_IF([test "x$with_singledb" = "xyes"], [ ]) # Find and define supported SIMD extensions -AX_EXT +AS_IF([test "x$with_sse" != "xno"], [ + AX_EXT +]) AM_CONDITIONAL(USRP1, [test "x$with_usrp1" = "xyes"]) AM_CONDITIONAL(ARCH_ARM, [test "x$with_neon" = "xyes" || test "x$with_neon_vfpv4" = "xyes"]) |