Revision fd4911aa390fd49ddab92bd139bbbf35422e32e5 authored by Martin Schlather on 06 February 2020, 05:20:37 UTC, committed by cran-robot on 06 February 2020, 05:20:37 UTC
1 parent e10243f
Raw File
configure.ac
AC_INIT([RandomFields], 3.3.4)

if test "${CXX}" = gcc || "${CXX}" = clang; then
dnl  RANDOMFIELD_CXXFLAGS="-mavx"
  RANDOMFIELDS_CXXFLAGS=""
dnl  AC_MSG_RESULT([${OBJC} found, so that the package is compiled with 'avx'])
else  
  RANDOMFIELDS_CXXFLAGS=""
  AC_MSG_RESULT([Neither 'gcc' nor 'clang' found, so that AVX will not be used])
fi


AC_SUBST(RANDOMFIELDS_CXXFLAGS)
AC_CONFIG_FILES([src/Makevars])
AC_OUTPUT
back to top