summaryrefslogtreecommitdiff
path: root/usr.sbin/bind/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bind/configure.in')
-rw-r--r--usr.sbin/bind/configure.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/bind/configure.in b/usr.sbin/bind/configure.in
index e259a153aa3..b54ba18f6a5 100644
--- a/usr.sbin/bind/configure.in
+++ b/usr.sbin/bind/configure.in
@@ -13,7 +13,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-AC_REVISION($Revision: 1.1 $)
+AC_REVISION($Revision: 1.2 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.13)
@@ -479,6 +479,11 @@ case "$use_randomdev" in
esac
#
+# Do we have arc4random() ?
+#
+AC_CHECK_FUNC(arc4random, AC_DEFINE(HAVE_ARC4RANDOM))
+
+#
# Begin pthreads checking.
#
# First, decide whether to use multithreading or not.