mwild1 / luadbi

Multi-backend SQL database library for Lua
MIT License
38 stars 14 forks source link

Need to move to autoconf #12

Closed GoogleCodeExporter closed 4 years ago

GoogleCodeExporter commented 8 years ago
You need to realize not everyone is going to have the same configuration as you 
and that most people are dumb. Please create an autoconf system or at least 
explain in the read me about library and include paths. You should have liblua 
as a library for this as it won't build without it.

COMMON_LDFLAGS=-llua

That's all I did, and I had to change/add a few of the header include paths and 
library include paths. Most people cannot do this. You could also autodetect 
where lua modules are installed.

If you need help figuring out how to do so, try Google and look at examples of 
other lua modules.

Original issue reported on code.google.com by GRMrGe...@gmail.com on 7 Jan 2012 at 1:40

GoogleCodeExporter commented 8 years ago
1) Lua modules should NEVER (!!!) be linked against lua library
2) autocrap is f***in crap
3) #20

Original comment by mva.name on 12 May 2013 at 4:55

mwild1 commented 4 years ago

Closing this ancient issue. autoconf is rare among Lua modules, and most people who need to build modules don't generally struggle. We also have luarocks these days.

However if anyone wants to contribute better documentation that they think would be useful, feel free!