I'm committing this:

2008-12-22  Paolo Bonzini  <bonz...@gnu.org>

        * modules/regex: Request emulations for the mb*/wc* functions we
        need.
        * m4/regex.m4: Don't look for those functions here.

diff --git a/m4/regex.m4 b/m4/regex.m4
index 38fb7ba..f3a7b42 100644
--- a/m4/regex.m4
+++ b/m4/regex.m4
@@ -219,6 +219,6 @@ AC_DEFUN([gl_PREREQ_REGEX],
   AC_REQUIRE([AC_C_RESTRICT])
   AC_REQUIRE([AC_TYPE_MBSTATE_T])
   AC_CHECK_HEADERS([libintl.h])
-  AC_CHECK_FUNCS_ONCE([isblank iswctype mbrtowc wcrtomb wcscoll])
+  AC_CHECK_FUNCS_ONCE([isblank iswctype wcscoll])
   AC_CHECK_DECLS([isblank], [], [], [#include <ctype.h>])
 ])
diff --git a/modules/regex b/modules/regex
index 1659e18..c6a1235 100644
--- a/modules/regex
+++ b/modules/regex
@@ -13,16 +13,20 @@ m4/mbstate_t.m4

 Depends-on:
 alloca
+btowc
 extensions
 gettext-h
 localcharset
 malloc
 memcmp
 memmove
+mbrtowc
+mbsinit
 stdbool
 stdint
 ssize_t
 wchar
+wcrtomb
 wctype

 configure.ac:

Paolo


Reply via email to