Re: how to disable extension in cli

From: Date: Tue, 08 Apr 2003 08:55:02 +0000
Subject: Re: how to disable extension in cli
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-781@lists.php.net to get a copy of this message
On Tue, Apr 08, 2003 at 01:25:41AM +0200, Marcus Börger wrote: > 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)) I'm not familiar with automake. I've attached corrected patch. regards, Wojtek

diff -urN php/acinclude.m4 php-ac/acinclude.m4 --- php/acinclude.m4 Tue Apr 8 10:35:11 2003 +++ php-ac/acinclude.m4 Tue Apr 8 10:40:12 2003 @@ -1298,10 +1298,12 @@ if test "$3" != "shared" && test "$3" != "yes" && test "$4" != "cli"; then dnl ---------------------------------------------- Static module - PHP_ADD_SOURCES(PHP_EXT_DIR($1),$2,$ac_extra,) EXT_STATIC="$EXT_STATIC $1" if test "$3" != "nocli"; then EXT_CLI_STATIC="$EXT_CLI_STATIC $1" + PHP_ADD_SOURCES(PHP_EXT_DIR($1),$2,$ac_extra,) + else + PHP_ADD_SOURCES(PHP_EXT_DIR($1),$2,$ac_extra,sapi) fi else if test "$3" = "shared" || test "$3" = "yes"; then
« previous php.internals (#781) next »