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

version» Context lines:

pike.git/src/post_modules/Nettle/configure.in:95:    # These may have been purged from the Nettle lib to avoid GPL    # contamination.    AC_CHECK_FUNCS(nettle_blowfish_decrypt nettle_serpent_decrypt)       # This is the recomended interface in Nettle 2.0.    AC_CHECK_FUNCS(nettle_yarrow256_slow_reseed)       # These weren't present in old Nettles.    AC_CHECK_FUNCS(nettle_salsa20_crypt nettle_sha224_init)    -  AC_MSG_CHECKING([for struct yarrow256_ctx.seed_file]) -  AC_CACHE_VAL(pike_cv_nettle_struct_yarrow256_ctx_seed_file, [ -  pike_cv_nettle_struct_yarrow256_ctx_seed_file=no -  AC_TRY_COMPILE([ - #include <nettle/yarrow.h> -  ], [ -  struct yarrow256_ctx ctx; -  return !sizeof(ctx.seed_file); -  ], [ -  pike_cv_nettle_struct_yarrow256_ctx_seed_file=yes -  ]) -  ]) -  AC_MSG_RESULT($pike_cv_nettle_struct_yarrow256_ctx_seed_file); -  if test "x$pike_cv_nettle_struct_yarrow256_ctx_seed_file" = "xyes"; then -  AC_DEFINE(HAVE_STRUCT_YARROW256_CTX_SEED_FILE) -  fi -  +     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>