From: foobar Date: Wed, 9 May 2001 15:38:29 +0000 (+0000) Subject: The PHP_EXTENSION() has to be before any other PHP_ARG_*()'s X-Git-Tag: php-4.0.6RC1~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d430e4141c4cfb4d4d2368b4ff6eafd0a182c96;p=php The PHP_EXTENSION() has to be before any other PHP_ARG_*()'s --- diff --git a/ext/sablot/config.m4 b/ext/sablot/config.m4 index 15b5d69953..9bf4324e1b 100644 --- a/ext/sablot/config.m4 +++ b/ext/sablot/config.m4 @@ -6,6 +6,8 @@ PHP_ARG_WITH(sablot, for Sablotron XSL support, if test "$PHP_SABLOT" != "no"; then + PHP_EXTENSION(sablot, $ext_shared) + PHP_ARG_WITH(expat-dir, libexpat dir for Sablotron 0.50, [ --with-expat-dir=DIR Sablotron: libexpat dir for Sablotron 0.50]) @@ -71,5 +73,4 @@ if test "$PHP_SABLOT" != "no"; then AC_DEFINE(HAVE_SABLOT,1,[ ]) - PHP_EXTENSION(sablot, $ext_shared) fi diff --git a/ext/xslt/config.m4 b/ext/xslt/config.m4 index a4e89e2432..f5cf260380 100644 --- a/ext/xslt/config.m4 +++ b/ext/xslt/config.m4 @@ -10,6 +10,8 @@ PHP_ARG_ENABLE(xslt, whether to enable xslt support, if test "$PHP_XSLT" != "no"; then + PHP_EXTENSION(xslt, $ext_shared) + PHP_ARG_WITH(xslt-sablot, whether to enable the sablotron backend, [ --with-xslt-sablot Enable the sablotron backend]) @@ -95,5 +97,4 @@ if test "$PHP_XSLT" != "no"; then fi AC_DEFINE(HAVE_XSLT, 1, [ ]) - PHP_EXTENSION(xslt, $ext_shared) fi