+2020-05-09 Bruno Haible <bruno@clisp.org>
+
+ Macro tweaks.
+ * m4/c32rtomb.m4 (gl_FUNC_C32RTOMB): Correct config.h comment.
+ * m4/wint_t.m4 (gt_TYPE_WINT_T): Correct indentation.
+
2020-05-08 Bruno Haible <bruno@clisp.org>
c32rtomb: Avoid compilation failure on Haiku.
-# c32rtomb.m4 serial 2
+# c32rtomb.m4 serial 3
dnl Copyright (C) 2020 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
case "$gl_cv_func_c32rtomb_retval" in
*yes) ;;
*) AC_DEFINE([C32RTOMB_RETVAL_BUG], [1],
- [Define if the wcrtomb function has an incorrect return value.])
+ [Define if the c32rtomb function has an incorrect return value.])
REPLACE_C32RTOMB=1 ;;
esac
fi
-# wint_t.m4 serial 7
+# wint_t.m4 serial 8
dnl Copyright (C) 2003, 2007-2020 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_CACHE_CHECK([whether wint_t is too small],
[gl_cv_type_wint_t_too_small],
[AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM([[
+ [AC_LANG_PROGRAM([[
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
<wchar.h>.
BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
# include <time.h>
#endif
#include <wchar.h>
- int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1];
- ]])],
- [gl_cv_type_wint_t_too_small=no],
- [gl_cv_type_wint_t_too_small=yes])])
+ int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1];
+ ]])],
+ [gl_cv_type_wint_t_too_small=no],
+ [gl_cv_type_wint_t_too_small=yes])])
if test $gl_cv_type_wint_t_too_small = yes; then
GNULIB_OVERRIDES_WINT_T=1
else