md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 8 Dec 2013 07:43:23 +0000 (23:43 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 8 Dec 2013 07:43:48 +0000 (23:43 -0800)
commit43593319b31e6b0175b8eec4433bac744959822d
treeead3876eccd8b494455be3e7196934a950916410
parent3386f3988ce2ab14d65f59659d8f95bf4830ecb3
md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT

This provides a new way to specify the default for
gl_CRYPTO_CHECK, one that is reflected in the --help message.
Emacs uses this, as well as the old way.
This attempts to implement a suggestion by Pádraig Brady in
<http://lists.gnu.org/archive/html/coreutils/2013-12/msg00080.html>.
* m4/gl-openssl.m4(gl_SET_CRYPTO_CHECK_DEFAULT): New macro.
(gl_CRYPTO_CHECK): Use it.  Mention the default in --help output.
ChangeLog
m4/gl-openssl.m4