From 2fec3e7f41a0391c4836257cd20add1e181c7cbc Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 6 Jan 2024 09:52:55 -0800 Subject: [PATCH] Remove unused phpdbg build variables (#13078) - PHP_PHPDBG_CFLAGS and PHP_PHPDBG_FILES were once used in the generated Makefile. - BUILD_PHPDBG check was used together with unused and obsolete phpdbg webhelper configuration. --- sapi/phpdbg/config.m4 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sapi/phpdbg/config.m4 b/sapi/phpdbg/config.m4 index 10dd2029b4c..56a1da23908 100644 --- a/sapi/phpdbg/config.m4 +++ b/sapi/phpdbg/config.m4 @@ -19,7 +19,7 @@ PHP_ARG_ENABLE([phpdbg-readline], [no], [no]) -if test "$BUILD_PHPDBG" = "" && test "$PHP_PHPDBG" != "no"; then +if test "$PHP_PHPDBG" != "no"; then AC_HEADER_TIOCGWINSZ AC_DEFINE(HAVE_PHPDBG, 1, [ ]) @@ -75,8 +75,6 @@ if test "$BUILD_PHPDBG" = "" && test "$PHP_PHPDBG" != "no"; then fi fi - PHP_SUBST(PHP_PHPDBG_CFLAGS) - PHP_SUBST(PHP_PHPDBG_FILES) PHP_SUBST(PHPDBG_EXTRA_LIBS) PHP_ADD_MAKEFILE_FRAGMENT([$abs_srcdir/sapi/phpdbg/Makefile.frag], [$abs_srcdir/sapi/phpdbg], [$abs_builddir/sapi/phpdbg])