/[autoconf]/autoconf/lib/autoconf/functions.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/functions.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.69 by akim, Mon Sep 9 15:43:38 2002 UTC revision 1.70 by akim, Fri Sep 27 09:25:42 2002 UTC
# Line 753  AC_DEFUN([AC_FUNC_MALLOC], Line 753  AC_DEFUN([AC_FUNC_MALLOC],
753  ])# AC_FUNC_MALLOC  ])# AC_FUNC_MALLOC
754    
755    
756    # AC_FUNC_MBRTOWC
757    # ---------------
758    AC_DEFUN([AC_FUNC_MBRTOWC],
759    [
760      AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared],
761        ac_cv_func_mbrtowc,
762        [AC_LINK_IFELSE(
763           [AC_LANG_PROGRAM(
764                [[@%:@include <wchar.h>]],
765                [[mbstate_t state; return ! (sizeof state && mbrtowc);]])],
766           ac_cv_func_mbrtowc=yes,
767           ac_cv_func_mbrtowc=no)])
768      if test $ac_cv_func_mbrtowc = yes; then
769        AC_DEFINE([HAVE_MBRTOWC], 1,
770          [Define to 1 if mbrtowc and mbstate_t are properly declared.])
771      fi
772    ])
773    
774    
775  # AC_FUNC_MEMCMP  # AC_FUNC_MEMCMP
776  # --------------  # --------------
777  AC_DEFUN([AC_FUNC_MEMCMP],  AC_DEFUN([AC_FUNC_MEMCMP],

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26