bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] use libcrypto routines in gnulib


From: Paul Eggert
Subject: Re: [PATCH] use libcrypto routines in gnulib
Date: Mon, 02 Dec 2013 22:24:48 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

Pádraig Brady wrote:
> Seems the handiest way to do this is to do the following
> in configure.ac before gl_INIT:
> 
> dnl Enable use of libcrypto by default
> AC_ARG_WITH([openssl],
>   [AS_HELP_STRING([--with-openssl],
>     [use libcrypto hash routines if available: default=yes])],
>   [],
>   [with_openssl=yes])

Unfortunately with Emacs this causes "configure --help" to output
two disagreeing lines for --with-openssl; one incorrect
one, put out by the AC_ARG_WITH in m4/gl-openssl.m4,
and one correct one, put out by the above call.

Come to think of it, the GNU coding standards say that
--with-openssl should configure the system to use the
OpenSSL library (and fail if it's not available, presumably;
that's what gl_GC and gl_LIBSELINUX do), but the recently-added
code doesn't do that; it issues a warning and disables the
library instead.  Maybe we should be more consistent with
the rest of Gnulib here?



reply via email to

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