diff options
author | Loic Dachary <loic@dachary.org> | 2014-03-21 13:07:32 +0100 |
---|---|---|
committer | Loic Dachary <loic@dachary.org> | 2014-03-21 13:07:32 +0100 |
commit | 8c7f6c11d4830a2300e88dc7d27dae4e37d1873c (patch) | |
tree | 0d1bf608bcd489e7ced943e5b85fd6fe858b7446 /configure.ac | |
parent | Merge pull request #1500 from ceph/wip-tid_t (diff) | |
download | ceph-8c7f6c11d4830a2300e88dc7d27dae4e37d1873c.tar.xz ceph-8c7f6c11d4830a2300e88dc7d27dae4e37d1873c.zip |
autotools: AX_SSE detects the compiler SSE capabilities
For each SSE feature supported by the compiler
* add the corresponding -msse* flag
* define HAVE_SSE*
Remove AX_EXT because it decides based on the CPU capabilities of the
machine compiling the binary which may or may not be the one running
them.
Signed-off-by: Loic Dachary <loic@dachary.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 5145f095811..c7544a6e272 100644 --- a/configure.ac +++ b/configure.ac @@ -498,8 +498,8 @@ AC_LANG_PUSH([C++]) AC_CHECK_HEADER([leveldb/filter_policy.h], [AC_DEFINE([HAVE_LEVELDB_FILTER_POLICY], [1], [Defined if LevelDB supports bloom filters ])]) AC_LANG_POP([C++]) -# Find supported SIMD / SSE extensions by requesting cpuid -#AX_EXT() +# Find supported SIMD / SSE extensions supported by the compiler +AX_SSE() # use system libs3? AC_ARG_WITH([system-libs3], |