coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] md5sum, sha*sum: use libcrypto where available


From: Pádraig Brady
Subject: Re: [PATCH] md5sum, sha*sum: use libcrypto where available
Date: Sun, 08 Dec 2013 05:01:37 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 12/04/2013 01:45 PM, Pádraig Brady wrote:
> On 12/04/2013 01:39 PM, Bernhard Voelker wrote:
>> On 12/04/2013 02:28 PM, Pádraig Brady wrote:
>>> Pushed.
>>>
>>> Snapshot for 8.22 coming real soon now.
>>> Yell if there is something you'd like included.
>>
>> I see the --with-openssl option twice in "./configure --help" output
>> which looks odd (I'm on v8.21-174-gb53b0fd):
>>
>>
>>   --with-openssl          The coreutils default is: --with-openssl=optional
>>   --with-openssl          use libcrypto hash routines. Valid ARGs are: 'yes',
>>                           'no', 'optional' => use if available
> 
> I've documented the reason for that at least in configure.ac:
> 
> dnl Enable use of libcrypto if available.
> dnl Note we could do this as follows:
> dnl   AS_VAR_SET_IF([with_openssl], [], [with_openssl=optional])
> dnl However that would not document the coreutils adjusted default,
> dnl so we add another --with-openssl description just to document that
> 
> It's the best I could come up with for now,
> and I don't think it's too bad?
> 
> To fix elegantly may need improvements to AC_ARG_WITH.

Actually Eric very recently documented how to adjust early defaults:
http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commit;h=befa5273

Paul had used that in another update to gnulib:
http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commit;h=3386f398
If that was further adjusted to document the default,
then we could adjust coreutils to using this mechanism.

It's debatable whether we need to do this before this release,
but documenting of the default can happen in gnulib anyway
as we'll adjust coreutils (the only current user) on the
next gnulib update.

thanks,
Pádraig.



reply via email to

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