cvs: php4(PHP_4_2_0) /sapi/cli config.m4

From: Date: Sun, 14 Apr 2002 03:50:40 +0000
Subject: cvs: php4(PHP_4_2_0) /sapi/cli config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11126@lists.php.net to get a copy of this message
sniper Sat Apr 13 23:50:40 2002 EDT Modified files: (Branch: PHP_4_2_0) /php4/sapi/cli config.m4 Log: Make this work as it was supposed to work. Index: php4/sapi/cli/config.m4 diff -u php4/sapi/cli/config.m4:1.3.2.1 php4/sapi/cli/config.m4:1.3.2.2 --- php4/sapi/cli/config.m4:1.3.2.1 Mon Mar 25 12:02:30 2002 +++ php4/sapi/cli/config.m4 Sat Apr 13 23:50:40 2002 @@ -1,22 +1,18 @@ dnl -dnl $Id: config.m4,v 1.3.2.1 2002/03/25 17:02:30 edink Exp $ +dnl $Id: config.m4,v 1.3.2.2 2002/04/14 03:50:40 sniper Exp $ dnl AC_MSG_CHECKING(for CLI build) AC_ARG_ENABLE(cli, -[ --disable-cli Disable building CLI version of PHP.], +[ --enable-cli Enable building CLI version of PHP.], [ - if test "$enable_cli" != "no"; then - PHP_SAPI_CLI=yes - else - PHP_SAPI_CLI=no - fi -], -[PHP_SAPI_CLI=yes] -) + PHP_SAPI_CLI=$enableval +],[ + PHP_SAPI_CLI=no +]) -if test "$PHP_SAPI_CLI" = "no"; then +if test "$PHP_SAPI_CLI" != "yes"; then PHP_DISABLE_CLI fi

« previous php.cvs (#11126) next »