Branch: Tag:

2004-02-26

2004-02-26 17:43:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now uses PIKE_ENABLE_BUNDLE.

Rev: src/post_modules/Nettle/configure.in:1.13

1: - # $Id: configure.in,v 1.12 2004/02/06 16:07:29 grubba Exp $ + # $Id: configure.in,v 1.13 2004/02/26 17:43:47 grubba Exp $   AC_INIT(nettle.cmod)   AC_CONFIG_HEADER(nettle_config.h)   
15:   if test "x$ac_cv_lib_nettle_nettle_md5_init" = "xyes" -o \    "x$ac_cv_lib_nettle_md5_init" = "xyes"; then    PIKE_FEATURE_OK(Nettle) - else -  AC_MSG_WARN([The nettle library not found. - No crypto functions will be available.]) -  PIKE_FEATURE_NODEP(Nettle) - fi +       # md4 is available in later versions of nettle   AC_CHECK_FUNCS(nettle_md4_init)
32:   else    AC_MSG_RESULT([no])   fi + else +  if test "$ac_cv_lib_gmp_mpz_init:$ac_cv_lib_gmp___mpz_init:$ac_cv_lib_gmp___gmpz_init" = "no:no:no"; then +  PIKE_ENABLE_BUNDLE(gmp, [ +  ac_cv_lib_gmp_mpz_init +  ac_cv_lib_gmp___mpz_init +  ac_cv_lib_gmp___gmpz_init +  ]) +  fi +  PIKE_ENABLE_BUNDLE(nettle, [ +  ac_cv_lib_nettle_nettle_md5_init +  ac_cv_lib_nettle_md5_init +  ]) +  AC_MSG_WARN([The nettle library not found. + No crypto functions will be available.]) +  PIKE_FEATURE_NODEP(Nettle) + fi      AC_OUTPUT(Makefile,echo FOO >stamp-h )