mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
Try linking _xgetbv() for obsolete mingw versions
This commit is contained in:
parent
4809639ae1
commit
dfc226fed6
@ -460,7 +460,7 @@ AC_SUBST(CFLAGS_PCLMUL)
|
||||
AC_CHECK_HEADERS([sys/mman.h intrin.h])
|
||||
|
||||
AC_MSG_CHECKING([if _xgetbv() is available])
|
||||
AC_COMPILE_IFELSE(
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM([[ #include <intrin.h> ]], [[ (void) _xgetbv(0) ]])],
|
||||
[AC_MSG_RESULT(yes)
|
||||
AC_DEFINE([HAVE__XGETBV], [1], [_xgetbv() is available])],
|
||||
|
Loading…
Reference in New Issue
Block a user