Paul Eggert wrote:
> +AC_DEFUN([gl_PTHREAD_SIGMASK],

By convention, for modules that provide a single function, the m4 macro
starts with gl_FUNC_. Gratuitous differences in naming conventions make
maintenance harder.


2011-07-07  Bruno Haible  <[email protected]>

        pthread_sigmask: Follow gnulib conventions.
        * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Renamed from
        gl_PTHREAD_SIGMASK.
        * modules/pthread_sigmask (configure.ac): Update.

--- m4/pthread_sigmask.m4.orig  Fri Jul  8 02:10:05 2011
+++ m4/pthread_sigmask.m4       Fri Jul  8 02:09:55 2011
@@ -1,10 +1,10 @@
-# pthread_sigmask.m4 serial 3
+# pthread_sigmask.m4 serial 4
 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,
 dnl with or without modifications, as long as this notice is preserved.
 
-AC_DEFUN([gl_PTHREAD_SIGMASK],
+AC_DEFUN([gl_FUNC_PTHREAD_SIGMASK],
 [
   m4_ifdef([gl_THREADLIB], [
     AC_REQUIRE([gl_THREADLIB])
--- modules/pthread_sigmask.orig        Fri Jul  8 02:10:05 2011
+++ modules/pthread_sigmask     Fri Jul  8 02:09:47 2011
@@ -10,7 +10,7 @@
 sigprocmask     [test $HAVE_PTHREAD_SIGMASK = 0]
 
 configure.ac:
-gl_PTHREAD_SIGMASK
+gl_FUNC_PTHREAD_SIGMASK
 if test $HAVE_PTHREAD_SIGMASK = 0; then
   AC_LIBOBJ([pthread_sigmask])
 fi
-- 
In memoriam Georges Mandel <http://en.wikipedia.org/wiki/Georges_Mandel>

Reply via email to