From 3ec3742a97185fd32cf018e65e223d359f97ed5e Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Mon, 30 Mar 2009 13:55:44 +0000
Subject: [PATCH] Fix build error when chan_h323 is not being built.

(reported by cai1982 in #asterisk-dev)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@184910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/h323/Makefile.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/channels/h323/Makefile.in b/channels/h323/Makefile.in
index 083250f554..5f949ca7db 100644
--- a/channels/h323/Makefile.in
+++ b/channels/h323/Makefile.in
@@ -24,7 +24,9 @@ ifndef OPENH323DIR
 OPENH323DIR=@OPENH323DIR@
 endif
 
+ifneq ($(wildcard $(OPENH323DIR)/openh323u.mak),)
 include $(OPENH323DIR)/openh323u.mak
+endif
 
 notrace::
 	$(MAKE) NOTRACE=1 opt
-- 
GitLab