From 2013547b87811bd67ae663962c08c79b81795cfc Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 19 Feb 2015 19:15:16 -0200 Subject: Support both --lua-version and --with-lua-version. Error messages were even already using it by accident! --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 33e52d9a..e67337ab 100755 --- a/configure +++ b/configure @@ -177,7 +177,7 @@ do LUA_SUFFIX="$value" LUA_SUFFIX_SET=yes ;; - --lua-version) + --lua-version|--with-lua-version) [ -n "$value" ] || die "Missing value in flag $key." LUA_VERSION="$value" [ "$LUA_VERSION" = "5.1" -o "$LUA_VERSION" = "5.2" -o "$LUA_VERSION" = "5.3" ] || die "Invalid Lua version in flag $key." @@ -250,7 +250,7 @@ detect_lua_version() { LUA_VERSION=$detected_lua elif [ "$LUA_VERSION" != "$detected_lua" ] then - die "This clashes with the value of --with-lua-version. Please check your configuration." + die "This clashes with the value of --lua-version. Please check your configuration." fi fi } -- cgit v1.2.3-55-g6feb