From: Derick Rethans Date: Mon, 24 Jun 2002 07:55:32 +0000 (+0000) Subject: - MFH X-Git-Tag: php-4.2.3RC1~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6522b68e9699459591db0d0df4ae7b7541c48b7;p=php - MFH --- diff --git a/ext/gmp/config.m4 b/ext/gmp/config.m4 index 2d32dd741e..48e992d7cd 100644 --- a/ext/gmp/config.m4 +++ b/ext/gmp/config.m4 @@ -17,9 +17,9 @@ if test "$PHP_GMP" != "no"; then AC_MSG_ERROR(Unable to locate gmp.h) fi PHP_ADD_INCLUDE($GMP_DIR/include) - PHP_EXTENSION(gmp, $ext_shared) AC_DEFINE(HAVE_GMP, 1, [ ]) - PHP_ADD_LIBRARY_WITH_PATH(gmp, $GMP_DIR/lib) + PHP_SUBST(GMP_SHARED_LIBADD) + PHP_ADD_LIBRARY_WITH_PATH(gmp, $GMP_DIR/lib, GMP_SHARED_LIBADD) fi