Next: , Previous: , Up: The Macros  


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

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

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. This file is offered as-is, without any warranty.