pike.git / src / post_modules / Nettle / configure.in

version» Context lines:

pike.git/src/post_modules/Nettle/configure.in:64:    # sha3 and gosthash94 are available in Nettle 2.6 and later.    # chacha, poly1305 and eax are available in Nettle 3.0 and later.    AC_CHECK_HEADERS(nettle/camellia.h \    nettle/gcm.h \    nettle/ripemd160.h \    nettle/sha3.h nettle/gosthash94.h \    nettle/chacha.h nettle/chacha-poly1305.h \    nettle/poly1305.h nettle/eax.h \    nettle/dsa.h nettle/umac.h nettle/ecdsa.h \    ) +  # Check that the libraries match. +  # +  # Note that there can be false positives in the test above +  # when multiple versions of Nettle are installed concurrently. +  AC_CHECK_FUNCS(nettle_camellia128_crypt \ +  nettle_gcm_encrypt \ +  nettle_ripemd160_init \ +  nettle_sha3_256_init nettle_gosthash94_init \ +  nettle_chacha_crypt nettle_chacha_poly1305_encrypt \ +  nettle_poly1305_digest nettle_eax_encrypt \ +  nettle_dsa_sign nettle_umac128_digest nettle_ecdsa_sign \ +  )       AC_MSG_CHECKING([for idea.c])    # Have the patent-encumbered idea files been purged?    if test -f "$srcdir/idea.c" ; then    AC_MSG_RESULT([found])    AC_DEFINE([WITH_IDEA], 1, [idea.c available])    IDEA_OBJ=idea.o    else    AC_MSG_RESULT([no])    IDEA_OBJ=""