*** mbrtowc.m4.bak 2005-01-19 15:24:18.000000000 +0100 --- mbrtowc.m4 2005-07-04 01:36:33.685251704 +0200 *************** *** 1,5 **** ! # mbrtowc.m4 serial 7 ! dnl Copyright (C) 2001-2002, 2004 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. --- 1,5 ---- ! # mbrtowc.m4 serial 8 ! dnl Copyright (C) 2001-2002, 2004-2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. *************** *** 14,21 **** AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared], gl_cv_func_mbrtowc, [AC_TRY_LINK( ! [#include ], ! [mbstate_t state; return ! (sizeof state && mbrtowc);], gl_cv_func_mbrtowc=yes, gl_cv_func_mbrtowc=no)]) if test $gl_cv_func_mbrtowc = yes; then --- 14,22 ---- AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared], gl_cv_func_mbrtowc, [AC_TRY_LINK( ! [#include ! size_t (*f)() = mbrtowc;], ! [mbstate_t state; return ! (sizeof state && f == mbrtowc);], gl_cv_func_mbrtowc=yes, gl_cv_func_mbrtowc=no)]) if test $gl_cv_func_mbrtowc = yes; then