summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-07-15 10:41:38 +1000
committerDamien Miller <djm@mindrot.org>2014-07-15 10:41:38 +1000
commit00f9cd230709c04399ef5ff80492d70a55230694 (patch)
tree81076fb2fa93701bcf7f651bbd5953672a36a4b0
parent1d0df3249c87019556b83306c28d4769375c2edc (diff)
- (djm) [configure.ac] Delay checks for arc4random* until after libcrypto
has been located; fixes builds agains libressl-portable
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac15
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 @@
120140715
2 - (djm) [configure.ac] Delay checks for arc4random* until after libcrypto
3 has been located; fixes builds agains libressl-portable
4
120140711 520140711
2 - OpenBSD CVS Sync 6 - OpenBSD CVS Sync
3 - benno@cvs.openbsd.org 2014/07/09 14:15:56 7 - 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 @@
1# $Id: configure.ac,v 1.577 2014/07/03 01:54:19 djm Exp $ 1# $Id: configure.ac,v 1.578 2014/07/15 00:41:39 djm Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -15,7 +15,7 @@
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 16
17AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) 17AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org])
18AC_REVISION($Revision: 1.577 $) 18AC_REVISION($Revision: 1.578 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20AC_LANG([C]) 20AC_LANG([C])
21 21
@@ -1575,10 +1575,6 @@ AC_CHECK_FUNCS([ \
1575 Blowfish_expandstate \ 1575 Blowfish_expandstate \
1576 Blowfish_expand0state \ 1576 Blowfish_expand0state \
1577 Blowfish_stream2word \ 1577 Blowfish_stream2word \
1578 arc4random \
1579 arc4random_buf \
1580 arc4random_stir \
1581 arc4random_uniform \
1582 asprintf \ 1578 asprintf \
1583 b64_ntop \ 1579 b64_ntop \
1584 __b64_ntop \ 1580 __b64_ntop \
@@ -2640,6 +2636,13 @@ fi
2640AC_SUBST([TEST_SSH_ECC]) 2636AC_SUBST([TEST_SSH_ECC])
2641AC_SUBST([COMMENT_OUT_ECC]) 2637AC_SUBST([COMMENT_OUT_ECC])
2642 2638
2639AC_CHECK_FUNCS([ \
2640 arc4random \
2641 arc4random_buf \
2642 arc4random_stir \
2643 arc4random_uniform \
2644])
2645
2643saved_LIBS="$LIBS" 2646saved_LIBS="$LIBS"
2644AC_CHECK_LIB([iaf], [ia_openinfo], [ 2647AC_CHECK_LIB([iaf], [ia_openinfo], [
2645 LIBS="$LIBS -liaf" 2648 LIBS="$LIBS -liaf"