[asterisk-commits] tilghman: branch 1.6.1 r163170 - in /branches/1.6.1: ./ configure configure.ac

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Dec 11 14:05:44 CST 2008


Author: tilghman
Date: Thu Dec 11 14:05:43 2008
New Revision: 163170

URL: http://svn.digium.com/view/asterisk?view=rev&rev=163170
Log:
Merged revisions 163168 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r163168 | tilghman | 2008-12-11 14:02:35 -0600 (Thu, 11 Dec 2008) | 5 lines
  
  Sometimes even Linux needs -lm to link libtonezone, such as when libtonezone
  is compiled statically.
  (closes issue #13887)
   Reported by: tzafrir
........

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

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

Modified: branches/1.6.1/configure.ac
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/configure.ac?view=diff&rev=163170&r1=163169&r2=163170
==============================================================================
--- branches/1.6.1/configure.ac (original)
+++ branches/1.6.1/configure.ac Thu Dec 11 14:05:43 2008
@@ -1469,7 +1469,9 @@
 
 AST_EXT_LIB_CHECK([TINFO], [tinfo], [tgetent], [])
 
-if test "${host_os}" != "linux-gnu" ; then
+AC_CHECK_LIB([tonezone], [tone_zone_find_by_num], tonezone_does_not_need_lm=yes, tonezone_does_not_need_lm=no)
+
+if test "${tonezone_does_not_need_lm}" = "no" ; then
   tonezone_extra="-lm"
 fi
 




More information about the asterisk-commits mailing list