1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-17 09:06:50 +02:00

* gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Reverse sense of test for

CLOCK_MONOTONIC.  Otherwise, linking a gethrxtime-using program
with $(LIB_GETHRXTIME) could fail due to unresolved clock_gettime.
Reported by Gabor Z. Papp.
This commit is contained in:
Jim Meyering
2006-08-18 07:34:06 +00:00
parent 22d4295325
commit f0703928e4
2 changed files with 9 additions and 2 deletions
+7
View File
@@ -1,3 +1,10 @@
2006-08-18 Jim Meyering <jim@meyering.net>
* gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Reverse sense of test for
CLOCK_MONOTONIC. Otherwise, linking a gethrxtime-using program
with $(LIB_GETHRXTIME) could fail due to unresolved clock_gettime.
Reported by Gabor Z. Papp.
2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
* ChangeLog: Add copyright notice.
+2 -2
View File
@@ -1,5 +1,5 @@
# gethrxtime.m4 serial 3
dnl Copyright (C) 2005 Free Software Foundation, Inc.
dnl Copyright (C) 2005, 2006 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.
@@ -67,7 +67,7 @@ AC_DEFUN([gl_PREREQ_GETHRXTIME],
],
gl_cv_have_CLOCK_MONOTONIC=yes,
gl_cv_have_CLOCK_MONOTONIC=no)])
if test $gl_cv_have_CLOCK_MONOTONIC = yes; then
if test $gl_cv_have_CLOCK_MONOTONIC = no; then
LIB_GETHRXTIME=$LIB_CLOCK_GETTIME
fi
AC_SUBST([LIB_GETHRXTIME])