]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update from gnulib.
authorBruno Haible <bruno@clisp.org>
Fri, 12 Jan 2007 16:07:05 +0000 (16:07 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:36 +0000 (12:14 +0200)
gettext-runtime/m4/ChangeLog
gettext-runtime/m4/wint_t.m4

index 8685d51b6af409705bc6e95458aacfdfb34d8f14..99958ad54616ddd7c7e2e668cfa0f0c56c25987c 100644 (file)
@@ -1,6 +1,12 @@
+2007-01-10  Eric Blake  <ebb9@byu.net>
+
+       * wint_t.m4 (gt_TYPE_WINT_T): Include <stddef.h> before <wchar.h>, to
+       work around BSDI bug in BSD/OS 4.0.1.
+       Reported by Chris McGuire.
+
 2006-11-21  Bruno Haible  <bruno@clisp.org>
 
-       * m4/size_max.m4 (gl_SIZE_MAX): Use AC_COMPUTE_INT instead of
+       * size_max.m4 (gl_SIZE_MAX): Use AC_COMPUTE_INT instead of
        _AC_COMPUTE_INT.
        (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61.
 
index b8fff9c86fdbda95e007a0406fab3a8b1293d89e..2cac1a710827d984fc9a31dd681a523f6ac5e4c6 100644 (file)
@@ -1,5 +1,5 @@
-# wint_t.m4 serial 1 (gettext-0.12)
-dnl Copyright (C) 2003 Free Software Foundation, Inc.
+# wint_t.m4 serial 2 (gettext-0.16.2)
+dnl Copyright (C) 2003, 2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -11,7 +11,15 @@ dnl Prerequisite: AC_PROG_CC
 AC_DEFUN([gt_TYPE_WINT_T],
 [
   AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t,
-    [AC_TRY_COMPILE([#include <wchar.h>
+    [AC_TRY_COMPILE([
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
+   <wchar.h>.
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
+   before <wchar.h>.  */
+#include <stddef.h>
+#include <stdio.h>
+#include <time.h>
+#include <wchar.h>
        wint_t foo = (wchar_t)'\0';], ,
        gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)])
   if test $gt_cv_c_wint_t = yes; then