summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-12-19 22:30:14 +0000
committerJim Meyering <jim@meyering.net>2003-12-19 22:30:14 +0000
commita086112e73e20c08ea14934f2c36d7bdf4d15bf2 (patch)
tree68ff3973d3dec393d9f32949742e69f77e374cb8
parent6f438344f16b4f3f387d50588e1f4da433ad105e (diff)
downloadcoreutils-a086112e73e20c08ea14934f2c36d7bdf4d15bf2.tar.xz
Duh. Fix last change.
-rw-r--r--m4/clock_time.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/clock_time.m4 b/m4/clock_time.m4
index 6cd7c6a3b..eabeba8b9 100644
--- a/m4/clock_time.m4
+++ b/m4/clock_time.m4
@@ -17,8 +17,8 @@ AC_DEFUN([gl_CLOCK_TIME],
# library, inducing unnecessary run-time overhead.
fetish_saved_libs=$LIBS
AC_SEARCH_LIBS(clock_gettime, [rt posix4],
- [LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime
- test -z "$LIB_CLOCK_GETTIME" && LIB_CLOCK_GETTIME=])
+ [test "$ac_cv_search_clock_gettime" = "none required" ||
+ LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
AC_SUBST(LIB_CLOCK_GETTIME)
AC_CHECK_FUNCS(clock_gettime clock_settime)
LIBS=$fetish_saved_libs