diff -Naur xapian-bindings-1.2.8.orig//configure.ac xapian-bindings-1.2.8/configure.ac
old
|
new
|
|
926 | 926 | if test -n "$LUA" ; then |
927 | 927 | AC_MSG_RESULT([$lua_version]) |
928 | 928 | AC_ARG_VAR(LUA_LIB, [Directory to install xapian.so into]) |
929 | | AC_MSG_CHECKING(for Lua library to install xapian.so) |
930 | | LUA_LIB=`$LUA -e 'require("package") print(package.cpath)' | cut -f 2 -d ';' | cut -f 1 -d '?'` |
931 | | LUA_LIB=`expr X"$LUA_LIB" : X'\(.*\)/$'` |
932 | | if test -z "$LUA_LIB"; then |
933 | | AC_MSG_RESULT(not found) |
934 | | else |
935 | | AC_MSG_RESULT($LUA_LIB) |
| 929 | if test -z "$LUA_LIB" ; then |
| 930 | AC_MSG_CHECKING([for Lua library to install xapian.so]) |
| 931 | LUA_LIB=`$LUA -e 'require("package") print(package.cpath)' | cut -f 2 -d ';' | cut -f 1 -d '?'` |
| 932 | LUA_LIB=`expr X"$LUA_LIB" : X'\(.*\)/$'` |
| 933 | if test -z "$LUA_LIB"; then |
| 934 | AC_MSG_RESULT(not found) |
| 935 | else |
| 936 | AC_MSG_RESULT($LUA_LIB) |
| 937 | fi |
936 | 938 | fi |
937 | 939 | AC_SUBST(LUA_LIB) |
938 | 940 | |