File: configure.ac

package info (click to toggle)
r-cran-randomfields 3.3.14-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,916 kB
  • sloc: cpp: 52,159; ansic: 3,015; makefile: 2; sh: 1
file content (15 lines) | stat: -rw-r--r-- 425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
AC_INIT([RandomFields], 3.3.13)

if test "${CXX}" = gcc || test "${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=""
dnl  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