diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-03-02 13:28:18 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-03-02 13:28:18 +0000 |
commit | f8f660d5c519a804ff984f343997dfaa8d4a1739 (patch) | |
tree | b158ce531e44490bf4e89424148df19d8db0bff3 /configure.ac | |
parent | da86e174fd2fb35de28cc146c007ef654b72f9cf (diff) |
Provide nanosleep if we have it, and use it to implement usleep
Fixes #1156
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e28b11f..1ff48cc 100644 --- a/configure.ac +++ b/configure.ac @@ -19,6 +19,7 @@ AC_CHECK_HEADERS([termios.h time.h unistd.h utime.h]) AC_CHECK_FUNCS([getgrgid_r getgrnam_r getpwnam_r getpwuid_r getpwnam getpwuid]) AC_CHECK_FUNCS([getpwent getgrent]) AC_CHECK_FUNCS([lchown setenv sysconf unsetenv]) +AC_CHECK_FUNCS([nanosleep]) AC_MSG_CHECKING([for _SC_GETGR_R_SIZE_MAX]) AC_EGREP_CPP(we_have_that_sysconf_thing, |