bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The havelib module


From: Simon Josefsson
Subject: Re: The havelib module
Date: Sat, 07 Feb 2009 21:42:56 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux)

Sylvain Beucler <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]