diff options
author | Francis Dupont <fdupont@isc.org> | 2022-01-05 15:16:47 +0100 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2022-01-12 08:53:55 -0500 |
commit | 1cb76d2d23fe8dafaf937a4b3c1cf9cf814a83c6 (patch) | |
tree | cda9c6cc8e537744ad80cd01f89516562a7469f4 | |
parent | 2e914d00dd9db8d7c4d0a3dd42d8ce68bb030d3b (diff) | |
download | isc-dhcp-1cb76d2d23fe8dafaf937a4b3c1cf9cf814a83c6.tar.gz |
Checkpoint before regen
-rw-r--r-- | configure.ac-base | 6 | ||||
-rw-r--r-- | includes/config.h.in | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac-base b/configure.ac-base index a981afe0..8a9cfd8f 100644 --- a/configure.ac-base +++ b/configure.ac-base @@ -635,7 +635,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 @@ -659,8 +659,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" diff --git a/includes/config.h.in b/includes/config.h.in index 1608f671..d559a338 100644 --- a/includes/config.h.in +++ b/includes/config.h.in @@ -46,9 +46,6 @@ /* Define to 1 to use the Berkeley Packet Filter interface code. */ #undef HAVE_BPF -/* Define to 1 if you have the /dev/random or other configured file. */ -#undef HAVE_DEV_RANDOM - /* Define to 1 to use DLPI interface code. */ #undef HAVE_DLPI @@ -121,6 +118,9 @@ /* Define to the string for a noreturn attribute. */ #undef ISC_DHCP_NORETURN +/* Define if you have the /dev/random or other configured file. */ +#undef ISC_PATH_RANDOMDEV + /* Define to 1 if the system has 'struct if_laddrconf'. */ #undef ISC_PLATFORM_HAVEIF_LADDRCONF |