]> wimlib.net Git - wimlib/blobdiff - configure.ac
Simplify check for __NR_getrandom
[wimlib] / configure.ac
index 3028f88df1e360f16545c4a20fb87a3c691a0529..1d53735331136c9c612ea36b3cd7145e53839a1f 100644 (file)
@@ -94,13 +94,6 @@ AC_CHECK_MEMBER([struct stat.st_mtim],
                [],
                [#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                               #
 ###############################################################################