diff options
Diffstat (limited to 'src/configure')
-rwxr-xr-x | src/configure | 2 |
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 |