Re: Bugfixes in Sophie

Vanja Hrustic <[email protected]>
Newsgroups gmane.comp.security.virus.vtools
Message-ID <[email protected]>
On Tue, 27 Jan 2004 21:13:55 +0000
Lars Hecking <[email protected]> wrote:

> Maciej Uhlig writes:
> > Vanja:
> > 
> > > - check for nanosleep (-lrt was hardcoded)
> > 
> > please try to take into account differences between (still supported)
> > Solaris versions:
> > 
> > Solaris 2.5.1, 2.6: cc [ flag ... ] file ...  -lposix4 [ library ... ]
> > Solaris 8, Solaris 9: cc [ flag... ] file... -lrt [ library... ]
>  
>  I posted a patch here on Dec 3 2003, but can't test it on Solaris < 8.

Lars,

Thanks for pointing this out (I've missed it, argh). I did (more or less)
the same type of test in configure.in, but I have absolutelly no idea how
include -lposix4 for 2.5.1/2.6 and -lrt for 8/9, except if I test for
version of OS and hardcode it in "case $host in" section of configure.in.

Is there any better way?

Thanks.

Vanja
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.