From: Kurt Zeilenga Date: Fri, 10 Feb 2006 15:13:23 +0000 (+0000) Subject: Fix typo in prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~205 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6fd59da58fd5e09c5925e6d88542ad5e83771f52;p=openldap Fix typo in prev commit --- diff --git a/configure b/configure index 38866249ee..4afa84705b 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.625 2006/02/06 03:51:55 hyc Exp . +# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.626 2006/02/10 07:21:09 kurt Exp . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59. # @@ -42614,7 +42614,7 @@ fi if test $ac_cv_header_gmp_h = yes && test $ac_cv_lib_gmp = yes ; then cat >>confdefs.h <<\_ACEOF -#define USE_MP_LONG_LONG 1 +#define USE_MP_GMP 1 _ACEOF ol_with_mp=gmp diff --git a/configure.in b/configure.in index 194cd673fd..ec829d5548 100644 --- a/configure.in +++ b/configure.in @@ -2456,7 +2456,7 @@ if test $ol_with_mp = gmp || test $ol_with_mp = auto ; then AC_CHECK_HEADERS(gmp.h) AC_CHECK_LIB(gmp, __gmpz_add_ui) if test $ac_cv_header_gmp_h = yes && test $ac_cv_lib_gmp = yes ; then - AC_DEFINE(USE_MP_LONG_LONG,1,[define to use GMP for MP]) + AC_DEFINE(USE_MP_GMP,1,[define to use GMP for MP]) ol_with_mp=gmp elif test $ol_with_mp = gmp ; then AC_MSG_ERROR([gmp not available]) diff --git a/include/portable.hin b/include/portable.hin index abbf3f793b..91af3f790f 100644 --- a/include/portable.hin +++ b/include/portable.hin @@ -1062,10 +1062,13 @@ /* define to use OpenSSL BIGNUM for MP */ #undef USE_MP_BIGNUM +/* define to use GMP for MP */ +#undef USE_MP_GMP + /* define to use 'long' for MP */ #undef USE_MP_LONG -/* define to use GMP for MP */ +/* define to use 'long long' for MP */ #undef USE_MP_LONG_LONG /* Define to 1 if your processor stores words with the most significant byte