Skip to content

Commit d26ce50

Browse files
[3.13] gh-120671: Fix PY_CHECK_CC_WARNING() in configure.ac (GH-120822) (#120985)
gh-120671: Fix PY_CHECK_CC_WARNING() in configure.ac (GH-120822) Add missing space in AS_VAR_APPEND() on CFLAGS. (cherry picked from commit 2106c9b) Co-authored-by: Michael Allwright <[email protected]>
1 parent 6bfcf98 commit d26ce50

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix failing configure tests due to a missing space when appending to CFLAGS.

configure

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2432,7 +2432,7 @@ AC_DEFUN([PY_CHECK_CC_WARNING], [
24322432
AS_VAR_PUSHDEF([py_var], [ac_cv_$1_]m4_normalize($2)[_warning])
24332433
AC_CACHE_CHECK([m4_ifblank([$3], [if we can $1 $CC $2 warning], [$3])], [py_var], [
24342434
AS_VAR_COPY([py_cflags], [CFLAGS])
2435-
AS_VAR_APPEND([CFLAGS], ["-W$2 -Werror"])
2435+
AS_VAR_APPEND([CFLAGS], [" -W$2 -Werror"])
24362436
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
24372437
[AS_VAR_SET([py_var], [yes])],
24382438
[AS_VAR_SET([py_var], [no])])

0 commit comments

Comments
 (0)