Software /
code /
prosody
Comparison
configure @ 9657:bd75edf0e0e2
configure: Split list of possible suffixes into a line per Lua version
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 29 Nov 2018 16:16:09 +0100 |
parent | 9427:460f08008521 |
child | 9658:597653fe8ea4 |
comparison
equal
deleted
inserted
replaced
9656:3da6cc927ee6 | 9657:bd75edf0e0e2 |
---|---|
402 suffixes="5.2 52 -5.2 -52" | 402 suffixes="5.2 52 -5.2 -52" |
403 elif [ "$LUA_VERSION_SET" = "yes" ] && [ "$LUA_VERSION" = "5.3" ] | 403 elif [ "$LUA_VERSION_SET" = "yes" ] && [ "$LUA_VERSION" = "5.3" ] |
404 then | 404 then |
405 suffixes="5.3 53 -5.3 -53" | 405 suffixes="5.3 53 -5.3 -53" |
406 else | 406 else |
407 suffixes="5.1 51 -5.1 -51 5.2 52 -5.2 -52 5.3 53 -5.3 -53" | 407 suffixes="5.1 51 -5.1 -51" |
408 suffixes="$suffixes 5.2 52 -5.2 -52" | |
409 suffixes="$suffixes 5.3 53 -5.3 -53" | |
408 fi | 410 fi |
409 for suffix in "" $suffixes | 411 for suffix in "" $suffixes |
410 do | 412 do |
411 search_interpreter "$suffix" && { | 413 search_interpreter "$suffix" && { |
412 lua_interp_found=yes | 414 lua_interp_found=yes |