X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fxnanosleep.m4;h=7e132d3e4903dc7adb9bc3f02a430224d550e0d6;hb=772a6b7e3fa813310c645f81e83842f598bbc2e7;hp=b7866538ddefd1ace9d755a8276c826b09438bad;hpb=10ce26c08f4e8ffe6ac636b1fec6a33a847b0d3a;p=gnulib.git diff --git a/m4/xnanosleep.m4 b/m4/xnanosleep.m4 index b7866538d..7e132d3e4 100644 --- a/m4/xnanosleep.m4 +++ b/m4/xnanosleep.m4 @@ -1,5 +1,5 @@ -# xnanosleep.m4 serial 1 -dnl Copyright (C) 2005 Free Software Foundation, Inc. +#serial 4 +dnl Copyright (C) 2005-2006, 2009-2010 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. @@ -8,28 +8,5 @@ dnl Written by Paul Eggert. 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]) ])