]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Portability to cygwin.
authorBruno Haible <bruno@clisp.org>
Wed, 17 Sep 2003 16:11:10 +0000 (16:11 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:00 +0000 (12:11 +0200)
gettext-runtime/m4/ChangeLog
gettext-runtime/m4/gettext.m4

index 6f9ccf1a8f482e31f68503722b2188be60452cd9..91cfe7f077f723c092d8821710d51060bdb3b703 100644 (file)
@@ -1,3 +1,12 @@
+2003-09-17  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.m4 (AM_INTL_SUBDIR): Test for fwprintf, not wprintf. Needed
+       because cygwin-1.3.22 has a broken definition of wprintf in
+       winsup/cygwin/syscalls.cc and lacks 1. the declaration of this function
+       and 2. the other wide-char I/O functions fwprintf, fwscanf, wprintf,
+       wscanf, swprintf, swscanf, vfwprintf, vwprintf, vwsprintf, fgetwc,
+       fgetwc, fputwc, fputws, getwc, getwchar, putwc, putwchar, ungetwc.
+
 2003-08-29  Bruno Haible  <bruno@clisp.org>
 
        * gettext.m4 (AM_INTL_SUBDIR): Test whether _snprintf and _snwprintf
index ab9d10fba7bf4f328c40c1d964337a68c76b1445..94bdef2b85874c50780aa6054683c24d94ef7148 100644 (file)
@@ -1,4 +1,4 @@
-# gettext.m4 serial 25 (gettext-0.12.2)
+# gettext.m4 serial 26 (gettext-0.12.2)
 dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -377,9 +377,9 @@ AC_DEFUN([AM_INTL_SUBDIR],
   AC_CHECK_TYPES([ptrdiff_t])
   AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
 stdlib.h string.h unistd.h sys/param.h])
-  AC_CHECK_FUNCS([asprintf getcwd getegid geteuid getgid getuid mempcpy \
-munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup strtoul \
-tsearch wcslen wprintf __argz_count __argz_stringify __argz_next \
+  AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \
+mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
+strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
 __fsetlocking])
 
   dnl Use the _snprintf function only if it is declared (because on NetBSD it