diff -up freedroidrpg-0.15.1/configure~ freedroidrpg-0.15.1/configure --- freedroidrpg-0.15.1/configure~ 2012-03-17 18:31:39.000000000 +0200 +++ freedroidrpg-0.15.1/configure 2014-03-18 16:01:46.285933907 +0200 @@ -5480,12 +5480,12 @@ if test -n "$LUA_CFLAGS"; then pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5 - ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null` + pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null` else pkg_failed=yes fi @@ -5496,12 +5496,12 @@ if test -n "$LUA_LIBS"; then pkg_cv_LUA_LIBS="$LUA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5 - ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null` + pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null` else pkg_failed=yes fi @@ -5521,9 +5521,9 @@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1` + LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1` else - LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1` + LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LUA_PKG_ERRORS" >&5 diff -up freedroidrpg-0.15.1/m4/lua.m4~ freedroidrpg-0.15.1/m4/lua.m4 --- freedroidrpg-0.15.1/m4/lua.m4~ 2012-03-16 15:42:17.000000000 +0200 +++ freedroidrpg-0.15.1/m4/lua.m4 2014-03-18 16:00:40.366532461 +0200 @@ -38,7 +38,7 @@ AC_DEFUN([KYUA_LUA], [ PKG_CHECK_MODULES([LUA], [lua >= 5.1], [lua_found=yes], [true]) if test "${lua_found}" = no; then - PKG_CHECK_MODULES([LUA], [lua5.1 >= 5.1], [lua_found=yes], [true]) + PKG_CHECK_MODULES([LUA], [lua-5.1 >= 5.1], [lua_found=yes], [true]) fi if test "${lua_found}" = no; then