]> Savannah Git Hosting - gnulib.git/commitdiff
mbsrtoc32s: Fix bug.
authorBruno Haible <bruno@clisp.org>
Sat, 4 Jan 2020 15:30:35 +0000 (16:30 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 4 Jan 2020 15:30:35 +0000 (16:30 +0100)
* modules/mbsrtoc32s (configure.ac): Require gl_UCHAR_H, to make sure
that SMALL_WCHAR_T is defined.

ChangeLog
modules/mbsrtoc32s

index ecf3650b44f25dea12ce3192b6b806c3c79e0c0b..dcb65060652e5ee2a1dc5ccc162503a74b0d6485 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-01-04  Bruno Haible  <bruno@clisp.org>
+
+       mbsrtoc32s: Fix bug.
+       * modules/mbsrtoc32s (configure.ac): Require gl_UCHAR_H, to make sure
+       that SMALL_WCHAR_T is defined.
+
 2020-01-04  Bruno Haible  <bruno@clisp.org>
 
        mbsrtoc32s: Add tests.
index 66b578e3094ebb18cf5c21bad6af06726443c3e8..e7e5ee245b3c7e1283deca42853d48e1b422ea61 100644 (file)
@@ -15,6 +15,7 @@ strnlen1        [test $SMALL_WCHAR_T = 1]
 mbsrtowcs       [test $SMALL_WCHAR_T = 0]
 
 configure.ac:
+AC_REQUIRE([gl_UCHAR_H])
 if test $SMALL_WCHAR_T = 1; then
   AC_LIBOBJ([mbsrtoc32s-state])
 fi