]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Simplify.
authorBruno Haible <bruno@clisp.org>
Sat, 14 Jun 2025 17:47:28 +0000 (19:47 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 14 Jun 2025 18:04:37 +0000 (20:04 +0200)
* gettext-runtime/configure.ac (LIBSCHED): Remove variable.

gettext-runtime/configure.ac

index 3bc90b57c1dc4154b758a50ef01598455c221c71..9d2b6060c8b7f7cdcb7f04ae4f512fd01a785146 100644 (file)
@@ -220,17 +220,6 @@ AC_SUBST([CROSS_COMPILING])
 dnl Checks for optional programs for the tests/lang-* tests.
 gl_PROG_ANSI_CXX([CXX], [ANSICXX])
 
-dnl Checks for special libraries for the tests/test-lock test.
-dnl On some systems, sched_yield is in librt, rather than in libpthread.
-LIBSCHED=
-if test $gl_threads_api = posix; then
-  dnl Solaris has sched_yield in librt, not in libpthread or libc.
-  AC_CHECK_LIB([rt], [sched_yield], [LIBSCHED=-lrt],
-    [dnl Solaris 2.5.1, 2.6 has sched_yield in libposix4, not librt.
-     AC_CHECK_LIB([posix4], [sched_yield], [LIBSCHED=-lposix4])])
-fi
-AC_SUBST([LIBSCHED])
-
 dnl Determine whether to build libasprintf.
 AC_ARG_ENABLE([libasprintf],
   [  --disable-libasprintf   do not build libasprintf],