]> Savannah Git Hosting - gnulib.git/commitdiff
pthread-* tests, regex tests: Prepare for use of 'alarm'.
authorBruno Haible <bruno@clisp.org>
Mon, 3 Jun 2024 10:51:08 +0000 (12:51 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 6 Jun 2024 23:21:16 +0000 (01:21 +0200)
* modules/pthread-cond-tests (configure.ac): Test whether 'alarm' is
declared.
* modules/pthread-mutex-tests (configure.ac): Likewise.
* modules/pthread-once-tests (configure.ac): Likewise.
* modules/pthread-rwlock-tests (configure.ac): Likewise.
* modules/pthread-tss-tests (configure.ac): Likewise.
* modules/regex-tests (configure.ac): Likewise.

ChangeLog
modules/pthread-cond-tests
modules/pthread-mutex-tests
modules/pthread-once-tests
modules/pthread-rwlock-tests
modules/pthread-tss-tests
modules/regex-tests

index b20d8742910c43cc1cceb988476de0833d5f3ea2..cc82e9f0f57f9cfa9efc58c4abad89f49d227b2b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2024-06-03  Bruno Haible  <bruno@clisp.org>
+
+       pthread-* tests, regex tests: Prepare for use of 'alarm'.
+       * modules/pthread-cond-tests (configure.ac): Test whether 'alarm' is
+       declared.
+       * modules/pthread-mutex-tests (configure.ac): Likewise.
+       * modules/pthread-once-tests (configure.ac): Likewise.
+       * modules/pthread-rwlock-tests (configure.ac): Likewise.
+       * modules/pthread-tss-tests (configure.ac): Likewise.
+       * modules/regex-tests (configure.ac): Likewise.
+
 2024-06-03  Bruno Haible  <bruno@clisp.org>
 
        mtx tests: Fix a possible link error.
index b104ae0651e40582b8ae68a9f03c7c1df8b685dc..fc0a1c8e064e062655cfa8e1171faf9785fb4a90 100644 (file)
@@ -9,6 +9,7 @@ nanosleep
 sched_yield
 
 configure.ac:
+AC_CHECK_DECLS_ONCE([alarm])
 
 Makefile.am:
 TESTS += test-pthread-cond
index cc234afc77d1c4b969a829a91338d7ec03c25b01..068dc24f4295d99bc31f5691b65eb496c30913fc 100644 (file)
@@ -11,6 +11,7 @@ random
 
 configure.ac:
 AC_CHECK_HEADERS_ONCE([semaphore.h])
+AC_CHECK_DECLS_ONCE([alarm])
 AC_REQUIRE([gl_SEMAPHORE])
 
 Makefile.am:
index 9df34462f009e82731b3194592363c5dccb232c9..8ec7030ab869d2d3fcceaf4c7f1f75c490082456 100644 (file)
@@ -10,6 +10,7 @@ pthread-rwlock
 sched_yield
 
 configure.ac:
+AC_CHECK_DECLS_ONCE([alarm])
 
 Makefile.am:
 TESTS += test-pthread-once1 test-pthread-once2
index b63a26787687eb3596ea0131415830e84f158f55..d125cc9d92a89ba94ad837ba84661ff5a517f0ac 100644 (file)
@@ -12,6 +12,7 @@ random
 
 configure.ac:
 AC_CHECK_HEADERS_ONCE([semaphore.h])
+AC_CHECK_DECLS_ONCE([alarm])
 AC_REQUIRE([gl_SEMAPHORE])
 
 Makefile.am:
index c3060b5ee5f9045025526d6d387a1b7c6ecf5b98..6d097e4dd115f74ad1dcb3363bd5cf77812775a4 100644 (file)
@@ -9,6 +9,7 @@ sched_yield
 random
 
 configure.ac:
+AC_CHECK_DECLS_ONCE([alarm])
 
 Makefile.am:
 TESTS += test-pthread-tss
index b6946c141779a4b35aff1a4de8256d5739bea0e1..5055e4ea3cf0c544f9d6a4af3a2a040fdf2fb051 100644 (file)
@@ -8,6 +8,7 @@ localcharset
 wctype-h
 
 configure.ac:
+AC_CHECK_DECLS_ONCE([alarm])
 
 Makefile.am:
 TESTS += test-regex