[svn-commits] tilghman: branch 1.6.0 r189814 - in /branches/1.6.0: ./ configure configure.ac

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Apr 22 01:35:34 CDT 2009


Author: tilghman
Date: Wed Apr 22 01:35:30 2009
New Revision: 189814

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=189814
Log:
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)
........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/configure
    branches/1.6.0/configure.ac

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/configure.ac
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.0/configure.ac?view=diff&rev=189814&r1=189813&r2=189814
==============================================================================
--- branches/1.6.0/configure.ac (original)
+++ branches/1.6.0/configure.ac Wed Apr 22 01:35:30 2009
@@ -1392,7 +1392,9 @@
 		[${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])
 




More information about the svn-commits mailing list