detect presence of threads support in sqlite3 port

Thierry Thomas thierry at FreeBSD.org
Thu Sep 28 02:50:43 PDT 2006


Le Lun 25 sep 06 à 11:21:11 +0200, Alexander Zhuravlev <zaa at zaa.pp.ru>
 écrivait :

> So, how can I determine the fact that the port was compiled with such 
> option, so I can rise an error in my port or compile it with bundled
> sqlite 3.2 library?
> Any help will be much appreciated.

sqlite supports pkg-config, so you could try something based upon

pkg-config --libs sqlite3 | grep '\${PTHREAD_LIBS}'

Regards,
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060928/66ba6187/attachment.pgp


More information about the freebsd-ports mailing list