From d84f20745c8ac40b058a415247e572e901a6c5c0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 8 Apr 2019 19:45:52 +0200 Subject: [PATCH] Make sure that libintl.h declares the *wprintf overrides on Windows. * gettext-runtime/m4/intl.m4 (AM_INTL_SUBDIR): Test for wprintf, not fwprintf. --- gettext-runtime/m4/intl.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gettext-runtime/m4/intl.m4 b/gettext-runtime/m4/intl.m4 index c3d460b71..f6a881fe8 100644 --- a/gettext-runtime/m4/intl.m4 +++ b/gettext-runtime/m4/intl.m4 @@ -1,4 +1,4 @@ -# intl.m4 serial 36 (gettext-0.19.9) +# intl.m4 serial 37 (gettext-0.19.9) dnl Copyright (C) 1995-2014, 2016-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -73,7 +73,7 @@ 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([features.h stddef.h stdlib.h string.h]) - AC_CHECK_FUNCS([asprintf fwprintf newlocale putenv setenv \ + AC_CHECK_FUNCS([asprintf wprintf newlocale putenv setenv \ snprintf strnlen uselocale wcslen wcsnlen mbrtowc wcrtomb]) dnl Use the _snprintf function only if it is declared (because on NetBSD it -- 2.47.2