Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3028 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94410 invoked from network); 30 Jun 2003 10:29:35 -0000 Received: from unknown (HELO gamma) (213.150.43.10) by pb1.pair.com with SMTP; 30 Jun 2003 10:29:35 -0000 Received: from adam by gamma with local (Exim 3.35 #1 (Debian)) id 19Wvug-0007hh-00 for ; Mon, 30 Jun 2003 12:29:34 +0200 Date: Mon, 30 Jun 2003 12:29:34 +0200 To: internals@lists.php.net Message-ID: <20030630102934.GA17667@indexdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Subject: specifying prefix for libxml2 From: adam@indexdata.dk (Adam Dickmeiss) 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