A syntax error in an autoconf test (NULL being used without prior #include <stddef.h>/<stdlib.h>) caused the autoconfiguration to override the function c32rtomb always. This patch fixes it.
2023-04-04 Bruno Haible <br...@clisp.org> c32rtomb: Fix an autoconf test. * m4/c32rtomb.m4 (gl_FUNC_C32RTOMB): In a test program, include <stddef.h>, for NULL. diff --git a/m4/c32rtomb.m4 b/m4/c32rtomb.m4 index 41c07e75c9..539e4f884c 100644 --- a/m4/c32rtomb.m4 +++ b/m4/c32rtomb.m4 @@ -1,4 +1,4 @@ -# c32rtomb.m4 serial 4 +# c32rtomb.m4 serial 5 dnl Copyright (C) 2020-2023 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -53,6 +53,7 @@ AC_DEFUN([gl_FUNC_C32RTOMB] changequote([,])dnl AC_RUN_IFELSE( [AC_LANG_SOURCE([[ +#include <stddef.h> #include <uchar.h> int main () {