summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/dom/config.m43
-rw-r--r--ext/mbstring/config.m46
2 files changed, 3 insertions, 6 deletions
diff --git a/ext/dom/config.m4 b/ext/dom/config.m4
index 43cd721927..82c97e6bd3 100644
--- a/ext/dom/config.m4
+++ b/ext/dom/config.m4
@@ -4,7 +4,6 @@ dnl
PHP_ARG_ENABLE(dom, whether to enable DOM support,
[ --disable-dom Disable new DOM support.], yes)
-dom_shared=$ext_shared
if test -z "$PHP_LIBXML_DIR"; then
PHP_ARG_WITH(libxml-dir, libxml2 install dir,
@@ -25,7 +24,7 @@ if test "$PHP_DOM" != "no" && test "$PHP_LIBXML" != "no"; then
domimplementationsource.c entityreference.c \
notation.c xpath.c dom_iterators.c \
typeinfo.c domerror.c domlocator.c namednodemap.c userdatahandler.c],
- $dom_shared)
+ $ext_shared)
PHP_SUBST(DOM_SHARED_LIBADD)
], [
AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.])
diff --git a/ext/mbstring/config.m4 b/ext/mbstring/config.m4
index 9d3bc6b3d0..00507adc20 100644
--- a/ext/mbstring/config.m4
+++ b/ext/mbstring/config.m4
@@ -200,11 +200,10 @@ dnl Main config
dnl
PHP_ARG_ENABLE(mbstring, whether to enable multibyte string support,
-[ --enable-mbstring Enable multibyte string support])
-mbstring_shared=$ext_shared
+[ --enable-mbstring Enable multibyte string support.])
PHP_ARG_ENABLE([mbregex], [whether to enable multibyte regex support],
-[ --disable-mbregex MBSTRING: Disable multibyte regex support], yes, no)
+[ --disable-mbregex MBSTRING: Disable multibyte regex support.], yes, no)
PHP_ARG_WITH(libmbfl, [for external libmbfl],
[ --with-libmbfl[=DIR] MBSTRING: Use external libmbfl. DIR is the libmbfl install prefix.
@@ -221,6 +220,5 @@ if test "$PHP_MBSTRING" != "no"; then
dnl libmbfl is required
PHP_MBSTRING_SETUP_LIBMBFL
- ext_shared=$mbstring_shared
PHP_MBSTRING_EXTENSION
fi