diff options
Diffstat (limited to 'configure.ac+lt')
-rw-r--r-- | configure.ac+lt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac+lt b/configure.ac+lt index 6432927f..dd0517ae 100644 --- a/configure.ac+lt +++ b/configure.ac+lt @@ -630,7 +630,7 @@ if test "$have_nanosleep" = "rt"; then LIBS="-lrt $LIBS" fi -# check for /dev/random (declares HAVE_DEV_RANDOM) +# check for /dev/random (declares ISC_PATH_RANDOMDEV) AC_MSG_CHECKING(for random device) AC_ARG_WITH(randomdev, AS_HELP_STRING([--with-randomdev=PATH],[Path for random device @@ -654,8 +654,8 @@ else else AC_MSG_RESULT($use_randomdev) AC_CHECK_FILE($use_randomdev, - AC_DEFINE([HAVE_DEV_RANDOM], [1], - [Define to 1 if you have the /dev/random or other configured file.]), + AC_DEFINE_UNQUOTED([ISC_PATH_RANDOMDEV], ["$use_randomdev"], + [Define if you have the /dev/random or other configured file.]), AC_MSG_ERROR(cannot find $use_randomdev)) fi BINDCONFIG="$BINDCONFIG --with-randomdev=$use_randomdev" |