diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-03-12 15:25:29 +0100 |
---|---|---|
committer | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2022-03-19 00:53:18 +0100 |
commit | 70d0d0889b0c72bcdeb0658335094f61105f8b02 (patch) | |
tree | 52d274badef53895286fbcf9da57101667262a6f /m4/ax_random_device.m4 | |
parent | 87db567e1f094cbc9118f7c8d215df157b1601b5 (diff) | |
download | qpdf-70d0d0889b0c72bcdeb0658335094f61105f8b02.tar.zst |
Remove old build files
Diffstat (limited to 'm4/ax_random_device.m4')
-rw-r--r-- | m4/ax_random_device.m4 | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/m4/ax_random_device.m4 b/m4/ax_random_device.m4 deleted file mode 100644 index aa8bf4c9..00000000 --- a/m4/ax_random_device.m4 +++ /dev/null @@ -1,31 +0,0 @@ -dnl @synopsis AX_RANDOM_DEVICE -dnl -dnl This macro will check for a random device, allowing the user to explicitly -dnl set the path. The user uses '--with-random=FILE' as an argument to -dnl configure. -dnl -dnl If A random device is found then HAVE_RANDOM_DEVICE is set to 1 and -dnl RANDOM_DEVICE contains the path. -dnl -dnl @category Miscellaneous -dnl @author Martin Ebourne -dnl @version 2005/07/01 -dnl @license AllPermissive - -AC_DEFUN([AX_RANDOM_DEVICE], [ - AC_ARG_WITH([random], - [AC_HELP_STRING([--with-random=FILE], [Use FILE as random number seed [auto-detected]])], - [RANDOM_DEVICE="$withval"], - [AC_CHECK_FILE("/dev/urandom", [RANDOM_DEVICE="/dev/urandom";], - [AC_CHECK_FILE("/dev/arandom", [RANDOM_DEVICE="/dev/arandom";], - [AC_CHECK_FILE("/dev/random", [RANDOM_DEVICE="/dev/random";])] - )]) - ]) - if test "x$RANDOM_DEVICE" != "x" ; then - AC_DEFINE([HAVE_RANDOM_DEVICE], 1, - [Define to 1 (and set RANDOM_DEVICE) if a random device is available]) - AC_SUBST([RANDOM_DEVICE]) - AC_DEFINE_UNQUOTED([RANDOM_DEVICE], ["$RANDOM_DEVICE"], - [Define to the filename of the random device (and set HAVE_RANDOM_DEVICE)]) - fi -])dnl |