From 2d3a419ad63410e783ee706c484d612cd8ba24ef Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 24 Feb 2009 03:28:39 +0000 Subject: [PATCH] Support for changed vasnprintf.c. --- gettext-runtime/m4/ChangeLog | 5 +++++ gettext-runtime/m4/intl.m4 | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gettext-runtime/m4/ChangeLog b/gettext-runtime/m4/ChangeLog index dfe660b67..94f7e7dca 100644 --- a/gettext-runtime/m4/ChangeLog +++ b/gettext-runtime/m4/ChangeLog @@ -1,3 +1,8 @@ +2009-02-23 Bruno Haible + + * intl.m4 (AM_INTL_SUBDIR): Also check for strnlen, wcsnlen, mbrtowc, + wcrtomb. + 2009-01-14 Bruno Haible * intl.m4: More consistent m4 quoting. diff --git a/gettext-runtime/m4/intl.m4 b/gettext-runtime/m4/intl.m4 index 05b476340..1942207d9 100644 --- a/gettext-runtime/m4/intl.m4 +++ b/gettext-runtime/m4/intl.m4 @@ -1,4 +1,4 @@ -# intl.m4 serial 11 (gettext-0.18) +# intl.m4 serial 12 (gettext-0.18) dnl Copyright (C) 1995-2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -47,7 +47,8 @@ AC_DEFUN([AM_INTL_SUBDIR], [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) ]) AC_CHECK_HEADERS([stddef.h stdlib.h string.h]) - AC_CHECK_FUNCS([asprintf fwprintf putenv setenv setlocale snprintf wcslen]) + AC_CHECK_FUNCS([asprintf fwprintf putenv setenv setlocale snprintf \ + strnlen wcslen wcsnlen mbrtowc wcrtomb]) dnl Use the _snprintf function only if it is declared (because on NetBSD it dnl is defined as a weak alias of snprintf; we prefer to use the latter). -- 2.47.3