aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-03 16:22:02 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-03 16:22:02 +0000
commit1cc4749eb644a6f66fffb878a4bc39ce0fb696a0 (patch)
treeca459f1cfc89e7453ee13cfa8e6f1a3270427328 /configure.ac
parent422f48910d03d621ddbc4005969bd1859d5763bc (diff)
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/trunk@127767 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 dc0df7df0..cbe7880d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1419,11 +1419,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], [])