Macros by Category Revision History
Search:

ax_lib_nettle

SYNOPSIS

AX_LIB_NETTLE([yes|no|auto])

DESCRIPTION

Searches for the 'nettle' library with the --with... option.

If found, define HAVE_NETTLE and macro NETTLE_LIBS. Also defines NETTLE_WITH_<algo> for the algorithms found available. Possible algorithms: AES ARCTWO BLOWFISH CAST128 DES DES3 SERPENT TWOFISH MD2 MD4 MD5 SHA1 SHA256.

The argument is used if no --with...-nettle 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, AX_LIB_CRYPTO, and AX_LIB_GCRYPT.

SOURCE CODE

http://autoconf-archive.cryp.to/ax_lib_nettle.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.