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

version» Context lines:

pike.git/src/post_modules/Nettle/configure.in:56:    AC_SUBST(IDEA_OBJ)       if test "x$ac_cv_lib_nettle_nettle_ctr_crypt" = "xyes"; then    PIKE_FEATURE_OK(Nettle)       # camellia is available in Nettle 2.1 and later.    # gcm is available in Nettle 2.2 and later.    # ripemd160 is available in Nettle 2.3 and later.    # sha3 and gosthash94 are available in Nettle 2.6 and later.    # chacha, poly1305 and eax are available in Nettle 3.0 and later. -  # version.h was added in Nettle 3.1.1. +  # version.h was added in Nettle 3.1.1, but nettle_version_{major,minor}() +  # are first available in Nettle 3.2 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 \    nettle/version.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 \ -  +  nettle_version_major \    )       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])