From 00f9cd230709c04399ef5ff80492d70a55230694 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 15 Jul 2014 10:41:38 +1000 Subject: [PATCH] - (djm) [configure.ac] Delay checks for arc4random* until after libcrypto has been located; fixes builds agains libressl-portable --- ChangeLog | 4 ++++ configure.ac | 15 +++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 137270363..eaeb827bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20140715 + - (djm) [configure.ac] Delay checks for arc4random* until after libcrypto + has been located; fixes builds agains libressl-portable + 20140711 - OpenBSD CVS Sync - benno@cvs.openbsd.org 2014/07/09 14:15:56 diff --git a/configure.ac b/configure.ac index a73f8b3c1..866acc8a6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.577 2014/07/03 01:54:19 djm Exp $ +# $Id: configure.ac,v 1.578 2014/07/15 00:41:39 djm Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -15,7 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) -AC_REVISION($Revision: 1.577 $) +AC_REVISION($Revision: 1.578 $) AC_CONFIG_SRCDIR([ssh.c]) AC_LANG([C]) @@ -1575,10 +1575,6 @@ AC_CHECK_FUNCS([ \ Blowfish_expandstate \ Blowfish_expand0state \ Blowfish_stream2word \ - arc4random \ - arc4random_buf \ - arc4random_stir \ - arc4random_uniform \ asprintf \ b64_ntop \ __b64_ntop \ @@ -2640,6 +2636,13 @@ fi AC_SUBST([TEST_SSH_ECC]) AC_SUBST([COMMENT_OUT_ECC]) +AC_CHECK_FUNCS([ \ + arc4random \ + arc4random_buf \ + arc4random_stir \ + arc4random_uniform \ +]) + saved_LIBS="$LIBS" AC_CHECK_LIB([iaf], [ia_openinfo], [ LIBS="$LIBS -liaf"