diff options
author | Bruno Haible <bruno@clisp.org> | 2006-08-28 13:12:46 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:13:57 +0200 |
commit | 76442db83c25e4f529d7b8f4ae7f95bb3eb6dd8c (patch) | |
tree | 1822af1de833fd2b7d467cb8f5a37f910aabe9b1 /gettext-runtime/m4 | |
parent | 7085d6ddf27b3c9920ff9b1d9165a0b6e5cbf16c (diff) | |
download | external_gettext-76442db83c25e4f529d7b8f4ae7f95bb3eb6dd8c.zip external_gettext-76442db83c25e4f529d7b8f4ae7f95bb3eb6dd8c.tar.gz external_gettext-76442db83c25e4f529d7b8f4ae7f95bb3eb6dd8c.tar.bz2 |
Avoid compiler warnings.
Diffstat (limited to 'gettext-runtime/m4')
-rw-r--r-- | gettext-runtime/m4/ChangeLog | 6 | ||||
-rw-r--r-- | gettext-runtime/m4/codeset.m4 | 6 | ||||
-rw-r--r-- | gettext-runtime/m4/inttypes_h.m4 | 6 | ||||
-rw-r--r-- | gettext-runtime/m4/stdint_h.m4 | 6 |
4 files changed, 15 insertions, 9 deletions
diff --git a/gettext-runtime/m4/ChangeLog b/gettext-runtime/m4/ChangeLog index 58bc3da..21c3e6b 100644 --- a/gettext-runtime/m4/ChangeLog +++ b/gettext-runtime/m4/ChangeLog @@ -1,3 +1,9 @@ +2006-08-22 Eric Blake <ebb9@byu.net> + + * stdint_h.m4 (gl_AC_HEADER_STDINT_H): Avoid compiler warning. + * inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise. + * codeset.m4 (AM_LANGINFO_CODESET): Likewise. + 2006-08-23 Bruno Haible <bruno@clisp.org> * lock.m4 (gl_LOCK_EARLY): Renamed from gl_LOCK. diff --git a/gettext-runtime/m4/codeset.m4 b/gettext-runtime/m4/codeset.m4 index a6e67ec..55f50a1 100644 --- a/gettext-runtime/m4/codeset.m4 +++ b/gettext-runtime/m4/codeset.m4 @@ -1,5 +1,5 @@ -# codeset.m4 serial AM1 (gettext-0.10.40) -dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. +# codeset.m4 serial 2 (gettext-0.15.1) +dnl Copyright (C) 2000-2002, 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. @@ -10,7 +10,7 @@ AC_DEFUN([AM_LANGINFO_CODESET], [ AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, [AC_TRY_LINK([#include <langinfo.h>], - [char* cs = nl_langinfo(CODESET);], + [char* cs = nl_langinfo(CODESET); return !cs;], am_cv_langinfo_codeset=yes, am_cv_langinfo_codeset=no) ]) diff --git a/gettext-runtime/m4/inttypes_h.m4 b/gettext-runtime/m4/inttypes_h.m4 index a5d075d..edc8ecb 100644 --- a/gettext-runtime/m4/inttypes_h.m4 +++ b/gettext-runtime/m4/inttypes_h.m4 @@ -1,5 +1,5 @@ -# inttypes_h.m4 serial 6 -dnl Copyright (C) 1997-2004 Free Software Foundation, Inc. +# inttypes_h.m4 serial 7 +dnl Copyright (C) 1997-2004, 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. @@ -15,7 +15,7 @@ AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [AC_TRY_COMPILE( [#include <sys/types.h> #include <inttypes.h>], - [uintmax_t i = (uintmax_t) -1;], + [uintmax_t i = (uintmax_t) -1; return !i;], gl_cv_header_inttypes_h=yes, gl_cv_header_inttypes_h=no)]) if test $gl_cv_header_inttypes_h = yes; then diff --git a/gettext-runtime/m4/stdint_h.m4 b/gettext-runtime/m4/stdint_h.m4 index 3355f35..db9a8ac 100644 --- a/gettext-runtime/m4/stdint_h.m4 +++ b/gettext-runtime/m4/stdint_h.m4 @@ -1,5 +1,5 @@ -# stdint_h.m4 serial 5 -dnl Copyright (C) 1997-2004 Free Software Foundation, Inc. +# stdint_h.m4 serial 6 +dnl Copyright (C) 1997-2004, 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. @@ -15,7 +15,7 @@ AC_DEFUN([gl_AC_HEADER_STDINT_H], [AC_TRY_COMPILE( [#include <sys/types.h> #include <stdint.h>], - [uintmax_t i = (uintmax_t) -1;], + [uintmax_t i = (uintmax_t) -1; return !i;], gl_cv_header_stdint_h=yes, gl_cv_header_stdint_h=no)]) if test $gl_cv_header_stdint_h = yes; then |