AS_IF([test "x$enable_hpcombi" = xyes],
[AS_IF([test -f $srcdir/libsemigroups/extern/HPCombi/VERSION],
[],
[AC_MSG_WARN([HPCombi is not available])
[enable_hpcombi=no]])])
AS_IF([test "x$enable_hpcombi" = xyes],
[AC_MSG_CHECKING([the required version of HPCombi])
MIN_HPCOMBI_VERSION="0.0.6"
AC_MSG_RESULT([$MIN_HPCOMBI_VERSION])])
AS_IF([test "x$enable_hpcombi" = xyes],
[AC_MSG_CHECKING([the version of HPCombi that's present])
FOUND_HPCOMBI="$(cat $srcdir/libsemigroups/extern/HPCombi/VERSION)"
AC_MSG_RESULT([$FOUND_HPCOMBI])])
AS_IF([test "x$enable_hpcombi" = xyes],
[AX_COMPARE_VERSION($FOUND_HPCOMBI,
[ge],
$MIN_HPCOMBI_VERSION,
[],
[AC_MSG_WARN([the incorrect version of HPCombi is present, HPCombi is disabled])
enable_hpcombi=no])])
dnl # Check if the flags required for HPCombi are supported
AS_IF([test "x$enable_hpcombi" = xyes],
[AX_CHECK_COMPILE_FLAG(-mavx,
AX_APPEND_FLAG(-mavx, [ax_hpcombi_cxxflags_variable]),
[AC_MSG_WARN([flag -mavx not supported, HPCombi is disabled])
enable_hpcombi=no])])
AS_IF([test "x$enable_hpcombi" = xyes],
[AX_CHECK_COMPILE_FLAG(-flax-vector-conversions,
AX_APPEND_FLAG(-flax-vector-conversions, [ax_hpcombi_cxxflags_variable]),
[AC_MSG_WARN([flag -flax-vector-conversions not supported, HPCombi is disabled])
enable_hpcombi=no])])
dnl # Check if the x86intrin.h header is available
AS_IF([test "x$enable_hpcombi" = xyes],
[AC_CHECK_HEADERS([x86intrin.h], [], [AC_MSG_WARN([header x86intrin.h is required for HPCombi, HPCombi is disabled])
enable_hpcombi=no])])
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.