diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | makeopts.in | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -255,7 +255,10 @@ UTILS += patgen pattest patlooptest hdlcstress hdlctest hdlcgen \ UTILSO = $(UTILS:%=%.o) -BINS:=fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest zttool ztscan +BINS:=fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest ztscan +ifeq (1,$(PBX_LIBNEWT)) + BINS+=zttool +endif BINS:=$(filter-out $(MENUSELECT_UTILS),$(BINS)) MAN_PAGES:=$(wildcard $(BINS:%=doc/%.8)) diff --git a/makeopts.in b/makeopts.in index 6af94be..c2bf075 100644 --- a/makeopts.in +++ b/makeopts.in @@ -26,6 +26,7 @@ sysconfdir = @sysconfdir@ DOWNLOAD=@DOWNLOAD@ +PBX_LIBNEWT=@PBX_LIBNEWT@ NEWT_LIB=@NEWT_LIB@ NEWT_INCLUDE=@NEWT_INCLUDE@ |