1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00

Autotools: Remove unused DEBUG_CFLAGS variable (#12659)

This removes the unused DEBUG_CFLAGS variable from configure.ac. It has
been once set in the build files similarly to Zend.m4 but was then
removed and simplified.

CS synced and DEBUG_CFLAGS checked and appended with AS_VAR_* macros.
This commit is contained in:
Peter Kokot
2024-07-08 17:05:57 +02:00
committed by GitHub
parent 33289dfa5c
commit 05b9345b08
2 changed files with 1 additions and 3 deletions

View File

@@ -190,7 +190,7 @@ AX_CHECK_COMPILE_FLAG([-Wformat-truncation], CFLAGS="-Wformat-truncation $CFLAGS
AX_CHECK_COMPILE_FLAG([-Wstrict-prototypes], CFLAGS="-Wstrict-prototypes $CFLAGS", , [-Werror])
AX_CHECK_COMPILE_FLAG([-fno-common], CFLAGS="-fno-common $CFLAGS", , [-Werror])
test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
AS_VAR_IF([DEBUG_CFLAGS],,, [AS_VAR_APPEND([CFLAGS], [" $DEBUG_CFLAGS"])])
if test "$ZEND_ZTS" = "yes"; then
AC_DEFINE(ZTS,1,[ ])

View File

@@ -938,8 +938,6 @@ if test "$PHP_CONFIG_FILE_SCAN_DIR" = "DEFAULT"; then
fi
AC_MSG_RESULT([$PHP_CONFIG_FILE_SCAN_DIR])
test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
PHP_ARG_ENABLE([sigchild],
[whether to enable PHP's own SIGCHLD handler],
[AS_HELP_STRING([--enable-sigchild],