summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-03-01 17:26:16 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-03-01 17:26:16 +0000
commit3ecf3fd1e856ac3cb404201d7d77ea2fc4de29bb (patch)
treebc6e497e06c586e3beb003c9aef74858cb1c1045
parent23adaf0bed9f894e58874634f8b0fb73b208e637 (diff)
downloadcoreutils-3ecf3fd1e856ac3cb404201d7d77ea2fc4de29bb.tar.xz
(gl_XNANOSLEEP): Remove configuration attempting
to detect nanosleep bug.
-rw-r--r--m4/xnanosleep.m424
1 files changed, 1 insertions, 23 deletions
diff --git a/m4/xnanosleep.m4 b/m4/xnanosleep.m4
index b7866538d..f030bc1bb 100644
--- a/m4/xnanosleep.m4
+++ b/m4/xnanosleep.m4
@@ -1,4 +1,4 @@
-# xnanosleep.m4 serial 1
+# xnanosleep.m4 serial 2
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,
@@ -10,26 +10,4 @@ AC_DEFUN([gl_XNANOSLEEP],
[
AC_LIBSOURCES([xnanosleep.c, xnanosleep.h])
AC_LIBOBJ([xnanosleep])
-
- dnl Prerequisites of lib/xnanosleep.c.
- AC_REQUIRE([gl_PREREQ_GETHRXTIME])
-
- LIB_XNANOSLEEP=
- case $LIB_GETHRXTIME in
- ?*)
- AC_CACHE_CHECK([whether __linux__ is defined],
- gl_cv_have___linux__,
- [AC_EGREP_CPP([have___linux__],
- [
-# ifdef __linux__
- have___linux__
-# endif
- ],
- gl_cv_have___linux__=yes,
- gl_cv_have___linux__=no)])
- if test $gl_cv_have___linux__ = yes; then
- LIB_XNANOSLEEP=$LIB_GETHRXTIME
- fi;;
- esac
- AC_SUBST([LIB_XNANOSLEEP])
])