Missing dependency

Félix C. Morency felix.morency at gmail.com
Mon Jan 20 16:07:38 CET 2014


I'm no Makefile expert, but a solution à la CMake involves checking for the
library/header existence in common library/header location (/usr/...,
/usr/local/..., etc). If the library is found, we use it, otherwise, we
prompt a relevant error message. CMake has its own Find* mechanism; isn't
the autotools ./configure exactly for that purpose?


On Fri, Jan 17, 2014 at 5:36 PM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:

> On Fri, Jan 17, 2014 at 8:08 PM, Félix C. Morency
> <felix.morency at gmail.com> wrote:
> > You should add pkg-config to the list of dependencies in the README. It
> is
> > required if you want to build with Lua support. Also, it might be a good
> > idea to check for pkg-config presence in the Makefile.
> Thanks for the report; this is a good idea.
> Do you have any ideas on a fallback, for when pkg-config isn't
> available? I know for LUA_IMPLEMENTATION=VANILLA, we can probably just
> add a -llua to LIBS, but it's not as straight forward for
> LUA_IMPLEMENTATION=JIT. Any feedback would be most appreciated.
> Jason

Félix C. Morency, M.Sc.
Plateforme d’analyse et de visualisation d’images
Centre Hospitalier Universitaire de Sherbrooke
Centre de recherche clinique Étienne-Le Bel
Local Z5-3031 | 819.346.1110 ext 16634
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140120/426a119c/attachment.html>

More information about the CGit mailing list