1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Actually define HAVE_NANOSLEEP if it's found in -lrt.

This commit is contained in:
hniksic 2003-11-03 15:13:11 -08:00
parent 829572d773
commit 3f039e9360

View File

@ -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(gettimeofday mktime strptime strerror snprintf vsnprintf)
AC_CHECK_FUNCS(select sigblock sigsetjmp signal symlink access isatty) AC_CHECK_FUNCS(select sigblock sigsetjmp signal symlink access isatty)
AC_CHECK_FUNCS(uname gethostname usleep) AC_CHECK_FUNCS(uname gethostname usleep)
AC_CHECK_FUNC(nanosleep,,[ AC_CHECK_FUNCS(nanosleep,,[
AC_CHECK_LIB(rt,nanosleep,,[ AC_CHECK_LIB(rt,nanosleep,[AC_DEFINE(HAVE_NANOSLEEP)],[
AC_CHECK_LIB(posix4,nanosleep)])]) AC_CHECK_LIB(posix4,nanosleep,[AC_DEFINE(HAVE_NANOSLEEP)])])])
dnl dnl
dnl Check if we need to compile in getopt.c. dnl Check if we need to compile in getopt.c.