]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update from gnulib.
authorBruno Haible <bruno@clisp.org>
Sat, 22 Jul 2006 14:45:38 +0000 (14:45 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:38 +0000 (12:13 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/findprog.c
gettext-tools/m4/ChangeLog
gettext-tools/m4/error.m4
gettext-tools/m4/extensions.m4

index b653d993cb2fbef512dc1848a26a4c768531b198..7271cb2a2c320c9c2d98b58c1dce49fd64e33b2d 100644 (file)
@@ -1,6 +1,7 @@
 2006-07-22  Bruno Haible  <bruno@clisp.org>
 
        * fatal-signal.c: Include <config.h>, not "config.h".
+       * findprog.c: Likewise.
 
        * c-strcasecmp.c: Update from gnulib. Don't assume that
        UCHAR_MAX <= INT_MAX.
index 5e9141ecd59fb7d994ce30ee5179c46037e71038..f1f7ef1967922a9944a8c019d150ba7c85cc40b1 100644 (file)
@@ -18,7 +18,7 @@
 
 
 #ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
 #endif
 
 /* Specification.  */
index cff44d40fabb3326f5c940dbb8267a030592ee54..08b4cf42c1cdc77a151dabc0f27ab290b6c9d529 100644 (file)
@@ -1,3 +1,8 @@
+2006-07-22  Bruno Haible  <bruno@clisp.org>
+
+       * error.m4: Update from gnulib.
+       * extensions.m4: Update from gnulib.
+
 2006-07-21  Bruno Haible  <bruno@clisp.org>
 
        * gettext-0.15 released.
index ed1e6d5e5b8bc3f2b2c8b6e1d98c41535cb0559c..7c7746e2cc8ddbf6b94471cf666fca7fe8f1a4c9 100644 (file)
@@ -1,8 +1,11 @@
-# error.m4 serial 10 (gettext-0.14.2)
-dnl Copyright (C) 2002-2005 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.
+#serial 11
+
+# Copyright (C) 1996, 1997, 1998, 2001, 2002, 2003, 2004 Free Software
+# Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_ERROR],
 [
index 5acc7d9151a364a3669e1c9109549840218a376a..49760791865fb81bb80f0e649d8a72bddfc0cd04 100644 (file)
@@ -1,12 +1,12 @@
 # Enable extensions on systems that normally disable them.
 
-dnl Copyright (C) 2003, 2006 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.
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-dnl This file is only needed in autoconf <= 2.59.  Newer versions of autoconf
-dnl have a macro AC_USE_SYSTEM_EXTENSIONS with identical semantics.
+# This file is only needed in autoconf <= 2.59.  Newer versions of autoconf
+# have a macro AC_USE_SYSTEM_EXTENSIONS with identical semantics.
 
 # gl_USE_SYSTEM_EXTENSIONS
 # ------------------------
@@ -24,6 +24,19 @@ AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS], [
 [/* Enable extensions on Solaris.  */
 #ifndef __EXTENSIONS__
 # undef __EXTENSIONS__
+#endif
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# undef _POSIX_PTHREAD_SEMANTICS
 #endif])
-  AC_DEFINE([__EXTENSIONS__])
+  AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__],
+    [ac_cv_safe_to_define___extensions__],
+    [AC_COMPILE_IFELSE(
+       [AC_LANG_PROGRAM([
+         #define __EXTENSIONS__ 1
+         AC_INCLUDES_DEFAULT])],
+       [ac_cv_safe_to_define___extensions__=yes],
+       [ac_cv_safe_to_define___extensions__=no])])
+  test $ac_cv_safe_to_define___extensions__ = yes &&
+    AC_DEFINE([__EXTENSIONS__])
+  AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
 ])