fixed Lua 5.2 support: luaL_register has been removed
fixed Lua 5.2 support: luaL_register has been removed

 * we are not supposed to install modules into the global
   namespace in Lua 5.2. IMHO it is OK here since it is only
   for running upgrade scripts in a customized Lua state.
   The alternative would be to make "dm" a proper module that
   can be required with
   local dm = require "dm"
   in every script.
 * the choice between lua5.1 and lua5.2 should probably be
   a configure option as the current checks do not allow
   us to choose the variant used on systems with both lua5.1 and lua5.2.
   Perhaps pkgconfig should also be used, but I'm unsure whether
   this is acceptable for the upstream authors.

opencpe/mand,metratec/mand,opencpe/mand,opencpe/mand,metratec/mand,opencpe/mand,metratec/mand