]> Savannah Git Hosting - gnulib.git/commitdiff
threadlib: Fix support for Solaris 9 and older.
authorNick Bowler <nbowler@draconx.ca>
Wed, 25 Jan 2023 08:38:00 +0000 (09:38 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 25 Jan 2023 08:38:00 +0000 (09:38 +0100)
* m4/threadlib.m4 (gl_PTHREADLIB_BODY): Allow case patterns to survive
m4 processing by using changequote.

ChangeLog
m4/threadlib.m4

index f999f105a55fb38e5a3e42a0a60e80b580ea3b5a..1e122459bc746361985db46772fc5e3694a85ab9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-01-25  Nick Bowler  <nbowler@draconx.ca>  (tiny change)
+
+       threadlib: Fix support for Solaris 9 and older.
+       * m4/threadlib.m4 (gl_PTHREADLIB_BODY): Allow case patterns to survive
+       m4 processing by using changequote.
+
 2023-01-24  Bruno Haible  <bruno@clisp.org>
 
        alignasof, stdalign: Fix a compilation error on FreeBSD 12.0.
index 48ced460b351a9d586a237c45dbade8a193dc3c9..7202b9528d56eb09c5d47ca2cb8416152878e611 100644 (file)
@@ -1,4 +1,4 @@
-# threadlib.m4 serial 34
+# threadlib.m4 serial 35
 dnl Copyright (C) 2005-2023 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -261,7 +261,9 @@ AC_DEFUN([gl_PTHREADLIB_BODY],
              # On Solaris 10 or newer, this test is no longer needed, because
              # libc contains the fully functional pthread functions.
              case "$host_os" in
+changequote(,)dnl
                solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*)
+changequote([,])dnl
                  AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1],
                    [Define if the pthread_in_use() detection is hard.])
              esac