detect presence of threads support in sqlite3 port

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

Le Lun 25 sep 06 à 11:21:11 +0200, Alexander Zhuravlev <zaa at>
 é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}'

Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list