Skip to content

Commit c49e6d3

Browse files
allsey87estyxx
authored andcommitted
pythongh-120671: Fix PY_CHECK_CC_WARNING() in configure.ac (python#120822)
Add missing space in AS_VAR_APPEND() on CFLAGS.
1 parent 97b1611 commit c49e6d3

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed
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

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -2437,7 +2437,7 @@ AC_DEFUN([PY_CHECK_CC_WARNING], [
24372437
AS_VAR_PUSHDEF([py_var], [ac_cv_$1_]m4_normalize($2)[_warning])
24382438
AC_CACHE_CHECK([m4_ifblank([$3], [if we can $1 $CC $2 warning], [$3])], [py_var], [
24392439
AS_VAR_COPY([py_cflags], [CFLAGS])
2440-
AS_VAR_APPEND([CFLAGS], ["-W$2 -Werror"])
2440+
AS_VAR_APPEND([CFLAGS], [" -W$2 -Werror"])
24412441
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
24422442
[AS_VAR_SET([py_var], [yes])],
24432443
[AS_VAR_SET([py_var], [no])])

0 commit comments

Comments
 (0)