Mercurial > hg > octave-kai > gnulib-hg
changeset 10904:f3a8426d168e
Ensure wchar.h is replaced when needed.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 19 Dec 2008 02:58:16 +0100 |
parents | 81b06acec5ca |
children | bafd3f4f3496 |
files | ChangeLog m4/btowc.m4 m4/mbsinit.m4 |
diffstat | 3 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- a/m4/btowc.m4 +++ b/m4/btowc.m4 @@ -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_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
--- a/m4/mbsinit.m4 +++ b/m4/mbsinit.m4 @@ -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_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