]> granicus.if.org Git - php/commitdiff
- MFH: enable MPIR support and the good old 4.1.x gmp for VC6. solving the lgplv3...
authorPierre Joye <pajoye@php.net>
Mon, 25 May 2009 10:15:19 +0000 (10:15 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 25 May 2009 10:15:19 +0000 (10:15 +0000)
ext/gmp/config.w32

index 2aff16b77bb052944e8d612579969409d3a2fc4b..b413e3319f5cdbd66a358dc9b6886852f64b72e6 100644 (file)
@@ -4,7 +4,7 @@
 ARG_WITH("gmp", "Include GNU MP support.", "no");
 
 if (PHP_GMP != "no") {
-       if (CHECK_LIB("libgmp_a.lib", "gmp", PHP_GMP) &&
+       if (CHECK_LIB("mpir_a.lib;libgmp.lib", "gmp", PHP_GMP) &&
                CHECK_HEADER_ADD_INCLUDE("gmp.h", "CFLAGS_GMP", PHP_GMP)) {
                EXTENSION("gmp", "gmp.c");
                AC_DEFINE('HAVE_GMP', 1, 'GMP support');