diff options
author | Bruno Haible <bruno@clisp.org> | 2023-01-07 11:26:46 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-01-07 18:06:51 +0100 |
commit | 7acb45cea1fd307793ad7cde286e4e4e97b09a1d (patch) | |
tree | 999bba713c7c8e8d35e496e99956d975cb652eec | |
parent | 811de3eaff60284f4a705509cc39504f991712d2 (diff) | |
download | gnulib-7acb45cea1fd307793ad7cde286e4e4e97b09a1d.tar.gz |
gethrxtime: Rename LIB_GETHRXTIME to GETHRXTIME_LIB.
* m4/gethrxtime.m4: Rename LIB_GETHRXTIME to GETHRXTIME_LIB.
All uses changed.
* NEWS: Mention the change.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | m4/gethrxtime.m4 | 9 | ||||
-rw-r--r-- | modules/gethrxtime | 2 |
4 files changed, 17 insertions, 4 deletions
@@ -1,5 +1,12 @@ 2023-01-07 Bruno Haible <bruno@clisp.org> + gethrxtime: Rename LIB_GETHRXTIME to GETHRXTIME_LIB. + * m4/gethrxtime.m4: Rename LIB_GETHRXTIME to GETHRXTIME_LIB. + All uses changed. + * NEWS: Mention the change. + +2023-01-07 Bruno Haible <bruno@clisp.org> + fdatasync: Rename LIB_FDATASYNC to FDATASYNC_LIB. * m4/fdatasync.m4: Rename LIB_FDATASYNC to FDATASYNC_LIB. All uses changed. @@ -74,6 +74,9 @@ User visible incompatible changes Date Modules Changes +2023-01-07 gethrxtime Link with $(GETHRXTIME_LIB) instead of + $(LIB_GETHRXTIME). + 2023-01-07 fdatasync Link with $(FDATASYNC_LIB) instead of $(LIB_FDATASYNC). diff --git a/m4/gethrxtime.m4 b/m4/gethrxtime.m4 index 8c0cccf625..f92ed7f810 100644 --- a/m4/gethrxtime.m4 +++ b/m4/gethrxtime.m4 @@ -1,4 +1,4 @@ -# gethrxtime.m4 serial 14 +# gethrxtime.m4 serial 15 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, @@ -12,7 +12,7 @@ AC_DEFUN([gl_GETHRXTIME], AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_XTIME]) AC_CHECK_DECLS([gethrtime], [], [], [[#include <time.h>]]) - LIB_GETHRXTIME= + GETHRXTIME_LIB= if test $ac_cv_have_decl_gethrtime = no \ || test $gl_cv_arithmetic_hrtime_t = no; then dnl Find libraries needed to link lib/gethrxtime.c. @@ -34,10 +34,13 @@ 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=$CLOCK_TIME_LIB + GETHRXTIME_LIB=$CLOCK_TIME_LIB fi fi fi + AC_SUBST([GETHRXTIME_LIB]) + dnl For backward compatibility. + LIB_GETHRXTIME="$GETHRXTIME_LIB" AC_SUBST([LIB_GETHRXTIME]) ]) diff --git a/modules/gethrxtime b/modules/gethrxtime index b4a715f3ea..6bb274cf3e 100644 --- a/modules/gethrxtime +++ b/modules/gethrxtime @@ -25,7 +25,7 @@ Include: "xtime.h" Link: -$(LIB_GETHRXTIME) +$(GETHRXTIME_LIB) License: GPL |