From 91547abf54d5e0795afda2781259ab8923eb527b Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 7 Mar 2021 20:43:16 +0100 Subject: More informative error message if GMP not found * configure.ac: Mention --enable-mini-gmp if GMP not found. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a3cdaff78..b33777104 100644 --- a/configure.ac +++ b/configure.ac @@ -657,7 +657,7 @@ if test "x$enable_mini_gmp" = xyes || test "x$enable_mini_gmp" = xy; then else AC_LIB_HAVE_LINKFLAGS([gmp],[],[#include ], [mpz_import (0,0,0,0,0,0,0);]) if test "x$HAVE_LIBGMP" != "xyes"; then - AC_MSG_ERROR([GNU MP 4.1 or greater not found]) + AC_MSG_ERROR([GNU MP 4.1 or greater not found; either install it, or pass '--enable-mini-gmp' to use included less-optimal arbitrary-precision integer support.]) fi if test "x$LIBGMP_PREFIX" != "x"; then CPPFLAGS="-I$LIBGMP_PREFIX $CPPFLAGS" -- cgit v1.2.1