Parent: 01f3ef3cd9d69b56554f5ef6d7ac2a5c40e41393
Author: Til Kaiser <mail@tk154.de>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-06-23 20:10:20
Tree: 631565fdfec38e394de633ea9a6ea82139f3ee03
configure.ac: check for stdarg.h Currently, there is the following compile error while building with -std=gnu23, which is now default for GCC 15: src/shared/shell.c: In function 'rl_cleanup': src/shared/shell.c:1435:9: error: too many arguments to function 'rl_message'; expected 0, have 2 1435 | rl_message("%s", ""); | ^~~~~~~~~~ ~~~~ In file included from src/shared/shell.c:29: /usr/include/readline/readline.h:410:12: note: declared here 410 | extern int rl_message (); | ^~~~~~~~~~ This adds a check for stdarg.h inside the configure script so that HAVE_STDARG_H gets defined and the correct prototype is picked from readline.h.
Diffstat
| M | configure.ac | | | 3 | ++- |
1 files changed, 2 insertions(+), 1 deletions(-)