ax_lib_crypto

Synopsis

AX_LIB_CRYPTO([yes|no|auto])

Description

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

If found, define HAVE_CRYPTO and macro CRYPTO_LIBS. Also defines CRYPTO_WITH_<algo> for the algorithms found available. Possible algorithms: AES BF CAMELLIA CAST DES IDEA RC2 RC5 MD2 MD4 MD5 SHA RIPEMD RSA DSA DH

The argument is used if no –with...-crypto 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_GCRYPT.

Source Code

Download the latest version of ax_lib_crypto.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.