From dfc226fed6d5634fe802f0357c5d1994286b0538 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 14 Apr 2017 19:01:04 +0200 Subject: [PATCH] Try linking _xgetbv() for obsolete mingw versions --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 027a075f..8a9ba3f9 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ]], [[ (void) _xgetbv(0) ]])], [AC_MSG_RESULT(yes) AC_DEFINE([HAVE__XGETBV], [1], [_xgetbv() is available])],