Actually use Zaptel CFLAGS if using Zaptel instead of DAHDI

This fixes building against Zaptel when using a custom path


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@141678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2008-09-08 16:26:00 +00:00
parent a05ebb78af
commit 00605e78a4
2 changed files with 9 additions and 1 deletions

6
configure vendored
View File

@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.ac Revision: 137677 .
# From configure.ac Revision: 139145 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for asterisk 1.4.
#
@@ -30728,6 +30728,10 @@ fi
if test "x${PBX_ZAPTEL}" = "x1" ; then
PBX_DAHDI=1
DAHDI_INCLUDE=${ZAPTEL_INCLUDE}
DAHDI_LIB=${ZAPTEL_LIB}
fi

View File

@@ -1528,7 +1528,11 @@ AC_SUBST(PBX_DAHDI_TRANSCODE)
if test "x${PBX_ZAPTEL}" = "x1" ; then
PBX_DAHDI=1
DAHDI_INCLUDE=${ZAPTEL_INCLUDE}
DAHDI_LIB=${ZAPTEL_LIB}
AC_SUBST(PBX_DAHDI)
AC_SUBST(DAHDI_INCLUDE)
AC_SUBST(DAHDI_LIB)
fi
EDITLINE_LIB=""