summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/sablot/config.m47
-rw-r--r--ext/xslt/config.m411
2 files changed, 10 insertions, 8 deletions
diff --git a/ext/sablot/config.m4 b/ext/sablot/config.m4
index 1d13c282c8..15b5d69953 100644
--- a/ext/sablot/config.m4
+++ b/ext/sablot/config.m4
@@ -1,13 +1,14 @@
dnl $Id$
dnl config.m4 for extension Sablot
-PHP_ARG_WITH(expat-dir, for Sablotron XSL support,
-[ --with-expat-dir=DIR Sablotron: libexpat dir for Sablotron 0.50])
-
PHP_ARG_WITH(sablot, for Sablotron XSL support,
[ --with-sablot[=DIR] Include Sablotron support])
if test "$PHP_SABLOT" != "no"; then
+
+ PHP_ARG_WITH(expat-dir, libexpat dir for Sablotron 0.50,
+ [ --with-expat-dir=DIR Sablotron: libexpat dir for Sablotron 0.50])
+
if test -r $PHP_SABLOT/include/sablot.h; then
SABLOT_DIR=$PHP_SABLOT
else
diff --git a/ext/xslt/config.m4 b/ext/xslt/config.m4
index e398a1adbe..a4e89e2432 100644
--- a/ext/xslt/config.m4
+++ b/ext/xslt/config.m4
@@ -8,13 +8,14 @@ dnl $Id$
PHP_ARG_ENABLE(xslt, whether to enable xslt support,
[ --enable-xslt Enable xslt support])
-PHP_ARG_WITH(xslt-sablot, whether to enable the sablotron backend,
-[ --with-xslt-sablot Enable the sablotron backend])
+if test "$PHP_XSLT" != "no"; then
-PHP_ARG_WITH(expat-dir, for Sablotron XSL support,
-[ --with-expat-dir=DIR Sablotron: libexpat dir for Sablotron 0.50])
+ PHP_ARG_WITH(xslt-sablot, whether to enable the sablotron backend,
+ [ --with-xslt-sablot Enable the sablotron backend])
+
+ PHP_ARG_WITH(expat-dir, libexpat dir for Sablotron XSL support,
+ [ --with-expat-dir=DIR Sablotron: libexpat dir for Sablotron 0.50])
-if test "$PHP_XSLT" != "no"; then
if test "$PHP_XSLT_SABLOT" != "no"; then
XSLT_CHECK_DIR=$PHP_XSLT_SABLOT
XSLT_TEST_FILE=/include/sablot.h