Re: [PHP4BETA] help with configuration
| From: | Sascha Schumann | Date: | Thu, 27 May 1999 01:03:56 +0000 |
| Subject: | Re: [PHP4BETA] help with configuration | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1100@lists.php.net to get a copy of this message | ||
On Wed, May 26, 1999 at 06:58:48PM -0500, Andrey Zmievski wrote:
> I need some help from configuration wizards.
>
> In config.m4 for PCRE I have something like this:
>
> PCRE_LIB="-Lpcrelib"
>
> Problem is, this only works when it's compiling in ext/pcre, and it fails
> when tries to compile in top php4 dir. Is there a variable that holds the
> path to ext/pcre with respect to the current dir? So that if we're in
> ext/pcre $curdir or something will have "." and when in top php4 dir, it
> will be "ext/pcre". Or is it a pipe dream? Anyway, I thought I could do
> this by myself, but I guess I need some help.
Well, saying
EXTRA_LIBS="-Lext/pcre/pcrelib -lpcrelib $EXTRA_LIBS"
should be enough. Beside that, php_pcre.h includes "pcre.h", but this is not
in my default include path. You need a "-Ipcrelib" somewhere in config.m4.
--
Regards,
Sascha Schumann
Consultant
--
PHP 4 Beta