mirror of
https://github.com/mirror/wget.git
synced 2025-01-19 08:40:36 +08:00
[svn] Actually define HAVE_NANOSLEEP if it's found in -lrt.
This commit is contained in:
parent
829572d773
commit
3f039e9360
@ -195,9 +195,9 @@ AC_CHECK_FUNCS(strdup strstr strcasecmp strncasecmp strpbrk memmove)
|
||||
AC_CHECK_FUNCS(gettimeofday mktime strptime strerror snprintf vsnprintf)
|
||||
AC_CHECK_FUNCS(select sigblock sigsetjmp signal symlink access isatty)
|
||||
AC_CHECK_FUNCS(uname gethostname usleep)
|
||||
AC_CHECK_FUNC(nanosleep,,[
|
||||
AC_CHECK_LIB(rt,nanosleep,,[
|
||||
AC_CHECK_LIB(posix4,nanosleep)])])
|
||||
AC_CHECK_FUNCS(nanosleep,,[
|
||||
AC_CHECK_LIB(rt,nanosleep,[AC_DEFINE(HAVE_NANOSLEEP)],[
|
||||
AC_CHECK_LIB(posix4,nanosleep,[AC_DEFINE(HAVE_NANOSLEEP)])])])
|
||||
|
||||
dnl
|
||||
dnl Check if we need to compile in getopt.c.
|
||||
|
Loading…
Reference in New Issue
Block a user