Macros by Category Revision History
Search:

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

http://autoconf-archive.cryp.to/ax_lib_crypto.m4

LICENSE

Copyright © 2009 Fabien Coelho <autoconf.archive@coelho.net>

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.