mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 16:49:06 +08:00
f2ec6c5a7c
* [mpc] add mpc port * [mpfr] update mpfr to use make. * [gmp] fix preprocessor define for dlls. * more fixes * fix mpfr regression on !windows * install autoconf-archive in provisioning script * change indent of patches Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * fix merge error * update PR * update baseline Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
16 lines
676 B
Diff
16 lines
676 B
Diff
diff --git a/configure.ac b/configure.ac
|
|
index ea92c1f97..9621a70e5 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -693,8 +693,9 @@ See 'config.log' for details (search for GMP_NUMB_BITS).])],
|
|
|
|
dnl Check if we can link with GMP
|
|
AC_CHECK_LIB(gmp, __gmpz_init, [LIBS="-lgmp $LIBS"],
|
|
+ [AC_CHECK_LIB(gmpd, __gmpz_init, [LIBS="-lgmpd $LIBS"],
|
|
[AC_MSG_ERROR([libgmp not found or uses a different ABI (including static vs shared).
|
|
-Please read the INSTALL file -- see "In case of problem".])])
|
|
+Please read the INSTALL file -- see "In case of problem".])])])
|
|
|
|
dnl Check for corresponding 'gmp.h' and libgmp
|
|
AC_MSG_CHECKING(if gmp.h version and libgmp version are the same)
|