From mboxrd@z Thu Jan 1 00:00:00 1970 From: felix.morency at gmail.com (=?UTF-8?Q?F=C3=A9lix_C=2E_Morency?=) Date: Mon, 20 Jan 2014 10:07:38 -0500 Subject: Missing dependency In-Reply-To: References: Message-ID: Jason, 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? HTH, -F On Fri, Jan 17, 2014 at 5:36 PM, Jason A. Donenfeld wrote: > On Fri, Jan 17, 2014 at 8:08 PM, F?lix C. Morency > 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: