aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure b/configure
index 579e96f5..ce5e78f8 100755
--- a/configure
+++ b/configure
@@ -271,14 +271,14 @@ if [ "$LUA_SUFFIX_SET" != "yes" ]
271then 271then
272 if [ "$LUA_VERSION_SET" = "yes" -a "$LUA_VERSION" = "5.1" ] 272 if [ "$LUA_VERSION_SET" = "yes" -a "$LUA_VERSION" = "5.1" ]
273 then 273 then
274 suffixes="5.1 51" 274 suffixes="5.1 51 -5.1 -51"
275 elif [ "$LUA_VERSION_SET" = "yes" -a "$LUA_VERSION" = "5.2" ] 275 elif [ "$LUA_VERSION_SET" = "yes" -a "$LUA_VERSION" = "5.2" ]
276 then 276 then
277 suffixes="5.2 52" 277 suffixes="5.2 52 -5.2 -52"
278 else 278 else
279 suffixes="5.2 52 5.1 51" 279 suffixes="5.2 52 -5.2 -52 5.1 51 -5.1 -51"
280 fi 280 fi
281 for suffix in "" `echo $suffixes` "" 281 for suffix in `echo $suffixes` ""
282 do 282 do
283 search_interpreter "$suffix" && break 283 search_interpreter "$suffix" && break
284 done 284 done
@@ -286,9 +286,9 @@ fi
286 286
287if [ "$LUA_DIR_SET" != "yes" ] 287if [ "$LUA_DIR_SET" != "yes" ]
288then 288then
289 echo_n "Looking for Lua... " 289 if [ -n "$find_lua" ]
290 if [ ! -n "$find_lua" ]
291 then 290 then
291 echo_n "Looking for Lua... "
292 find_lua=`find_program lua$LUA_SUFFIX` 292 find_lua=`find_program lua$LUA_SUFFIX`
293 fi 293 fi
294 294