summaryrefslogtreecommitdiff
path: root/src/configure
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-05-09 22:18:53 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-05-09 22:18:53 (GMT)
commit7e8500a355a15dcdb303e3a109c34ca82c18ba38 (patch)
tree309cf958c3f8d3d2202783dc2ec84028f6d03741 /src/configure
parentb3c7318d799282af7a78fdd4587d86c953b70903 (diff)
fixed support for Lua 5.2 and again prefer newer version at auto detection
Diffstat (limited to 'src/configure')
-rwxr-xr-xsrc/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configure b/src/configure
index 75ed3e6..dd60d70 100755
--- a/src/configure
+++ b/src/configure
@@ -162,7 +162,7 @@ if [ -z "$LUA_DIR" ]; then
break
fi
else
- for dir in `ls -d $prefix/include/lua* 2> /dev/null`; do
+ for dir in `ls -r -d $prefix/include/lua* 2> /dev/null`; do
if [ -e $dir/lua.h ]; then
test_lua_version $dir/lua.h
if [ $? -eq 1 ]; then