bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH]: update tls and lock tests to use newer glthread API


From: Bruno Haible
Subject: Re: [PATCH]: update tls and lock tests to use newer glthread API
Date: Wed, 1 Oct 2008 03:01:55 +0200
User-agent: KMail/1.5.4

Yoann Vandoorselaere wrote on 2008-09-15:
> > - Correct pthread_atfork() detection.

Yup. Applied, with a more conventional variable name:


2008-09-30  Yoann Vandoorselaere  <address@hidden>
            Bruno Haible  <address@hidden>

        * m4/thread.m4 (gl_THREAD): Fix detection of pthread_atfork function.

*** m4/thread.m4.orig   2008-10-01 03:00:08.000000000 +0200
--- m4/thread.m4        2008-10-01 02:57:12.000000000 +0200
***************
*** 1,4 ****
! # thread.m4 serial 1
  dnl Copyright (C) 2008 Free Software Foundation, Inc.
  dnl This file is free software; the Free Software Foundation
  dnl gives unlimited permission to copy and/or distribute it,
--- 1,4 ----
! # thread.m4 serial 2
  dnl Copyright (C) 2008 Free Software Foundation, Inc.
  dnl This file is free software; the Free Software Foundation
  dnl gives unlimited permission to copy and/or distribute it,
***************
*** 10,15 ****
--- 10,18 ----
    AC_REQUIRE([AC_C_INLINE])
  
    if test $gl_threads_api = posix; then
+     gl_save_LIBS="$LIBS"
+     LIBS="$LIBS $LIBMULTITHREAD"
      AC_CHECK_FUNCS([pthread_atfork])
+     LIBS="$gl_save_LIBS"
    fi
  ])





reply via email to

[Prev in Thread] Current Thread [Next in Thread]