lua-users home
lua-l archive

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


I'm having problems with autoconf and Lua on Mac OSX - configure can't see Lua.  Here is what I have:

Lua 5.1.4, built from source with:
	$ make macosx
	$ sudo make install

	the files are copied to /usr/local/include and /usr/local/lib, as expected.

configure.ac contains this:
	AC_CHECK_LIB(lua,lua_open)

None of these work:
	$ ./configure --with-lua=/usr/local
	$ ./configure --with-lua-lib=/usr/local/lib --with-lua-include=/usr/localinclude

autoconf v2.61

Can anyone suggest what I might be doing wrong or missing?  I'm not up to writing my own m4 macros.

Thanks.
Paul