changeset 15495:c619eb6cb037

pthread_sigmask: Actually use results of gl_THREADLIB. * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Test and require gl_THREADLIB, not gl_[]THREADLIB. Reported by Eric Blake.
author Bruno Haible <bruno@clisp.org>
date Wed, 03 Aug 2011 01:04:40 +0200
parents 58164867f0bf
children 451ec8bd8a1c
files ChangeLog m4/pthread_sigmask.m4
diffstat 2 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-08-02  Bruno Haible  <bruno@clisp.org>
+
+	pthread_sigmask: Actually use results of gl_THREADLIB.
+	* m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Test and require
+	gl_THREADLIB, not gl_[]THREADLIB.
+	Reported by Eric Blake.
+
 2011-08-02  Jim Meyering  <meyering@redhat.com>
 
 	maint.mk: relax the default _gl_TS_function_match regexp
--- a/m4/pthread_sigmask.m4
+++ b/m4/pthread_sigmask.m4
@@ -1,4 +1,4 @@
-# pthread_sigmask.m4 serial 11
+# pthread_sigmask.m4 serial 12
 dnl Copyright (C) 2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -13,8 +13,8 @@
   dnl Some packages like Emacs use --avoid=threadlib.
   dnl Write the symbol in such a way that it does not cause 'aclocal' to pick
   dnl the threadlib.m4 file that is installed in $PREFIX/share/aclocal/.
-  m4_ifdef([gl_[]THREADLIB], [
-    AC_REQUIRE([gl_[]THREADLIB])
+  m4_ifdef([gl_][THREADLIB], [
+    AC_REQUIRE([gl_][THREADLIB])
 
     if test "$gl_threads_api" = posix; then
       if test $ac_cv_func_pthread_sigmask = yes; then