[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: ./configure for Lua clients?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 4 May 2006 22:21:23 -0300
> I'm preparing to distribute some code that is written primarily
> in Lua but with some parts in C. For the setup, I would
> like to have a shell script that will find the correct -I, -L, and
> -l options to give to cc to compile and link against the proper
> version of Lua (in my case, 5.0). Does anyone have any suggestions
> about how to do this, or even possibly, any code?
There's the pkg-config approach. Lua 5.1 includes data for pkg-config in
etc/lua.pc. It's probably simple to adapt it for Lua 5.0, if needed.
--lhf