17 lines
455 B
Plaintext
17 lines
455 B
Plaintext
dnl Copyright (c) 2018 The PIVX Core developers
|
|
dnl Distributed under the MIT software license, see the accompanying
|
|
dnl file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
dnl
|
|
AC_DEFUN([GMP_CHECK],[
|
|
if test x"$has_gmp" != x"yes"; then
|
|
AC_CHECK_HEADER(gmp.h,[
|
|
AC_CHECK_LIB(gmp, __gmpz_init,[
|
|
has_gmp=yes;
|
|
LIBS="$LIBS -lgmp";
|
|
AC_DEFINE(HAVE_LIBGMP, 1, [Define this symbol if libgmp is installed])
|
|
])
|
|
])
|
|
fi
|
|
])
|