#40 GeanyLua: enhance checks for Lua package

closed-fixed
5
2010-08-15
2010-08-13
No

Since the pkg-config file name of Lua 5.1 is different from places to places (lua, lua51, lua5.1, etc.), the build system should check for each of these before giving up. Autotools works fine, but Waf misses this.

Attached a patch that fixes this, hopefully in a not-that-ugly way. Tested under Debian Unstable/Sid.

Discussion

  • Enrico Tröger
    Enrico Tröger
    2010-08-15

    • status: open --> closed-fixed
     
  • Enrico Tröger
    Enrico Tröger
    2010-08-15

    Thanks a lot, applied.

    Once I have some spare time left over, I will rewrite the plugins Waf build script to be more modular and so more flexible. The current Plugin class doesn't fit all the requirements plugins have anymore. And the whole wscript is way too bloated.