Re: how to disable extension in cli
| From: | (Marcus Börger) | Date: | Mon, 07 Apr 2003 23:25:41 +0000 |
| Subject: | Re: how to disable extension in cli | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-779@lists.php.net to get a copy of this message | ||
At 07:29 03.04.2003, Wojtek Meler wrote:
On Wed, Apr 02, 2003 at 02:16:56PM +0200, Wojtek Meler wrote: Is there a way to tell PHP to not include some sources in CLI build? PHP_NEW_EXTENSION( mymodule , mymodule.c , nocli) doesn't work as I expected - it doesn't include extension in main/internal_functions_cli.c but it link mymodule.o to sapi/cli/php. attached patch helps :) Would you be so kind and put it into CVS?From simply looking at it i see at least that without a patch the file is wrong. (The patch is against the wrong file (correct would be acinclude.m4)) marcus