From: Bruno Haible Date: Fri, 22 Sep 2006 19:58:52 +0000 (+0000) Subject: Avoid unused variable warning at configure time. X-Git-Tag: 0.16.x-branchpoint~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7ae3dc19f0c038b9b461002ba0f202d3d50ee8b;p=thirdparty%2Fgettext.git Avoid unused variable warning at configure time. --- diff --git a/gettext-runtime/m4/ChangeLog b/gettext-runtime/m4/ChangeLog index 8779d9946..7fb9ee390 100644 --- a/gettext-runtime/m4/ChangeLog +++ b/gettext-runtime/m4/ChangeLog @@ -1,3 +1,7 @@ +2006-09-22 Ralf Wildenhues + + * lock.m4 (gl_LOCK_BODY): Avoid unused variables warning. + 2006-09-18 Bruno Haible Assume autoconf-2.52 or newer. diff --git a/gettext-runtime/m4/lock.m4 b/gettext-runtime/m4/lock.m4 index 1ab72164f..94c1870da 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 defines PTHREAD_MUTEX_RECURSIVE.])])