Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:779 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51584 invoked from network); 8 Apr 2003 06:58:51 -0000 Received: from unknown (HELO mailout07.sul.t-online.com) (194.25.134.83) by pb1.pair.com with SMTP; 8 Apr 2003 06:58:51 -0000 Received: from fwd01.sul.t-online.de by mailout07.sul.t-online.com with smtp id 192fzn-0007tt-02; Tue, 08 Apr 2003 01:25:47 +0200 Received: from baumbart.post.rwth-aachen.de (520072483730-0001@[80.142.186.5]) by fwd01.sul.t-online.com with esmtp id 192fzj-1l2AL2C; Tue, 8 Apr 2003 01:25:43 +0200 Reply-to:marcus.boerger@post.rwth-aachen.de Message-ID: <5.1.0.14.2.20030408012359.03bbc5f0@pop.t-online.de> X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 08 Apr 2003 01:25:41 +0200 To: wmeler@wp-sa.pl Cc: internals@lists.php.net In-Reply-To: <20030403072947.D1151@wp-sa.pl> References: <20030402141656.C1151@wp-sa.pl> <20030402141656.C1151@wp-sa.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Sender: 520072483730-0001@t-dialin.net Subject: Re: [PHP-DEV] how to disable extension in cli From: marcus.boerger@t-online.de ((Marcus =?iso-8859-1?Q?B=F6rger?=)) 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