Sylvain Beucler <b...@beuc.net> writes: > It looks like you're explicitely defining --with-openssl: > > http://libssh2.cvs.sourceforge.net/viewvc/libssh2/libssh2/configure.in?revision=1.63&view=markup > > 79 AC_ARG_WITH(openssl, > 80 AC_HELP_STRING([--with-openssl],[Use OpenSSL for crypto]), > 81 use_openssl=$withval,use_openssl=auto) > > 86 # Look for OpenSSL (default) > 87 if test "$use_openssl" != "no" && test "$use_libgcrypt" != "yes"; then > 88 AC_LIB_HAVE_LINKFLAGS([ssl], [crypto], [#include <openssl/ssl.h>]) > 89 fi > 90 > > Is this the recommended usage?
Oops! Indeed you are right. I do not know if it is recommended usage, but it seems to work. Perhaps the macros are generic, so they can be used for non-optional dependencies too where a --with-foo would be confusing. /Simon