|
|
@ -1,14 +1,14 @@ |
|
|
|
--- a/configure.ac
|
|
|
|
+++ b/configure.ac
|
|
|
|
@@ -13,11 +13,6 @@ AC_LANG([C++])
|
|
|
|
|
|
|
|
dnl the debug check has to be made before the program checks |
|
|
|
dnl because it modifies CXXFLAGS |
|
|
|
-if test x$CXX = xclang++; then
|
|
|
|
- CXXFLAGS="-msse2 $CXXFLAGS"
|
|
|
|
-else
|
|
|
|
- CXXFLAGS="-msse2 -mfpmath=sse $CXXFLAGS"
|
|
|
|
-fi
|
|
|
|
AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug],[enable sumo debugging code [default=no].])]) |
|
|
|
if test x$enable_debug = xyes; then |
|
|
|
AC_DEFINE(_DEBUG, 1, [Define to 1 in order to enable sumo debugging code.]) |
|
|
|
case "$host" in |
|
|
|
x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux*) |
|
|
|
dnl Make sure we are on architecture that supports SIMD |
|
|
|
- if test x$CXX = xclang++; then
|
|
|
|
- CXXFLAGS="-msse2 $CXXFLAGS"
|
|
|
|
- else
|
|
|
|
- CXXFLAGS="-msse2 -mfpmath=sse $CXXFLAGS"
|
|
|
|
- fi
|
|
|
|
;; |
|
|
|
*-cygwin*) |
|
|
|
AC_DEFINE([HAVE_CYGWIN], [1], [Define if compiling under cygwin]) |