summaryrefslogtreecommitdiff
path: root/gnulib-m4/semaphore.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib-m4/semaphore.m4')
-rw-r--r--gnulib-m4/semaphore.m49
1 files changed, 5 insertions, 4 deletions
diff --git a/gnulib-m4/semaphore.m4 b/gnulib-m4/semaphore.m4
index 2feb905e..a5d278f6 100644
--- a/gnulib-m4/semaphore.m4
+++ b/gnulib-m4/semaphore.m4
@@ -1,9 +1,10 @@
# semaphore.m4
-# serial 2
-dnl Copyright (C) 2019-2024 Free Software Foundation, Inc.
+# serial 4
+dnl Copyright (C) 2019-2025 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.
+dnl This file is offered as-is, without any warranty.
# Sets LIB_SEMAPHORE to the library needed, in addition to $(LIBMULTITHREAD),
# for getting the <semaphore.h> functions.
@@ -12,10 +13,10 @@ AC_DEFUN([gl_SEMAPHORE],
[
AC_REQUIRE([gl_THREADLIB])
dnl sem_post is
- dnl - in libc on macOS, FreeBSD, AIX, IRIX, Solaris 11, Haiku, Cygwin,
+ dnl - in libc on macOS, FreeBSD, AIX, Solaris 11, Haiku, Cygwin,
dnl - in libpthread on glibc systems, OpenBSD,
dnl - in libpthread or librt on NetBSD,
- dnl - in librt on HP-UX 11, OSF/1, Solaris 10.
+ dnl - in librt on HP-UX 11, Solaris 10.
dnl On the platforms where -lpthread is needed, it is contained in
dnl $LIBMULTITHREAD. Therefore, the only library we need to test for is -lrt.
AC_CACHE_CHECK([for library needed for semaphore functions],