lua-users home
lua-l archive

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


Actually, Mac OS X 10.4 has libedit (which has a readline emulation
layer). Previous versions of  Mac OS X didn't have it (as far as
remember they had it as a private framework only, not for general
consumption). I've found that libedit causes crashes when used with
the advanced readline patch from the lua-users.org wiki (but that's
not part of lua proper, so it may be ok).

Varol Kaptan

On 1/13/06, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> It turns out that Mac OS X 10.4 has readline and so Lua builds just fine with
>         make MYCFLAGS="-DLUA_USE_MACOSX -DLUA_USE_READLINE" MYLIBS="-lreadline"
>
> We don't have access to older versions of Mac OS X. Can anyone check whether
> this would work in previous versions? Or can we just add LUA_USE_READLINE to
> the Mac OS X part of luaconf.h and assume readline is available?
> --lhf
>