com php-src: Consider phpdbg as cli: acinclude.m4
| From: | Joe Watkins | Date: | Wed, 27 Mar 2019 09:38:03 +0000 |
| Subject: | com php-src: Consider phpdbg as cli: acinclude.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105362@lists.php.net to get a copy of this message | ||
Commit: 79f046f89e187312cec3715bffc1a8b101f57531
Author: Samuele Kaplun <kaplun@protonmail.com> Tue, 18 Sep 2018 14:49:36 +0200
Committer: Joe Watkins <krakjoe@php.net> Wed, 27 Mar 2019 10:38:03 +0100
Parents: 7af270eb284c3bd00f6e5d80fbb0a2de9f89b693
Branches: PHP-7.2 PHP-7.3 PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=79f046f89e187312cec3715bffc1a8b101f57531
Log:
Consider phpdbg as cli
* When configuring extensions, considers the PHPDBG SAPI as CLI thus
allowing e.g. to have the pcntl extension available within PHPDBG.
Signed-off-by: Samuele Kaplun <kaplun@protonmail.com>
Changed paths:
M acinclude.m4
Diff:
diff --git a/acinclude.m4 b/acinclude.m4
index 6b94af5..15340b4 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -971,7 +971,7 @@ dnl ---------------------------------------------- Shared module
dnl ---------------------------------------------- CLI static module
[PHP_]translit($1,a-z_-,A-Z__)[_SHARED]=no
case "$PHP_SAPI" in
- cgi|embed[)]
+ cgi|embed|phpdbg[)]
PHP_ADD_SOURCES($ext_dir,$2,$ac_extra,)
EXT_STATIC="$EXT_STATIC $1;$ext_dir"
;;