Ensure wchar.h is replaced when needed.
authorBruno Haible <bruno@clisp.org>
Fri, 19 Dec 2008 01:58:16 +0000 (02:58 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 19 Dec 2008 01:58:16 +0000 (02:58 +0100)
ChangeLog
m4/btowc.m4
m4/mbsinit.m4

index dc16a03..e9eebfe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-18  Bruno Haible  <bruno@clisp.org>
+
+       * m4/mbsinit.m4 (gl_FUNC_MBSINIT): Invoke gl_REPLACE_WCHAR_H.
+       * m4/btowc.m4 (gl_FUNC_BTOWC): Likewise.
+
 2008-12-18  Simon Josefsson  <simon@josefsson.org>
 
        * lib/flock.c: Use proper #if symbol in check.  Reported by "Tom
index 98849d6..a53694a 100644 (file)
@@ -1,4 +1,4 @@
-# btowc.m4 serial 1
+# btowc.m4 serial 2
 dnl Copyright (C) 2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -11,6 +11,7 @@ AC_DEFUN([gl_FUNC_BTOWC],
   AC_CHECK_FUNCS_ONCE([btowc])
   if test $ac_cv_func_btowc = no; then
     HAVE_BTOWC=0
+    gl_REPLACE_WCHAR_H
     AC_LIBOBJ([btowc])
     gl_PREREQ_BTOWC
   fi
index 8c9542a..d7d5475 100644 (file)
@@ -1,4 +1,4 @@
-# mbsinit.m4 serial 1
+# mbsinit.m4 serial 2
 dnl Copyright (C) 2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -12,6 +12,7 @@ AC_DEFUN([gl_FUNC_MBSINIT],
   AC_CHECK_FUNCS_ONCE([mbsinit])
   if test $ac_cv_func_mbsinit = no; then
     HAVE_MBSINIT=0
+    gl_REPLACE_WCHAR_H
     AC_LIBOBJ([mbsinit])
     gl_PREREQ_MBSINIT
   fi