summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/gethrxtime.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/gethrxtime.m4 b/m4/gethrxtime.m4
index 1277a7891..2b6fe367c 100644
--- a/m4/gethrxtime.m4
+++ b/m4/gethrxtime.m4
@@ -1,5 +1,5 @@
# gethrxtime.m4 serial 3
-dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+dnl Copyright (C) 2005 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 = no; then
+ if test $gl_cv_have_CLOCK_MONOTONIC = yes; then
LIB_GETHRXTIME=$LIB_CLOCK_GETTIME
fi
AC_SUBST([LIB_GETHRXTIME])