Hide error output if version.h of Asterisk is not found.

This commit is contained in:
MelwareDE 2017-01-15 17:15:08 +00:00
parent a054dff7ae
commit 7de878e54d
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ endif
endif
endif
AVERSION=$(shell if grep -q "VERSION_NUM 0104" $(ASTERISK_HEADER_DIR)/asterisk/version.h; then echo V1_4; fi)
AVERSION=$(shell if grep -q "VERSION_NUM 0104" $(ASTERISK_HEADER_DIR)/asterisk/version.h; then echo V1_4; fi 2>/dev/null)
ifeq (${USE_OWN_LIBCAPI},yes)
INCLUDE= -I./libcapi20