Date: 11/15/00
- Next message: giancarlo.favaretti <email protected>: "[PHP-DEV] PHP 4.0 Bug #7831: first session creation generate unwanted carachters INTO javascript source code"
- Previous message: Jan Borsodi: "[PHP-DEV] Extension help"
- In reply to: Jan Borsodi: "[PHP-DEV] Extension help"
- Next in thread: Jan Borsodi: "Re: [PHP-DEV] Extension help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: giancarlo.favaretti <email protected>: "[PHP-DEV] PHP 4.0 Bug #7831: first session creation generate unwanted carachters INTO javascript source code"
- Previous message: Jan Borsodi: "[PHP-DEV] Extension help"
- In reply to: Jan Borsodi: "[PHP-DEV] Extension help"
- Next in thread: Jan Borsodi: "Re: [PHP-DEV] Extension help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

