As of latest PHP cvs and PHP 5.0.0beta1 one has to specify both
  --with-libxml-dir=/myprefix --with-simplexml=/myprefix
to enable libxml in user defined prefix. It would be nice
if --with-libxml-dir would suffice.

The problem can be solved by moving 

PHP_ARG_WITH(libxml-dir, libxml install dir,
[  --with-libxml-dir=DIR     XML: libxml install prefix], no, no)
from ext/xml/config.m4 to ext/simplexml/config.m4
and removal of the line:
  PHP_LIBXML_DIR=$PHP_SIMPLEXML
in ext/simplexml/config.m4. From the simplexml config help it seems it
wasn't meant for directory specifcaion either.

--with-libxml-dir could be moved to acinclude.m4 as well. It
is a "global" thing tied to the m4 macro PHP_SETUP_LIBXML.

-- Adam
 
Adam Dickmeiss  mailto:[EMAIL PROTECTED]  http://www.indexdata.dk
Index Data      T: +45 33410100           Mob.: 212 212 66

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to