--- configure.ac 2014-07-11 10:49:17.000000000 +0200 +++ configure.ac.oden 2014-07-11 10:49:32.000000000 +0200 @@ -2120,7 +2120,7 @@ fi # Some distributions (like SuSE) remove the 5.1 suffix. -AST_EXT_LIB_CHECK([LUA], [lua], [luaL_openlib], [lua.h], [-lm]) +AST_EXT_LIB_CHECK([LUA], [lua], [luaL_newstate], [lua.h], [-lm]) # Accept either RADIUS client library, their APIs are fully compatible, # just different header filenames and different SONAMEs