Commit 916aa643 authored by Niels Möller's avatar Niels Möller

Check for mpz_powm_sec.

Rev: nettle/ChangeLog:1.48
Rev: nettle/configure.ac:1.13
parent fc0ca95a
2010-01-20 Niels Mller <nisse@lysator.liu.se>
* configure.ac: Check for mpz_powm_sec.
2010-01-13 Niels Mller <nisse@lysator.liu.se>
* Makefile.in ($(LIBHOGWEED_FORLINK)): Depend on
......
......@@ -402,6 +402,12 @@ AC_CHECK_LIB(gmp, __gmpz_getlimbn,,
Support for public key algorithms will be unavailable.])]
enable_public_key=no)
# Add -R flags needed to run programs linked with gmp
LSH_RPATH_FIX
AH_TEMPLATE([HAVE_MPZ_POWM_SEC], [Define if mpz_powm_sec is available (appeared in GMP-5)])
AC_CHECK_FUNC(__gmpz_powm_sec, [AC_DEFINE(HAVE_MPZ_POWM_SEC)])
AH_TEMPLATE([WITH_HOGWEED], [Defined if public key features are enabled])
if test "x$enable_public_key" = xyes ; then
......@@ -420,9 +426,6 @@ fi
AC_SUBST(IF_HOGWEED)
AC_SUBST(IF_SHARED)
# Add -R flags needed to run programs linked with gmp
LSH_RPATH_FIX
OPENSSL_LIBFLAGS=''
# Check for openssl's libcrypto (used only for benchmarking)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment