summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anylike.org>2015-05-09 22:22:03 +0000
committerChristian Pointner <equinox@anylike.org>2015-05-09 22:22:03 +0000
commit10b20f4504d40d43e03f3630ccec327133a6fc33 (patch)
tree20b5a27ffef15922aeb8405d50859ec2a878164c
parentadded support for Lua 5.2 (diff)
prefer newer versions of lua
-rwxr-xr-xsrc/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configure b/src/configure
index a639634..f8ec2c3 100755
--- a/src/configure
+++ b/src/configure
@@ -217,7 +217,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