From d57004274b79e71367d80d6e7e29e635a848bbc9 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 7 Dec 2003 15:26:09 +0000 Subject: [PATCH] Revert, not needed here --- ext/gd/config.m4 | 3 +-- ext/mysql/config.m4 | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index 15cb49566d..aacb084e13 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -9,7 +9,6 @@ dnl PHP_ARG_WITH(gd, for GD support, [ --with-gd[=DIR] Include GD support where DIR is GD install prefix. If DIR is not set, the bundled GD library will be used.]) -gd_shared=$ext_shared if test -z "$PHP_JPEG_DIR"; then PHP_ARG_WITH(jpeg-dir, for the location of libjpeg, @@ -400,7 +399,7 @@ dnl dnl Common for both builtin and external GD dnl if test "$PHP_GD" != "no"; then - PHP_NEW_EXTENSION(gd, gd.c gdttf.c $extra_sources, $gd_shared,, \\$(GDLIB_CFLAGS)) + PHP_NEW_EXTENSION(gd, gd.c gdttf.c $extra_sources, $ext_shared,, \\$(GDLIB_CFLAGS)) if test "$GD_MODULE_TYPE" = "builtin"; then GDLIB_CFLAGS="-I$ext_srcdir/libgd $GDLIB_CFLAGS" diff --git a/ext/mysql/config.m4 b/ext/mysql/config.m4 index ea06713496..aad9ca1545 100644 --- a/ext/mysql/config.m4 +++ b/ext/mysql/config.m4 @@ -117,7 +117,7 @@ Note that the MySQL client library is not bundled anymore.]) PHP_ADD_LIBRARY_WITH_PATH(mysqlclient, $MYSQL_LIB_DIR, MYSQL_SHARED_LIBADD) PHP_ADD_INCLUDE($MYSQL_INC_DIR) - PHP_NEW_EXTENSION(mysql, php_mysql.c, $ext_shared) + PHP_NEW_EXTENSION(mysql, php_mysql.c, $mysql_shared) MYSQL_MODULE_TYPE=external MYSQL_LIBS="-L$MYSQL_LIB_DIR -lmysqlclient $MYSQL_LIBS" -- 2.40.0