mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 20:00:19 +02:00
configure: Abort when GMP is not found.
* configure.ac: Fix erroneous `AC_LIB_HAVE_LINKFLAGS' invocation. Above when $HAVE_LIBGMP is not "yes".
This commit is contained in:
parent
9823fd399c
commit
db5034ab89
1 changed files with 6 additions and 3 deletions
|
@ -868,11 +868,14 @@ fi
|
||||||
|
|
||||||
|
|
||||||
dnl GMP tests
|
dnl GMP tests
|
||||||
AC_LIB_HAVE_LINKFLAGS(gmp,
|
AC_LIB_HAVE_LINKFLAGS([gmp],
|
||||||
[],
|
[],
|
||||||
[#include <gmp.h>],
|
[#include <gmp.h>],
|
||||||
[mpz_import (0, 0, 0, 0, 0, 0, 0);],
|
[mpz_import (0, 0, 0, 0, 0, 0, 0);])
|
||||||
AC_MSG_ERROR([GNU MP 4.1 or greater not found, see README]))
|
|
||||||
|
if test "x$HAVE_LIBGMP" != "xyes"; then
|
||||||
|
AC_MSG_ERROR([GNU MP 4.1 or greater not found, see README])
|
||||||
|
fi
|
||||||
|
|
||||||
dnl GNU libunistring is checked for by Gnulib's `libunistring' module.
|
dnl GNU libunistring is checked for by Gnulib's `libunistring' module.
|
||||||
if test "x$LTLIBUNISTRING" != "x"; then
|
if test "x$LTLIBUNISTRING" != "x"; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue