# [PATCH] fix typo in ext/xsl/config.m4

- Thread: https://externals.io/message/3002
- Original archive: https://news-web.php.net/php.internals/3002
- Started by Elfyn McBratney on 2003-06-30T04:26:06+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #3002 — Elfyn McBratney — 2003-06-30T04:26:06+00:00

URL: https://externals.io/message/3002#3002

There's a small typo in ext/xsl/config.m4 . T'is small, but I though I'd submit
a patch. :)

2003-06-30  Elfyn McBratney  <elfynmcb@yahoo.co.uk>

        * ext/xsl/config.m4: Fix 'test' conditional.

Index: config.m4
===================================================================
RCS file: /repository/php-src/ext/xsl/config.m4,v
retrieving revision 1.4
diff -u -u -p -r1.4 config.m4
--- config.m4   26 Jun 2003 18:51:52 -0000      1.4
+++ config.m4   30 Jun 2003 04:22:17 -0000
@@ -23,7 +23,7 @@ PHP_ARG_WITH(xsl, for XSL support,
 [  --with-xsl[=DIR]        Include new XSL support (requires libxslt >=
1.0.18).
                           DIR is the libxslt install directory.])

-if test "$PHP_XSL" != "no" -a "$PHP_DOM" == "no"; then
+if test "$PHP_XSL" != "no" -a "$PHP_DOM" = "no"; then
     AC_MSG_ERROR([XSL extension requires DOM extension, add --with-dom.])
 fi

Elfyn

---

## #3005 — Sterling Hughes — 2003-06-30T04:39:54+00:00

URL: https://externals.io/message/3002#3005 · In reply to: #3002

fixed in cvs - thanks.

-Sterling


> There's a small typo in ext/xsl/config.m4 . T'is small, but I though I'd submit
> a patch. :)
> 
> 2003-06-30  Elfyn McBratney  <elfynmcb@yahoo.co.uk>
> 
>         * ext/xsl/config.m4: Fix 'test' conditional.
> 
> Index: config.m4
> ===================================================================
> RCS file: /repository/php-src/ext/xsl/config.m4,v
> retrieving revision 1.4
> diff -u -u -p -r1.4 config.m4
> --- config.m4   26 Jun 2003 18:51:52 -0000      1.4
> +++ config.m4   30 Jun 2003 04:22:17 -0000
> @@ -23,7 +23,7 @@ PHP_ARG_WITH(xsl, for XSL support,
>  [  --with-xsl[=DIR]        Include new XSL support (requires libxslt >=
> 1.0.18).
>                            DIR is the libxslt install directory.])
> 
> -if test "$PHP_XSL" != "no" -a "$PHP_DOM" == "no"; then
> +if test "$PHP_XSL" != "no" -a "$PHP_DOM" = "no"; then
>      AC_MSG_ERROR([XSL extension requires DOM extension, add --with-dom.])
>  fi
> 
> Elfyn
> -- 
> 
> ______________________________________________________________________
> -- 
> 
> 
-- 
"A business that makes nothing but money is a poor kind of business." 
    - Henry Ford
