Re: Extension help

From: Date: Wed, 15 Nov 2000 15:57:57 +0000
Subject: Re: Extension help
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-38147@lists.php.net to get a copy of this message
Hi, On 15 Nov 2000, Jan Borsodi wrote: > > Hi, > > I'm currently developing a PHP extension using the XML DOM parser in > the Qt library (http://www.trolltech.com), I've got it up and working > but got some problems with automake/configure which I have to do > manually. (It is not in CVS yet) > > The first problem is that the CXX variable in the config_vars.mk file > in the root is not set, since the extensions uses the C++ compiler > this needs to be set, how do I/configure do that? Call the m4 macro PHP_REQUIRE_CXX in your config.m4 then. That will check for a C++ compiler and set the appropiate variables. > or is it possible to do two conversion on a variable? Something like: It is not possible to do in a portable way. Please add your object file names to LTLIBRARY_OBJECTS_X (that is its only use). > The last thing is that I need to do some checking for the Qt library, > specifically I have to check for the existence of XML in the library. > I know a lot of KDE programs has a working autoconf checker for > this, how do I include this in the extension? If you can make sure that no license conflicts emerge, then you can do it this way: Extract the respective m4 macros from their acinclude.m4 (or whereever it is stored) and add them to your extension's config.m4. - Sascha

« previous php.dev (#38147) next »