Don't try to build aelparse if pbx_ael is disabled in menuselect (otherwise the build...
[asterisk/asterisk.git] / utils / Makefile
index 5b23445..0cc2ada 100644 (file)
@@ -29,6 +29,10 @@ ifeq ($(NEWT_LIB),)
   UTILS:=$(filter-out astman,$(UTILS))
 endif
 
+ifneq ($(filter pbx_ael.so,$(MENUSELECT_PBX)),)
+  UTILS:=$(filter-out aelparse,$(UTILS))
+endif
+
 all: depend $(UTILS)
 
 install: