Files
Markus Volk 4654ce7159 ibus: let the build compiler find its own C standard option
ibus bundles ax_prog_cc_for_build.m4 serial 21, which does not rename
the ac_cv_prog_cc_c23 cache variable of autoconf 2.73. CC_FOR_BUILD then
takes the option of the cross compiler: with clang it becomes
"gcc -std=gnu23", which GCC 13 and older reject when unicode-parser is
built. Update the macro to serial 26 from autoconf-archive.

Upstream-Status: Pending

Tested by building ibus for x86-64 with ac_cv_prog_cc_c23=-std=gnu23
preset for the target compiler; CC_FOR_BUILD is plain gcc.

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-09 10:01:38 -07:00
..