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