diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-22 06:36:56 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-22 06:36:56 +0000 |
commit | 5fe07c902c1f07267542573aa0289295fafb1e01 (patch) | |
tree | 60dc637e414422b3fd3781ff6987776ec95f3731 /configure.ac | |
parent | bef46a5bbfefb039c100b3060c0dbc728034b99a (diff) |
Merged revisions 189813 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r189813 | tilghman | 2009-04-22 01:33:08 -0500 (Wed, 22 Apr 2009) | 3 lines
Detect liblua on SuSE, and add libm for linking for Fedora.
(Reported via the -dev list, Subject: Compiling Asterisk with LUA)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@189815 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 61d666ac2..b0c32f8ea 100644 --- a/configure.ac +++ b/configure.ac @@ -1412,7 +1412,9 @@ if test "${PBX_PWLIB}" = "1" -a "${USE_OPENH323}" != "no" ; then [${PWLIB_INCLUDE}], [${PWLIB_LIB}]) fi -AST_EXT_LIB_CHECK([LUA], [lua5.1], [luaL_newstate], [lua5.1/lua.h]) +AST_EXT_LIB_CHECK([LUA], [lua5.1], [luaL_newstate], [lua5.1/lua.h], [-lm]) +# Some distributions (like SuSE) remove the 5.1 suffix. +AST_EXT_LIB_CHECK([LUA], [lua], [luaL_register], [lua.h], [-lm]) AST_EXT_LIB_CHECK([RADIUS], [radiusclient-ng], [rc_read_config], [radiusclient-ng.h]) |