diff options
Diffstat (limited to 'gl/m4/lock.m4')
| -rw-r--r-- | gl/m4/lock.m4 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gl/m4/lock.m4 b/gl/m4/lock.m4 index eb0fc6a1..7058fb30 100644 --- a/gl/m4/lock.m4 +++ b/gl/m4/lock.m4 | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | # lock.m4 | 1 | # lock.m4 |
| 2 | # serial 14 | 2 | # serial 15 |
| 3 | dnl Copyright (C) 2005-2024 Free Software Foundation, Inc. | 3 | dnl Copyright (C) 2005-2026 Free Software Foundation, Inc. |
| 4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
| 7 | dnl This file is offered as-is, without any warranty. | ||
| 7 | 8 | ||
| 8 | dnl From Bruno Haible. | 9 | dnl From Bruno Haible. |
| 9 | 10 | ||
| @@ -11,8 +12,8 @@ AC_DEFUN([gl_LOCK], | |||
| 11 | [ | 12 | [ |
| 12 | AC_REQUIRE([gl_THREADLIB]) | 13 | AC_REQUIRE([gl_THREADLIB]) |
| 13 | if test "$gl_threads_api" = posix; then | 14 | if test "$gl_threads_api" = posix; then |
| 14 | # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the | 15 | # Mac OS X 10.1 lacks the pthread_rwlock_t type and the pthread_rwlock_* |
| 15 | # pthread_rwlock_* functions. | 16 | # functions. |
| 16 | has_rwlock=false | 17 | has_rwlock=false |
| 17 | AC_CHECK_TYPE([pthread_rwlock_t], | 18 | AC_CHECK_TYPE([pthread_rwlock_t], |
| 18 | [has_rwlock=true | 19 | [has_rwlock=true |
