Fix build error when chan_h323 is not being built.
[asterisk/asterisk.git] / channels / h323 / Makefile.in
index 083250f..5f949ca 100644 (file)
@@ -24,7 +24,9 @@ ifndef OPENH323DIR
 OPENH323DIR=@OPENH323DIR@
 endif
 
 OPENH323DIR=@OPENH323DIR@
 endif
 
+ifneq ($(wildcard $(OPENH323DIR)/openh323u.mak),)
 include $(OPENH323DIR)/openh323u.mak
 include $(OPENH323DIR)/openh323u.mak
+endif
 
 notrace::
        $(MAKE) NOTRACE=1 opt
 
 notrace::
        $(MAKE) NOTRACE=1 opt