There are no flags to do that.  In 1.4.18 there is a new configure arg to use system lua library, so if your system lua is 5.1 that would work.

On Apr 14, 2015, at 10:21 AM, Bob McCarthy <bob.mccarthy@experient.com> wrote:

What flags do you set to use the legacy lua 5.1 ?