[vlc-devel] [vlc-commits] commit: Implement tsearch functions for systems that does not know about it . (Rémi Duraffort?)

Rémi Denis-Courmont remi at remlab.net
Mon Dec 6 20:37:58 CET 2010


On Mon, 6 Dec 2010 19:58:23 +0100, Rémi Duraffort <ivoire at videolan.org>
wrote:
>> No, that is not what your change does. Your change tests separately
every
>> five functions, and provides individual replacement for each missing one
> of
>> them. The check for search.h is irrelevant here.
> Ok then, is ther a way to check for the presence of the five functions in
> one shot ?

Not that I know. You'd need cascaded AC_CHECK_FUNC or a long pre-processor
conjunction of HAVE_foobar. It might be simpler to replace only tdestroy()
and implement all functions in a single file.

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list