From 48c659cf0e1bef4f9a2b34cd992aa5d680603026 Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Sun, 30 Apr 2006 15:29:38 +0000
Subject: [PATCH] fix a libtonezone detection issue on FreeBSD

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 4012a918aa..b90d5d32e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -185,7 +185,7 @@ fi
 if test "x${PBX_OSTYPE}" = "xLinux" ; then
    AST_EXT_LIB([tonezone], [tone_zone_find], [linux/zaptel.h], [ZAPTEL], [Zaptel])
 else
-   AST_EXT_LIB([tonezone], [tone_zone_find], [zaptel.h], [ZAPTEL], [Zaptel])
+   AST_EXT_LIB([tonezone], [tone_zone_find], [zaptel.h], [ZAPTEL], [Zaptel], [-lm])
 fi
 
 GSM_INTERNAL="yes"
-- 
GitLab