In the file "configure" find the line: if test "$ac_cv_sizeof_mp_limb_t" = 0; then and insert before it the command: ac_cv_sizeof_mp_limb_t=`expr $ac_cv_sizeof_mp_limb_t : '\([0-9]*\)'` if test "$ac_cv_sizeof_mp_limb_t" = 0; then