[asterisk-commits] tilghman: branch 1.6.2 r189816 - in /branches/1.6.2: ./ configure configure.ac

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 22 01:37:12 CDT 2009


Author: tilghman
Date: Wed Apr 22 01:37:09 2009
New Revision: 189816

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=189816
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.2/   (props changed)
    branches/1.6.2/configure
    branches/1.6.2/configure.ac

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

Modified: branches/1.6.2/configure.ac
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.2/configure.ac?view=diff&rev=189816&r1=189815&r2=189816
==============================================================================
--- branches/1.6.2/configure.ac (original)
+++ branches/1.6.2/configure.ac Wed Apr 22 01:37:09 2009
@@ -1469,7 +1469,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 asterisk-commits mailing list