diff options
author | foobar <sniper@php.net> | 2001-05-08 22:18:00 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2001-05-08 22:18:00 +0000 |
commit | 3d856be7f6b02855b2623c5839a24934e66641d0 (patch) | |
tree | bdd95ea2c58f7248e3b04c6f0ac60f3563a890c0 | |
parent | 128df6ead78b5d51ef848a15f783ad00279ce372 (diff) | |
download | php-git-3d856be7f6b02855b2623c5839a24934e66641d0.tar.gz |
No need to show these if they are not used.
-rw-r--r-- | ext/sablot/config.m4 | 7 | ||||
-rw-r--r-- | ext/xslt/config.m4 | 11 |
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 |