diff options
author | Bruno Haible <bruno@clisp.org> | 2006-09-22 19:58:52 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:14:00 +0200 |
commit | f7ae3dc19f0c038b9b461002ba0f202d3d50ee8b (patch) | |
tree | c7a2d9259ad4fd37cacfb6c2e55edceecbfd404d /gettext-runtime/m4 | |
parent | ce0af5efc8d89995989b4a8968d24c9ffcb228c3 (diff) | |
download | external_gettext-f7ae3dc19f0c038b9b461002ba0f202d3d50ee8b.zip external_gettext-f7ae3dc19f0c038b9b461002ba0f202d3d50ee8b.tar.gz external_gettext-f7ae3dc19f0c038b9b461002ba0f202d3d50ee8b.tar.bz2 |
Avoid unused variable warning at configure time.
Diffstat (limited to 'gettext-runtime/m4')
-rw-r--r-- | gettext-runtime/m4/ChangeLog | 4 | ||||
-rw-r--r-- | gettext-runtime/m4/lock.m4 | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gettext-runtime/m4/ChangeLog b/gettext-runtime/m4/ChangeLog index 8779d99..7fb9ee3 100644 --- a/gettext-runtime/m4/ChangeLog +++ b/gettext-runtime/m4/ChangeLog @@ -1,3 +1,7 @@ +2006-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lock.m4 (gl_LOCK_BODY): Avoid unused variables warning. + 2006-09-18 Bruno Haible <bruno@clisp.org> Assume autoconf-2.52 or newer. diff --git a/gettext-runtime/m4/lock.m4 b/gettext-runtime/m4/lock.m4 index 1ab7216..94c1870 100644 --- a/gettext-runtime/m4/lock.m4 +++ b/gettext-runtime/m4/lock.m4 @@ -1,4 +1,4 @@ -# lock.m4 serial 4 (gettext-0.15.1) +# lock.m4 serial 5 (gettext-0.15.1) dnl Copyright (C) 2005-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, @@ -147,6 +147,7 @@ AC_HELP_STRING([--disable-threads], [build without multithread safety]), error "No, in FreeBSD 4.0 recursive mutexes actually don't work." #else int x = (int)PTHREAD_MUTEX_RECURSIVE; +return !x; #endif], [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], 1, [Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE.])]) |