Re: autoconf check for nanosleep()

Drazen Kacar <> writes:
> I found autoconf check for nanosleep() in esound, but it's probably
> present in other modules. Checking if that function is in libposix4 is
> most likely Solaris specific, at least as far as I know. 

Yep.  But that doesn't make a difference.  On other systems, even that
check will fail, so nothing is lost.

> The slight problem with this is that Solaris API moved that function
> to librt, so that one should be checked first and libposix4 should
> be checked if that fails. libposix4 still contains the function, but
> it will be dropped in a future release, most likely.

OK.  I've checked in this modification.  I only have a Solaris 2.6
m/c. -- so I wasn't able to verify this change.

- Hari
Raja R Harinath ------------------------------
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]