Alexander Bokovoy wrote:

> > Figures. And even if it does get added to php-config, it's not going
> > to be retrofitted to pre-4.0.6, so it's too late for us.
>
> May be something like this will help:
> PHP_VERSION=`echo "#include \"php_version.h\"
> PHP_VERSION" | cpp -I$PHP_INCLUDE/main -P`
> 
> note line break after include.

I'll assume
$ PHP_INCLUDE=`php-config --includes`
before this. Well, this looks like it works, but you need to locate
cpp first. For me it's in /lib, I'm not counting on other platforms
doing the same. Is cpp required to be a separate executable, anyway?

> > Serves them friggin' right. Life's been no picnic trying to route
> > around 1001 distro incompatibilities :)
>
> You know, I'm one those vendors :-)))

Well then, better get around the table with the LSB guys :)

Emile


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to