]> granicus.if.org Git - php/commitdiff
No need to show these if they are not used.
authorfoobar <sniper@php.net>
Tue, 8 May 2001 22:18:00 +0000 (22:18 +0000)
committerfoobar <sniper@php.net>
Tue, 8 May 2001 22:18:00 +0000 (22:18 +0000)
ext/sablot/config.m4
ext/xslt/config.m4

index 1d13c282c8827d0720f774097499bd5ec65018f3..15b5d6995394c957fe04f27975180b89a813c60b 100644 (file)
@@ -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
index e398a1adbec1cc31e6a11837342d4f2cb692f528..a4e89e2432fea26512143f928835bcdda1dc4888 100644 (file)
@@ -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