patchWeeChat - Patches: patch #8270, autotools: lua_main() undefined in...


patch #8270: autotools: lua_main() undefined in Lua 5.2

Submitted by:  Andrew Potter <talisein>
Submitted on:  Sat 11 Jan 2014 08:14:31 AM UTC  
Category:  compilation Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  Sebastien Helleu <flashcode> Open/Closed:  Closed
IRC nick:  talisein

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 11 Jan 2014 08:14:31 AM UTC, original submission:  

In Lua 5.1, lua_main() was changed to be a #define to use luaL_newstate(). In Lua 5.2 on Fedora 20, that define has been removed, making autotools fail to correctly find Lua.

Attached is a patch that tries to use luaL_newstate() if the lua_main() test fails.

Andrew Potter <talisein>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by talisein (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-09 flashcode Open/ClosedOpen => Closed
    2014-01-11 flashcode StatusNone => Done
        Assigned toNone => flashcode
    2014-01-11 talisein Attached File- => Added, #30243

    Back to the top

    Powered by Savane 3.7