aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-03 16:24:57 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-03 16:24:57 +0000
commit2ced97370d4811970717fcb3034359ae8a8d35c5 (patch)
treee5e0fa632ae2e68ec9fc8baf6486fe195f48c989 /configure.ac
parentce9d468780be869c57583187c68aadb2169f401e (diff)
Merged revisions 127767 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r127767 | kpfleming | 2008-07-03 11:22:02 -0500 (Thu, 03 Jul 2008) | 2 lines some minor fixes found while working on issue #12911 (and block the rev from 1.4 since the equivalent is already here) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@127778 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index e33f6c314..3aad21dfa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1390,11 +1390,7 @@ if test "${host_os}" != "linux-gnu" ; then
tonezone_extra="-lm"
fi
-if test "x${DAHDI_DIR}" != "x"; then
- tonezone_extra="${tonezone_extra} -I${DAHDI_DIR}/include"
-fi
-
-AST_EXT_LIB_CHECK([TONEZONE], [tonezone], [tone_zone_find], [dahdi/tonezone.h], [${tonezone_extra}])
+AST_EXT_LIB_CHECK([TONEZONE], [tonezone], [tone_zone_find], [dahdi/tonezone.h], [${tonezone_extra} ${DAHDI_INCLUDE}])
AST_EXT_LIB_CHECK([USB], [usb], [usb_init], [usb.h], [])