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

[svn] Check for nanosleep in -lrt and -lposix4.

This commit is contained in:
hniksic 2003-11-03 14:46:15 -08:00
parent 8cd9b4cd8a
commit 829572d773
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-11-03 Hrvoje Niksic <hniksic@xemacs.org>
* configure.in: Look for nanosleep in -lrt and -lposix4, which is
where Solaris has them.
2003-11-03 Hrvoje Niksic <hniksic@xemacs.org> 2003-11-03 Hrvoje Niksic <hniksic@xemacs.org>
* configure.in: Check for nanosleep. * configure.in: Check for nanosleep.

View File

@ -194,7 +194,10 @@ AC_FUNC_MMAP
AC_CHECK_FUNCS(strdup strstr strcasecmp strncasecmp strpbrk memmove) 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 nanosleep usleep) AC_CHECK_FUNCS(uname gethostname usleep)
AC_CHECK_FUNC(nanosleep,,[
AC_CHECK_LIB(rt,nanosleep,,[
AC_CHECK_LIB(posix4,nanosleep)])])
dnl dnl
dnl Check if we need to compile in getopt.c. dnl Check if we need to compile in getopt.c.