mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Sometimes even Linux needs -lm to link libtonezone, such as when libtonezone
is compiled statically. (closes issue #13887) Reported by: tzafrir git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1521,7 +1521,9 @@ AST_EXT_LIB_CHECK([TERMCAP], [termcap], [tgetent], [])
|
||||
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user