]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Checkpoint before regen
authorFrancis Dupont <fdupont@isc.org>
Wed, 5 Jan 2022 14:16:47 +0000 (15:16 +0100)
committerThomas Markwalder <tmark@isc.org>
Wed, 12 Jan 2022 13:53:55 +0000 (08:53 -0500)
configure.ac-base
includes/config.h.in

index a981afe09a2a868afeb56a43f0d4d663fd6be1ab..8a9cfd8fe57b1c2c573eadcb7e931f104b5510ac 100644 (file)
@@ -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"
index 1608f67190498ca9a6ce7ac53c913cb16a2cf0c0..d559a33841738cba2e23f523ad140c468a7adcb9 100644 (file)
@@ -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
 
 /* 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