[lxc-devel] [PATCH] lua: fix logic to enable lua support in configure

Thomas Moschny thomas.moschny at gmail.com
Fri Sep 6 08:56:09 UTC 2013


2013/9/6 Natanael Copa <ncopa at alpinelinux.org>:
> I wonder it it would be an idea to replace the 2 switches:
>
>   --enable-lua
>   --with-lua-pc[=PKG]
>
> with a single switch:
>
>   --with-lua[=PKG]
>
> As it works now, if you specify either --enable-lua or --with-lua-pc,
> lua will be enabled and configure will fail if Lua headers is missing.
> Even '--disable-lua --with-lua-pc' will actually enable Lua.

Having only one switch would absolutely make sense imho.

- Thomas




More information about the lxc-devel mailing list