|
@@ -115,6 +115,7 @@ FEATURE_TESTS = \
|
|
|
libelf-getphdrnum \
|
|
|
libunwind \
|
|
|
libaudit \
|
|
|
+ libslang \
|
|
|
libnuma
|
|
|
|
|
|
$(foreach test,$(FEATURE_TESTS),$(call feature_check,$(test),$(test)))
|
|
@@ -280,8 +281,7 @@ ifdef NO_NEWT
|
|
|
endif
|
|
|
|
|
|
ifndef NO_SLANG
|
|
|
- FLAGS_SLANG=$(CFLAGS) $(LDFLAGS) $(EXTLIBS) -I/usr/include/slang -lslang
|
|
|
- ifneq ($(call try-cc,$(SOURCE_SLANG),$(FLAGS_SLANG),libslang),y)
|
|
|
+ ifneq ($(feature-libslang), 1)
|
|
|
msg := $(warning slang not found, disables TUI support. Please install slang-devel or libslang-dev);
|
|
|
NO_SLANG := 1
|
|
|
else
|