lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


... you can also look at my project's configure.ac (and Makefile.am):

http://git.savannah.gnu.org/cgit/snogray.git/tree/configure.ac
http://git.savannah.gnu.org/cgit/snogray.git/tree/Makefile.am

(search for "lua", and especially "Check for lua library")

The stuff in there is somewhat complicated[*], but maybe it can give you
some ideas.

[*] It tries to support linking against debian lua installed libraries
(which use pkg-config), non-debian installed libraries (which usually
don't, but may have weird install-prefixes), and in-tree lua sources
(there's an frob which automatically adds lua sources to the release
tarball); it also looks for luajit...

-Miles

-- 
Everywhere is walking distance if you have the time.  -- Steven Wright