From 419cf94406fc62731a147bf18d39eea2a75ac41c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 7 Jan 2023 11:10:34 +0100 Subject: [PATCH 01/18] clock_time: Rename LIB_CLOCK_GETTIME to CLOCK_TIME_LIB. * m4/clock_time.m4: Rename LIB_CLOCK_GETTIME to CLOCK_TIME_LIB. All uses changed. * NEWS: Mention the change. --- ChangeLog | 7 +++++++ NEWS | 3 +++ m4/clock_time.m4 | 15 +++++++++------ m4/gethrxtime.m4 | 4 ++-- modules/clock-time | 2 +- modules/copy-file-tests | 2 +- modules/fcntl-h-c++-tests | 2 +- modules/fdutimensat-tests | 2 +- modules/futimens | 2 +- modules/futimens-tests | 2 +- modules/gettime | 2 +- modules/gettime-res | 2 +- modules/gettime-res-tests | 2 +- modules/getumask | 2 +- modules/getumask-tests | 2 +- modules/glob-h-c++-tests | 2 +- modules/mkdtemp | 2 +- modules/mkostemp | 2 +- modules/mkostemps | 2 +- modules/mkstemp | 2 +- modules/mkstemps | 2 +- modules/parse-datetime-tests | 2 +- modules/settime | 2 +- modules/stdlib-c++-tests | 2 +- modules/supersede | 2 +- modules/supersede-tests | 2 +- modules/sys_ioctl-c++-tests | 2 +- modules/sys_stat-c++-tests | 2 +- modules/tempname | 2 +- modules/tempname-tests | 2 +- modules/time-c++-tests | 2 +- modules/timespec_get | 2 +- modules/timespec_get-tests | 2 +- modules/timespec_getres | 2 +- modules/timespec_getres-tests | 2 +- modules/tmpfile | 2 +- modules/tmpfile-safer | 2 +- modules/unistd-c++-tests | 2 +- modules/utime-tests | 2 +- modules/utimens | 2 +- modules/utimens-tests | 2 +- modules/utimensat-tests | 2 +- 42 files changed, 59 insertions(+), 46 deletions(-) diff --git a/ChangeLog b/ChangeLog index f531198fbb..9da31ee4e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2023-01-07 Bruno Haible + + clock_time: Rename LIB_CLOCK_GETTIME to CLOCK_TIME_LIB. + * m4/clock_time.m4: Rename LIB_CLOCK_GETTIME to CLOCK_TIME_LIB. + All uses changed. + * NEWS: Mention the change. + 2023-01-06 Paul Eggert file-has-acl: don’t bother setting LIB_HAS_ACL diff --git a/NEWS b/NEWS index 65dcce7590..64f83a622a 100644 --- a/NEWS +++ b/NEWS @@ -74,6 +74,9 @@ User visible incompatible changes Date Modules Changes +2023-01-07 clock_time Link with $(CLOCK_TIME_LIB) instead of + $(LIB_CLOCK_GETTIME). + 2023-01-06 file-has-acl Link with $(FILE_HAS_ACL_LIB), not $(LIB_HAS_ACL). 2022-12-25 largefile configure no longer enables year-2038 support, diff --git a/m4/clock_time.m4 b/m4/clock_time.m4 index 411e0710e7..d624a73d35 100644 --- a/m4/clock_time.m4 +++ b/m4/clock_time.m4 @@ -1,14 +1,14 @@ -# clock_time.m4 serial 11 +# clock_time.m4 serial 12 dnl Copyright (C) 2002-2006, 2009-2023 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. # Check for clock_getres, clock_gettime and clock_settime, -# and set LIB_CLOCK_GETTIME. +# and set CLOCK_TIME_LIB. # For a program named, say foo, you should add a line like the following # in the corresponding Makefile.am file: -# foo_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) +# foo_LDADD = $(LDADD) $(CLOCK_TIME_LIB) AC_DEFUN([gl_CLOCK_TIME], [ @@ -21,12 +21,15 @@ AC_DEFUN([gl_CLOCK_TIME], # Save and restore LIBS so e.g., -lrt, isn't added to it. Otherwise, *all* # programs in the package would end up linked with that potentially-shared # library, inducing unnecessary run-time overhead. - LIB_CLOCK_GETTIME= - AC_SUBST([LIB_CLOCK_GETTIME]) + CLOCK_TIME_LIB= + AC_SUBST([CLOCK_TIME_LIB]) gl_saved_libs=$LIBS AC_SEARCH_LIBS([clock_gettime], [rt posix4], [test "$ac_cv_search_clock_gettime" = "none required" || - LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime]) + CLOCK_TIME_LIB=$ac_cv_search_clock_gettime]) AC_CHECK_FUNCS([clock_getres clock_gettime clock_settime]) LIBS=$gl_saved_libs + # For backward compatibility. + LIB_CLOCK_GETTIME="$CLOCK_TIME_LIB" + AC_SUBST([LIB_CLOCK_GETTIME]) ]) diff --git a/m4/gethrxtime.m4 b/m4/gethrxtime.m4 index 67b9c8c699..8c0cccf625 100644 --- a/m4/gethrxtime.m4 +++ b/m4/gethrxtime.m4 @@ -1,4 +1,4 @@ -# gethrxtime.m4 serial 13 +# gethrxtime.m4 serial 14 dnl Copyright (C) 2005-2006, 2008-2023 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -34,7 +34,7 @@ AC_DEFUN([gl_GETHRXTIME], [gl_cv_have_clock_gettime_macro=yes], [gl_cv_have_clock_gettime_macro=no])]) if test $gl_cv_have_clock_gettime_macro = yes; then - LIB_GETHRXTIME=$LIB_CLOCK_GETTIME + LIB_GETHRXTIME=$CLOCK_TIME_LIB fi fi fi diff --git a/modules/clock-time b/modules/clock-time index fc867ae0fc..0ec3e641b5 100644 --- a/modules/clock-time +++ b/modules/clock-time @@ -15,7 +15,7 @@ Makefile.am: Include: Link: -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPLv2+ diff --git a/modules/copy-file-tests b/modules/copy-file-tests index a0788755f1..e20191ad24 100644 --- a/modules/copy-file-tests +++ b/modules/copy-file-tests @@ -18,4 +18,4 @@ Makefile.am: TESTS += test-copy-file.sh test-copy-file-1.sh test-copy-file-2.sh TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL) check_PROGRAMS += test-copy-file -test_copy_file_LDADD = $(LDADD) $(LIB_ACL) $(LIB_CLOCK_GETTIME) @LIBINTL@ $(LIB_MBRTOWC) +test_copy_file_LDADD = $(LDADD) $(LIB_ACL) $(CLOCK_TIME_LIB) @LIBINTL@ $(LIB_MBRTOWC) diff --git a/modules/fcntl-h-c++-tests b/modules/fcntl-h-c++-tests index a3182a5367..44e9e285ce 100644 --- a/modules/fcntl-h-c++-tests +++ b/modules/fcntl-h-c++-tests @@ -15,5 +15,5 @@ if ANSICXX TESTS += test-fcntl-h-c++ check_PROGRAMS += test-fcntl-h-c++ test_fcntl_h_c___SOURCES = test-fcntl-h-c++.cc -test_fcntl_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIBSOCKET) +test_fcntl_h_c___LDADD = $(LDADD) $(LIBINTL) $(CLOCK_TIME_LIB) $(LIB_EACCESS) $(LIBSOCKET) endif diff --git a/modules/fdutimensat-tests b/modules/fdutimensat-tests index 1f492a6989..e34ef6233b 100644 --- a/modules/fdutimensat-tests +++ b/modules/fdutimensat-tests @@ -22,5 +22,5 @@ configure.ac: Makefile.am: TESTS += test-fdutimensat check_PROGRAMS += test-fdutimensat -test_fdutimensat_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) \ +test_fdutimensat_LDADD = $(LDADD) $(CLOCK_TIME_LIB) \ $(LIB_NANOSLEEP) @LIBINTL@ diff --git a/modules/futimens b/modules/futimens index c081b6fe02..e63ff78b78 100644 --- a/modules/futimens +++ b/modules/futimens @@ -25,7 +25,7 @@ Include: Link: -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPL diff --git a/modules/futimens-tests b/modules/futimens-tests index 636f8426b6..9b82da1450 100644 --- a/modules/futimens-tests +++ b/modules/futimens-tests @@ -21,4 +21,4 @@ configure.ac: Makefile.am: TESTS += test-futimens check_PROGRAMS += test-futimens -test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@ +test_futimens_LDADD = $(LDADD) $(CLOCK_TIME_LIB) $(LIB_NANOSLEEP) @LIBINTL@ diff --git a/modules/gettime b/modules/gettime index fcbb644efe..78a49f1f7f 100644 --- a/modules/gettime +++ b/modules/gettime @@ -22,7 +22,7 @@ Include: "timespec.h" Link: -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPL diff --git a/modules/gettime-res b/modules/gettime-res index 90f3e81d5a..261d74adc2 100644 --- a/modules/gettime-res +++ b/modules/gettime-res @@ -21,7 +21,7 @@ Include: "timespec.h" Link: -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPL diff --git a/modules/gettime-res-tests b/modules/gettime-res-tests index b169f1c187..158518e8d6 100644 --- a/modules/gettime-res-tests +++ b/modules/gettime-res-tests @@ -9,4 +9,4 @@ configure.ac: Makefile.am: TESTS += test-gettime-res check_PROGRAMS += test-gettime-res -test_gettime_res_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) +test_gettime_res_LDADD = $(LDADD) $(CLOCK_TIME_LIB) diff --git a/modules/getumask b/modules/getumask index 5f70901a6d..4e8b843ed2 100644 --- a/modules/getumask +++ b/modules/getumask @@ -31,7 +31,7 @@ Include: Link: $(LIB_GETRANDOM) -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) $(LIBTHREAD) License: diff --git a/modules/getumask-tests b/modules/getumask-tests index 0f617dab5b..455ef0ff6b 100644 --- a/modules/getumask-tests +++ b/modules/getumask-tests @@ -10,4 +10,4 @@ configure.ac: Makefile.am: TESTS += test-getumask check_PROGRAMS += test-getumask -test_getumask_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) $(LIBINTL) $(LIBTHREAD) +test_getumask_LDADD = $(LDADD) $(CLOCK_TIME_LIB) $(LIB_GETRANDOM) $(LIBINTL) $(LIBTHREAD) diff --git a/modules/glob-h-c++-tests b/modules/glob-h-c++-tests index 4ae96408e2..ed8a008199 100644 --- a/modules/glob-h-c++-tests +++ b/modules/glob-h-c++-tests @@ -15,5 +15,5 @@ if ANSICXX TESTS += test-glob-h-c++ check_PROGRAMS += test-glob-h-c++ test_glob_h_c___SOURCES = test-glob-h-c++.cc -test_glob_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_MBRTOWC) +test_glob_h_c___LDADD = $(LDADD) $(LIBINTL) $(CLOCK_TIME_LIB) $(LIB_MBRTOWC) endif diff --git a/modules/mkdtemp b/modules/mkdtemp index bf531dddcf..63a62c3f54 100644 --- a/modules/mkdtemp +++ b/modules/mkdtemp @@ -28,7 +28,7 @@ Include: Link: $(LIB_GETRANDOM) -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPLv2+ diff --git a/modules/mkostemp b/modules/mkostemp index 120b5d5d92..a77f5b7538 100644 --- a/modules/mkostemp +++ b/modules/mkostemp @@ -31,7 +31,7 @@ Include: Link: $(LIB_GETRANDOM) -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPLv2+ diff --git a/modules/mkostemps b/modules/mkostemps index 5d6fe672f7..051ca8368f 100644 --- a/modules/mkostemps +++ b/modules/mkostemps @@ -28,7 +28,7 @@ Include: Link: $(LIB_GETRANDOM) -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPLv2+ diff --git a/modules/mkstemp b/modules/mkstemp index 1b83548197..22de2c4e99 100644 --- a/modules/mkstemp +++ b/modules/mkstemp @@ -30,7 +30,7 @@ Include: Link: $(LIB_GETRANDOM) -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPLv2+ diff --git a/modules/mkstemps b/modules/mkstemps index bcd44f5202..6ae3beeecf 100644 --- a/modules/mkstemps +++ b/modules/mkstemps @@ -27,7 +27,7 @@ Include: Link: $(LIB_GETRANDOM) -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPLv2+ diff --git a/modules/parse-datetime-tests b/modules/parse-datetime-tests index 7c62b8024a..6e0cdcc8d7 100644 --- a/modules/parse-datetime-tests +++ b/modules/parse-datetime-tests @@ -10,4 +10,4 @@ configure.ac: Makefile.am: TESTS += test-parse-datetime check_PROGRAMS += test-parse-datetime -test_parse_datetime_LDADD = $(LDADD) @LIBINTL@ $(LIB_CLOCK_GETTIME) +test_parse_datetime_LDADD = $(LDADD) @LIBINTL@ $(CLOCK_TIME_LIB) diff --git a/modules/settime b/modules/settime index 8f097f7860..a778febe11 100644 --- a/modules/settime +++ b/modules/settime @@ -22,7 +22,7 @@ Include: "timespec.h" Link: -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: GPL diff --git a/modules/stdlib-c++-tests b/modules/stdlib-c++-tests index 465ebfedab..3ae34cb388 100644 --- a/modules/stdlib-c++-tests +++ b/modules/stdlib-c++-tests @@ -16,5 +16,5 @@ if ANSICXX TESTS += test-stdlib-c++ check_PROGRAMS += test-stdlib-c++ test_stdlib_c___SOURCES = test-stdlib-c++.cc test-stdlib-c++2.cc -test_stdlib_c___LDADD = $(LDADD) $(LIBINTL) $(GETLOADAVG_LIBS) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIB_GETRANDOM) +test_stdlib_c___LDADD = $(LDADD) $(LIBINTL) $(GETLOADAVG_LIBS) $(CLOCK_TIME_LIB) $(LIB_EACCESS) $(LIB_GETRANDOM) endif diff --git a/modules/supersede b/modules/supersede index 5e458536a2..64a25e53ad 100644 --- a/modules/supersede +++ b/modules/supersede @@ -37,7 +37,7 @@ Include: Link: $(LIB_ACL) $(LIB_GETRANDOM) -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) $(LIBTHREAD) License: diff --git a/modules/supersede-tests b/modules/supersede-tests index 7224d2e31e..5166736fce 100644 --- a/modules/supersede-tests +++ b/modules/supersede-tests @@ -19,4 +19,4 @@ configure.ac: Makefile.am: TESTS += test-supersede check_PROGRAMS += test-supersede -test_supersede_LDADD = $(LDADD) $(LIB_ACL) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) $(LIBINTL) $(LIBTHREAD) +test_supersede_LDADD = $(LDADD) $(LIB_ACL) $(CLOCK_TIME_LIB) $(LIB_GETRANDOM) $(LIBINTL) $(LIBTHREAD) diff --git a/modules/sys_ioctl-c++-tests b/modules/sys_ioctl-c++-tests index 557b33d621..3f524df025 100644 --- a/modules/sys_ioctl-c++-tests +++ b/modules/sys_ioctl-c++-tests @@ -15,5 +15,5 @@ if ANSICXX TESTS += test-sys_ioctl-c++ check_PROGRAMS += test-sys_ioctl-c++ test_sys_ioctl_c___SOURCES = test-sys_ioctl-c++.cc -test_sys_ioctl_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) +test_sys_ioctl_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(CLOCK_TIME_LIB) $(LIB_EACCESS) endif diff --git a/modules/sys_stat-c++-tests b/modules/sys_stat-c++-tests index 3a612151b4..c12ad60819 100644 --- a/modules/sys_stat-c++-tests +++ b/modules/sys_stat-c++-tests @@ -15,5 +15,5 @@ if ANSICXX TESTS += test-sys_stat-c++ check_PROGRAMS += test-sys_stat-c++ test_sys_stat_c___SOURCES = test-sys_stat-c++.cc -test_sys_stat_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_MBRTOWC) $(LIB_GETRANDOM) +test_sys_stat_c___LDADD = $(LDADD) $(LIBINTL) $(CLOCK_TIME_LIB) $(LIB_MBRTOWC) $(LIB_GETRANDOM) endif diff --git a/modules/tempname b/modules/tempname index f1fb78e8ff..27699a8fe3 100644 --- a/modules/tempname +++ b/modules/tempname @@ -33,7 +33,7 @@ Include: Link: $(LIB_GETRANDOM) -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPLv2+ diff --git a/modules/tempname-tests b/modules/tempname-tests index adccd0d8e9..2ff355281e 100644 --- a/modules/tempname-tests +++ b/modules/tempname-tests @@ -13,4 +13,4 @@ configure.ac: Makefile.am: TESTS += test-tempname check_PROGRAMS += test-tempname -test_tempname_LDADD = $(LDADD) $(LIB_GETRANDOM) $(LIB_CLOCK_GETTIME) +test_tempname_LDADD = $(LDADD) $(LIB_GETRANDOM) $(CLOCK_TIME_LIB) diff --git a/modules/time-c++-tests b/modules/time-c++-tests index f8dd779965..520e86e5c1 100644 --- a/modules/time-c++-tests +++ b/modules/time-c++-tests @@ -16,5 +16,5 @@ if ANSICXX TESTS += test-time-c++ check_PROGRAMS += test-time-c++ test_time_c___SOURCES = test-time-c++.cc test-time-c++2.cc -test_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_CLOCK_GETTIME) +test_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(CLOCK_TIME_LIB) endif diff --git a/modules/timespec_get b/modules/timespec_get index 99ef6e8afc..b1b33b494d 100644 --- a/modules/timespec_get +++ b/modules/timespec_get @@ -24,7 +24,7 @@ Include: Link: -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPL diff --git a/modules/timespec_get-tests b/modules/timespec_get-tests index f13e199ad7..7784792196 100644 --- a/modules/timespec_get-tests +++ b/modules/timespec_get-tests @@ -10,4 +10,4 @@ configure.ac: Makefile.am: TESTS += test-timespec_get check_PROGRAMS += test-timespec_get -test_timespec_get_LDADD = $(LDADD) @LIB_CLOCK_GETTIME@ +test_timespec_get_LDADD = $(LDADD) @CLOCK_TIME_LIB@ diff --git a/modules/timespec_getres b/modules/timespec_getres index 026eb0772d..7dc67bab78 100644 --- a/modules/timespec_getres +++ b/modules/timespec_getres @@ -24,7 +24,7 @@ Include: Link: -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPL diff --git a/modules/timespec_getres-tests b/modules/timespec_getres-tests index 9bb83cc795..317d85182e 100644 --- a/modules/timespec_getres-tests +++ b/modules/timespec_getres-tests @@ -10,4 +10,4 @@ configure.ac: Makefile.am: TESTS += test-timespec_getres check_PROGRAMS += test-timespec_getres -test_timespec_getres_LDADD = $(LDADD) @LIB_CLOCK_GETTIME@ +test_timespec_getres_LDADD = $(LDADD) @CLOCK_TIME_LIB@ diff --git a/modules/tmpfile b/modules/tmpfile index fc65fa581e..6a13f830f5 100644 --- a/modules/tmpfile +++ b/modules/tmpfile @@ -31,7 +31,7 @@ Include: Link: $(LIB_GETRANDOM) -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPL diff --git a/modules/tmpfile-safer b/modules/tmpfile-safer index d385cdb5ad..fc9db9ef7f 100644 --- a/modules/tmpfile-safer +++ b/modules/tmpfile-safer @@ -22,7 +22,7 @@ Include: Link: $(LIB_GETRANDOM) -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: GPL diff --git a/modules/unistd-c++-tests b/modules/unistd-c++-tests index 3aaf52bbe7..0e35d0f909 100644 --- a/modules/unistd-c++-tests +++ b/modules/unistd-c++-tests @@ -15,5 +15,5 @@ if ANSICXX TESTS += test-unistd-c++ check_PROGRAMS += test-unistd-c++ test_unistd_c___SOURCES = test-unistd-c++.cc -test_unistd_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIBSOCKET) $(LIB_GETLOGIN) $(LIB_GETRANDOM) +test_unistd_c___LDADD = $(LDADD) $(LIBINTL) $(CLOCK_TIME_LIB) $(LIB_EACCESS) $(LIBSOCKET) $(LIB_GETLOGIN) $(LIB_GETRANDOM) endif diff --git a/modules/utime-tests b/modules/utime-tests index 3f30f92925..b7464cdb1f 100644 --- a/modules/utime-tests +++ b/modules/utime-tests @@ -19,4 +19,4 @@ configure.ac: Makefile.am: TESTS += test-utime check_PROGRAMS += test-utime -test_utime_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@ +test_utime_LDADD = $(LDADD) $(CLOCK_TIME_LIB) $(LIB_NANOSLEEP) @LIBINTL@ diff --git a/modules/utimens b/modules/utimens index c124cb5cbe..73f757021e 100644 --- a/modules/utimens +++ b/modules/utimens @@ -34,7 +34,7 @@ Include: "utimens.h" Link: -$(LIB_CLOCK_GETTIME) +$(CLOCK_TIME_LIB) License: LGPL diff --git a/modules/utimens-tests b/modules/utimens-tests index b3e066f95f..9aee72e517 100644 --- a/modules/utimens-tests +++ b/modules/utimens-tests @@ -22,4 +22,4 @@ configure.ac: Makefile.am: TESTS += test-utimens check_PROGRAMS += test-utimens -test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@ +test_utimens_LDADD = $(LDADD) $(CLOCK_TIME_LIB) $(LIB_NANOSLEEP) @LIBINTL@ diff --git a/modules/utimensat-tests b/modules/utimensat-tests index d713b7052c..85d64d640d 100644 --- a/modules/utimensat-tests +++ b/modules/utimensat-tests @@ -19,4 +19,4 @@ configure.ac: Makefile.am: TESTS += test-utimensat check_PROGRAMS += test-utimensat -test_utimensat_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@ +test_utimensat_LDADD = $(LDADD) $(CLOCK_TIME_LIB) $(LIB_NANOSLEEP) @LIBINTL@ -- 2.34.1