Skip to content

Commit d2abdcd

Browse files
committed
Append phpdbg CFLAGS in config.m4
1 parent dd18a0f commit d2abdcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sapi/phpdbg/config.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ if test "$PHP_PHPDBG" != "no"; then
2424
AC_HEADER_TIOCGWINSZ
2525
AC_DEFINE(HAVE_PHPDBG, 1, [ ])
2626

27+
PHP_PHPDBG_CFLAGS="-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"
2728
AS_VAR_IF([PHP_PHPDBG_DEBUG], [no],,
28-
[PHP_PHPDBG_CFLAGS="$PHP_PHPDBG_CFLAGS -DPHPDBG_DEBUG=1"])
29+
[AS_VAR_APPEND([PHP_PHPDBG_CFLAGS], [" -DPHPDBG_DEBUG=1"])])
2930

30-
PHP_PHPDBG_CFLAGS="-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"
3131
PHP_PHPDBG_FILES="phpdbg.c phpdbg_parser.c phpdbg_lexer.c phpdbg_prompt.c phpdbg_help.c phpdbg_break.c phpdbg_print.c phpdbg_bp.c phpdbg_list.c phpdbg_utils.c phpdbg_info.c phpdbg_cmd.c phpdbg_set.c phpdbg_frame.c phpdbg_watch.c phpdbg_btree.c phpdbg_sigsafe.c phpdbg_io.c phpdbg_out.c"
3232

3333
AC_MSG_CHECKING([for phpdbg and readline integration])

0 commit comments

Comments
 (0)