From 00605e78a42d1cc33c78d8555acd3c4ab4b9ac39 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 8 Sep 2008 16:26:00 +0000 Subject: [PATCH] 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 --- configure | 6 +++++- configure.ac | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/configure b/configure index d1552c2b45..e056b581ff 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 6bc07331b5..d73b99d130 100644 --- a/configure.ac +++ b/configure.ac @@ -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=""