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

version» Context lines:

pike.git/src/post_modules/Nettle/configure.in:94:    AC_CHECK_FUNCS(nettle_salsa20_crypt nettle_sha224_init \    memxor3 nettle_memxor3)       # This is only present in very new Nettles.    AC_CHECK_FUNCS(nettle_ecc_bit_size)       AC_MSG_CHECKING([whether nettle_crypt_func is a pointer type])    AC_CACHE_VAL(pike_cv_nettle_crypt_func_is_pointer, [    pike_cv_nettle_crypt_func_is_pointer=no    AC_TRY_COMPILE([ - /* Note: Old Nettles had the nettle_crypt_func typedef directly -  * in <nettle/nettle-meta.h> while more modern have it in -  * <nettle/nettle-types.h>. Since <nettle/nettle-meta.h> -  * pulls in <nettle/nettle-types.h> it should be sufficient. -  */ +    #include <nettle/nettle-meta.h>    ], [    nettle_crypt_func foo = (nettle_crypt_func)(void *)0;    return (int)foo;    ], [    pike_cv_nettle_crypt_func_is_pointer=yes    ])    ])    AC_MSG_RESULT($pike_cv_nettle_crypt_func_is_pointer);    if test "x$pike_cv_nettle_crypt_func_is_pointer" = "xyes"; then