autoconf
[Top][All Lists]
Advanced

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

Re: checking for specific versions of operating system


From: Andre Caldas
Subject: Re: checking for specific versions of operating system
Date: Wed, 24 Aug 2005 09:22:06 +0900
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)

Hello!

It isn't guaranteed that the user has -lkse, and you don't check for it.


Well  that check is inside a check for FreeBSD, and if it doesn't have
pthread then it should have kse. Or am I missing something?

Your script will not be really robust, because you are making such assumptions. The whole idea is:
* Use pthread if you have it. (and working properly)
* Use kse if you have it. (and working properly)
* Drop the functionality if you don't have any. (unless you really need it)

If you make assumptions that might not be true in the future, you may cause trouble to your users. Of course, 'what to test for?' is always a dilema. (and 'how' is another one)

Andre Caldas.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]