Re: CLI Sapi automatic build

From: Date: Mon, 14 Jan 2002 11:14:18 +0000
Subject: Re: CLI Sapi automatic build
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.dev 
Request: Send a blank email to php-dev+get-76998@lists.php.net to get a copy of this message
> > This is bit dirty, but if you apply this patch it would enable any
extension
> > that has PHP_EXTENSION(ext_name, $ext_shared, cli) in their config.m4 to
be
> > linked only with the cli executable. The patch also modifies
> > ext/pcntl/config.m4 to make use of this.
>
> this was what i added PHP_CHECK_INTERACTIVE and PHP_CHECK_STANDALONE
> for in acinclude.m4
>
> using these is less sapi dependant which is a goot thing IMHO,
> as we might have other interactive sapis beside cli in the future
> (although i can't think of one yet ;)

What is wrong with adding a third parameter to PHP_EXTENSION? If you take a
look at the patch, you will see that I need to create a list of libraries
that is only built with cli. I don't know how to do that with the two macros
you added.

Edin



Thread (21 messages)

« previous php.dev (#76998) next »