From 00893e79fc62966067af1a106567db96bd170338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 3 Mar 2024 19:11:32 +0100 Subject: New upstream version 1.2 --- gnulib-m4/semaphore.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnulib-m4/semaphore.m4') diff --git a/gnulib-m4/semaphore.m4 b/gnulib-m4/semaphore.m4 index c6be7b94..9d434320 100644 --- a/gnulib-m4/semaphore.m4 +++ b/gnulib-m4/semaphore.m4 @@ -1,5 +1,5 @@ -# semaphore.m4 serial 1 -dnl Copyright (C) 2019-2022 Free Software Foundation, Inc. +# semaphore.m4 serial 2 +dnl Copyright (C) 2019-2024 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. @@ -19,7 +19,7 @@ AC_DEFUN([gl_SEMAPHORE], dnl $LIBMULTITHREAD. Therefore, the only library we need to test for is -lrt. AC_CACHE_CHECK([for library needed for semaphore functions], [gl_cv_semaphore_lib], - [save_LIBS="$LIBS" + [saved_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" AC_LINK_IFELSE( [AC_LANG_PROGRAM( @@ -34,7 +34,7 @@ AC_DEFUN([gl_SEMAPHORE], [gl_cv_semaphore_lib='-lrt'], [gl_cv_semaphore_lib=none]) ]) - LIBS="$save_LIBS" + LIBS="$saved_LIBS" ]) if test "x$gl_cv_semaphore_lib" = xnone; then LIB_SEMAPHORE= -- cgit v1.2.3