This month's Index
Subject: Re: configure.ac crypto library checks [was: 1.8.0]
Re: configure.ac crypto library checks [was: 1.8.0]
From: Peter Stuge <peter_at_stuge.se>
Date: Thu, 27 Oct 2016 00:35:42 +0000
I'm back on axTLS after hunting bugs in other software for some time.
While reworking configure.ac I found an issue..
Daniel Stenberg wrote:
Maybe it's related, but I don't think so..
Both --with-openssl and --with-libssl-prefix are fine, configure.ac
* Neither --without-x nor --with-x=no makes configure skip the check
* --with-x=/path is prefered over --with-x-prefix=/path
The former is "accepted" by libssh2-specific code in acinclude.m4:
if test -n "$use_libgcrypt" && test "$use_libgcrypt" != "no"; then
And this code comes before AC_LIB_HAVE_LINKFLAGS(), which is what
The AC_LIB_HAVE_LINKFLAGS() call is furthermore unconditional, which
if test "$use_libgcrypt" != "no"; then
But it should be similar to what happens for OpenSSL and I'd also