[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua, autoconf and Mac OSX
- From: Paul Beckingham <paul@...>
- Date: Sun, 10 Jan 2010 01:01:06 -0500
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