From 3d856be7f6b02855b2623c5839a24934e66641d0 Mon Sep 17 00:00:00 2001 From: foobar Date: Tue, 8 May 2001 22:18:00 +0000 Subject: [PATCH] No need to show these if they are not used. --- ext/sablot/config.m4 | 7 ++++--- 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 -- 2.50.1