cvs: php4 /ext/sablot config.m4 /ext/xslt config.m4
| From: | Jani Taskinen | Date: | Wed, 09 May 2001 15:38:27 +0000 |
| Subject: | cvs: php4 /ext/sablot config.m4 /ext/xslt config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5625@lists.php.net to get a copy of this message | ||
sniper Wed May 9 08:38:27 2001 EDT
Modified files:
/php4/ext/sablot config.m4
/php4/ext/xslt config.m4
Log:
The PHP_EXTENSION() has to be before any other PHP_ARG_*()'s
Index: php4/ext/sablot/config.m4
diff -u php4/ext/sablot/config.m4:1.16 php4/ext/sablot/config.m4:1.17
--- php4/ext/sablot/config.m4:1.16 Tue May 8 15:17:59 2001
+++ php4/ext/sablot/config.m4 Wed May 9 08:38:27 2001
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.16 2001/05/08 22:17:59 sniper Exp $
+dnl $Id: config.m4,v 1.17 2001/05/09 15:38:27 sniper Exp $
dnl config.m4 for extension Sablot
PHP_ARG_WITH(sablot, for Sablotron XSL support,
@@ -6,6 +6,8 @@
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 @@
AC_DEFINE(HAVE_SABLOT,1,[ ])
- PHP_EXTENSION(sablot, $ext_shared)
fi
Index: php4/ext/xslt/config.m4
diff -u php4/ext/xslt/config.m4:1.3 php4/ext/xslt/config.m4:1.4
--- php4/ext/xslt/config.m4:1.3 Tue May 8 15:17:59 2001
+++ php4/ext/xslt/config.m4 Wed May 9 08:38:27 2001
@@ -3,13 +3,15 @@
dnl | This is where the magic of the extension reallly is. Depending on what |
dnl | backend the user chooses, this script performs the magic |
dnl +------------------------------------------------------------------------------+
-dnl $Id: config.m4,v 1.3 2001/05/08 22:17:59 sniper Exp $
+dnl $Id: config.m4,v 1.4 2001/05/09 15:38:27 sniper Exp $
PHP_ARG_ENABLE(xslt, whether to enable xslt support,
[ --enable-xslt 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 @@
fi
AC_DEFINE(HAVE_XSLT, 1, [ ])
- PHP_EXTENSION(xslt, $ext_shared)
fi