]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid unused variable warning at configure time.
authorBruno Haible <bruno@clisp.org>
Fri, 22 Sep 2006 19:58:52 +0000 (19:58 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:00 +0000 (12:14 +0200)
gettext-runtime/m4/ChangeLog
gettext-runtime/m4/lock.m4

index 8779d9946746924a3e2ee90a21708a172dfa71a7..7fb9ee390600d0fef4ce46075eaac8a9bc603d39 100644 (file)
@@ -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.
index 1ab72164f729b151a7df69661fe21c14a25a0719..94c1870dafef3e3e32481d6c50e154680eb226a7 100644 (file)
@@ -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.])])