[],
[#include <sys/stat.h>])
-# Check for possible support for the Linux getrandom() system call
-AC_CHECK_DECL([__NR_getrandom],
- [AC_DEFINE([HAVE_NR_GETRANDOM], [1], [Define to 1 if the system
- headers define a system call number for getrandom()])],
- [],
- [#include <sys/syscall.h>])
-
###############################################################################
# Required libraries #
###############################################################################
# ------------------------------ pthreads -------------------------------------
-AX_PTHREAD([], [AC_MSG_ERROR(["cannot find pthreads library"])])
-
-# ------------------------------ libxml2 --------------------------------------
-PKG_CHECK_MODULES([LIBXML2], [libxml-2.0])
-PKGCONFIG_PRIVATE_REQUIRES="$PKGCONFIG_PRIVATE_REQUIRES libxml-2.0"
+if test "$WINDOWS_NATIVE_BUILD" != "yes"; then
+ AX_PTHREAD([], [AC_MSG_ERROR(["cannot find pthreads library"])])
+fi
###############################################################################
# Configuration options #