Branch: Tag:

2004-02-06

2004-02-06 16:07:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Some minor cleanups.

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

1: - # $Id: configure.in,v 1.11 2004/02/06 16:01:16 nisse Exp $ + # $Id: configure.in,v 1.12 2004/02/06 16:07:29 grubba Exp $   AC_INIT(nettle.cmod)   AC_CONFIG_HEADER(nettle_config.h)   
6:      AC_MODULE_INIT()    - AC_CHECK_LIB(nettle, nettle_md5_init,,, -lgmp) + AC_CHECK_LIB(gmp, mpz_init) + AC_CHECK_LIB(gmp, __mpz_init) + AC_CHECK_LIB(gmp, __gmpz_init) + AC_CHECK_LIB(nettle, nettle_md5_init) + AC_CHECK_LIB(nettle, md5_init)    - if test x$ac_cv_lib_nettle_nettle_md5_init = xno ; then -  AC_CHECK_LIB(nettle, md5_init,,, -lgmp) - fi -  - if test x$ac_cv_lib_nettle_nettle_md5_init = xyes ; then + 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) - elif 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.])
23:   fi      # md4 is available in later versions of nettle - AC_HAVE_FUNCS(nettle_md4_init) + AC_CHECK_FUNCS(nettle_md4_init)      AC_MSG_CHECKING([for idea.c])   # Have the patent-encumbered idea files been purged?