]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Make sure that libintl.h declares the *wprintf overrides on Windows.
authorBruno Haible <bruno@clisp.org>
Mon, 8 Apr 2019 17:45:52 +0000 (19:45 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 8 Apr 2019 17:45:52 +0000 (19:45 +0200)
* gettext-runtime/m4/intl.m4 (AM_INTL_SUBDIR): Test for wprintf, not fwprintf.

gettext-runtime/m4/intl.m4

index c3d460b71f9bef5a64e9416bf489dbbfd254862e..f6a881fe8b5931f3791815d1f47138ae8db33dc4 100644 (file)
@@ -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