specifying prefix for libxml2

From: Date: Mon, 30 Jun 2003 10:29:34 +0000
Subject: specifying prefix for libxml2
Groups: php.internals 
Request: Send a blank email to internals+get-3028@lists.php.net to get a copy of this message
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:adam@indexdata.dk http://www.indexdata.dk Index Data T: +45 33410100 Mob.: 212 212 66

« previous php.internals (#3028) next »