This is a patch to configure.in which makes autoconf aware of the availability of nanosleep() on Solaris. In Solaris it's in librt, or in libposix4 if you're running an ancient version (<2.6 I think) /dale -------------- next part -------------- Index: configure.in ==================================================================RCS file: /usr/local/cvsroot/icecast/configure.in,v retrieving revision 1.45 diff -u -r1.45 configure.in --- configure.in 29 Jan 2004 23:23:52 -0000 1.45 +++ configure.in 7 Mar 2004 08:36:54 -0000 @@ -62,7 +62,9 @@ dnl Check for types dnl Checks for library functions. -AC_CHECK_FUNCS(localtime_r nanosleep poll) +AC_CHECK_FUNCS(localtime_r poll) +AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP, 1, + [Define if you have nanosleep])) XIPH_NET dnl -- configure options -- +mb+rzqk7&zzmy:.mkabzhj]zrj) '+a{ +v&{ay,ry'rzg-b"V ~)mz
On Sunday 07 March 2004 19:40, Dale Ghent wrote:> This is a patch to configure.in which makes autoconf aware of the > availability of nanosleep() on Solaris. > > In Solaris it's in librt, or in libposix4 if you're running an ancient > version (<2.6 I think) >Thanks. This (and the time_t patch you also sent) have been committed. Mike --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Mar 8, 2004, at 8:54 PM, Michael Smith wrote:> On Sunday 07 March 2004 19:40, Dale Ghent wrote: >> This is a patch to configure.in which makes autoconf aware of the >> availability of nanosleep() on Solaris. >> >> In Solaris it's in librt, or in libposix4 if you're running an ancient >> version (<2.6 I think) >> > > Thanks. This (and the time_t patch you also sent) have been committed.Cool! I'm also re-working that time limiter patch. I didn't realize a lot had changed between 2.0 -release and cvs HEAD. /dale --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.