mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-18 18:46:16 +00:00
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user