ensure that DAHDI_INCLUDE and ZAPTEL_INCLUDE are added in all the places needed

improve AST_EXT_LIB_CHECK to accept (and remember) additional CFLAGS data like it does in trunk already

(closes issue #12911)
Reported by: tzafrir



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@127754 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2008-07-03 16:12:58 +00:00
parent e9f5152eba
commit 3b34ed635e
4 changed files with 238 additions and 4786 deletions

View File

@@ -1361,12 +1361,12 @@ fi
if test "${PBX_DAHDI}" = "1" || test "${USE_ZAPTEL}" = "no"; then
tonezone_dir="dahdi"
if test "x${DAHDI_DIR}" != "x"; then
tonezone_extra="${tonezone_extra} -I${DAHDI_DIR}/include"
tonezone_extra="${tonezone_extra} ${DAHDI_INCLUDE}"
fi
else
tonezone_dir="zaptel"
if test "x${ZAPTEL_DIR}" != "x"; then
tonezone_extra="${tonezone_extra} -I${ZAPTEL_DIR}/include"
tonezone_extra="${tonezone_extra} ${ZAPTEL_INCLUDE}"
fi
fi