Re: cvs: php-src /ext/dom config.m4
| From: | Andi Gutmans | Date: | Wed, 25 Jun 2003 19:12:14 +0000 |
| Subject: | Re: cvs: php-src /ext/dom config.m4 | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-22017@lists.php.net to get a copy of this message | ||
So is DOM enabled by default? So what is new DOM support which is "no" during configure?
Andi
At 06:06 PM 6/25/2003 +0000, Sterling Hughes wrote:
sterling Wed Jun 25 14:06:06 2003 EDTModified files:/php-src/ext/dom config.m4Log: autodetect zlib if dom is enabled Index: php-src/ext/dom/config.m4 diff -u php-src/ext/dom/config.m4:1.5 php-src/ext/dom/config.m4:1.6--- php-src/ext/dom/config.m4:1.5 Wed Jun 25 11:31:59 2003+++ php-src/ext/dom/config.m4 Wed Jun 25 14:06:06 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.5 2003/06/25 15:31:59 sterling Exp $ +dnl $Id: config.m4,v 1.6 2003/06/25 18:06:06 sterling Exp $ dnl AC_DEFUN(PHP_DOM_CHECK_VERSION,[ @@ -29,7 +29,6 @@ fi if test "$PHP_DOM" != "no"; then - DOM_DIR_ADD="" if test -r $PHP_DOM/include/libxml2/libxml/tree.h; thenDOM_DIR=$PHP_DOM@@ -66,6 +65,16 @@ fi PHP_ADD_INCLUDE($DOM_DIR/include$DOM_DIR_ADD) + + dnl Search for the zlib directory + + if test "$PHP_ZLIB_DIR" = "no"; then+ for i in /usr /usr/local; do + if test -r $i/lib/libz.so; then + PHP_ZLIB_DIR=$i + fi + done+ fi if test "$PHP_ZLIB_DIR" = "no"; thenAC_MSG_ERROR(DOM requires ZLIB. Use --with-zlib-dir=<DIR>)-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php