diff options
author | Guillem Jover <guillem@hadrons.org> | 2015-11-16 01:12:24 +0100 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2015-11-30 23:02:23 +0100 |
commit | 58bef83f410e8ec9201ecab671c27f56dca98f02 (patch) | |
tree | 2fb6230a788a1d6f3a5ea3ae7850272cd16464de /configure.ac | |
parent | 6e074a2bdc8377a945533d54a0013f5c7f608809 (diff) |
test: Add unit test for arc4random()
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 97a606a..3b75267 100644 --- a/configure.ac +++ b/configure.ac @@ -38,6 +38,11 @@ if test "$user_CFLAGS" = unset && test "$GCC" = yes; then fi # Checks for libraries. +AC_CHECK_LIB([testu01], [unif01_CreateExternGenBits], + [TESTU01_LIBS="-ltestu01"]) +AC_SUBST([TESTU01_LIBS]) +AM_CONDITIONAL([HAVE_LIBTESTU01], + [test "x$ac_cv_lib_testu01_unif01_CreateExternGenBits" = "xyes"]) # Checks for header files. AC_CHECK_HEADERS([sys/ndir.h sys/dir.h ndir.h dirent.h]) |