summaryrefslogtreecommitdiff
path: root/ext/dom/config.m4
diff options
context:
space:
mode:
authorMark A. Hershberger <mah@debian.(none)>2009-03-25 00:34:37 -0400
committerMark A. Hershberger <mah@debian.(none)>2009-03-25 00:34:37 -0400
commit10f5b47dc7c1cf2b9a00991629f43652710322d3 (patch)
tree3b727a16f652b8042d573e90f003868ffb3b56c7 /ext/dom/config.m4
parent0e920280a2e04b110827bb766b9f29e3d581c4ee (diff)
downloadphp-10f5b47dc7c1cf2b9a00991629f43652710322d3.tar.gz
Imported Upstream version 5.0.5upstream/5.0.5
Diffstat (limited to 'ext/dom/config.m4')
-rw-r--r--ext/dom/config.m48
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/dom/config.m4 b/ext/dom/config.m4
index 81adf5596..3be333ef6 100644
--- a/ext/dom/config.m4
+++ b/ext/dom/config.m4
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.15 2003/12/07 15:37:30 sniper Exp $
+dnl $Id: config.m4,v 1.15.2.1 2005/04/27 13:13:37 sniper Exp $
dnl
PHP_ARG_ENABLE(dom, whether to enable DOM support,
@@ -10,7 +10,11 @@ if test -z "$PHP_LIBXML_DIR"; then
[ --with-libxml-dir[=DIR] DOM: libxml2 install prefix.], no, no)
fi
-if test "$PHP_DOM" != "no" && test "$PHP_LIBXML" != "no"; then
+if test "$PHP_DOM" != "no"; then
+
+ if test "$PHP_LIBXML" = "no"; then
+ AC_MSG_ERROR([DOM extension requires LIBXML extension, add --enable-libxml])
+ fi
PHP_SETUP_LIBXML(DOM_SHARED_LIBADD, [
AC_DEFINE(HAVE_DOM,1,[ ])