Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2006 11:48:59 +0200
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: detect presence of threads support in sqlite3 port
Message-ID:  <20060928094859.GJ1654@graf.pompo.net>
In-Reply-To: <20060925092111.GA70418@wave.zaa.local>
References:  <20060925092111.GA70418@wave.zaa.local>

next in thread | previous in thread | raw e-mail | index | archive | help

--9amGYk9869ThD9tj
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le Lun 25 sep 06 =E0 11:21:11 +0200, Alexander Zhuravlev <zaa@zaa.pp.ru>
 =E9crivait=A0:

> So, how can I determine the fact that the port was compiled with such=20
> 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,
--=20
Th. Thomas.

--9amGYk9869ThD9tj
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFG5qLc95pjMcUBaIRAmQZAKDEKEqZYHC/meVLCycXCZaMAAkILQCfU+HC
TJKzT2L4xTCrieHtSfxA9X4=
=Ckia
-----END PGP SIGNATURE-----

--9amGYk9869ThD9tj--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060928094859.GJ1654>