ax_lib_gcrypt

Synopsis

AX_LIB_GCRYPT([yes|no|auto])

Description

Searches for the ’gcrypt’ library with the –with... option.

If found, define HAVE_GCRYPT and macro GCRYPT_LIBS and GCRYPT_CFLAGS. Also defines GCRYPT_WITH_<algo> for the algorithms found available. Possible algorithms are: AES ARCFOUR BLOWFISH CAST5 DES IDEA RFC2268 SERPENT TWOFISH CRC HAVAL MD2 MD4 MD5 RMD160 SHA0 SHA1 SHA224 SHA256 SHA384 SHA512 TIGER WHIRLPOOL DSA ELGAMAL RSA

The argument is used if no –with...-gcrypt option is set. Value "yes" requires the configuration by default. Value "no" does not require it by default. Value "auto" configures the library only if available.

See also AX_LIB_BEECRYPT and AX_LIB_CRYPTO.

Source Code

Download the latest version of ax_lib_gcrypt.m4 or browse the macro’s revision history.

License

Copyright © 2009 Fabien Coelho 

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.