From 79f046f89e187312cec3715bffc1a8b101f57531 Mon Sep 17 00:00:00 2001 From: Samuele Kaplun Date: Tue, 18 Sep 2018 14:49:36 +0200 Subject: [PATCH] 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 --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 6b94af5dd7..15340b48a9 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" ;; -- 2.40.0