Module: kamailio Branch: 5.3 Commit: fd3527ea84d7be2c841cdf89cd6b5b6446fc6ae0 URL: https://github.com/kamailio/kamailio/commit/fd3527ea84d7be2c841cdf89cd6b5b64...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-03-19T19:20:08+01:00
kamcmd: Makefile - updated the msg target to print pkg-config detections
(cherry picked from commit 331ffea6c8c8b2c7cf38e3d7eda882a6becd326a)
---
Modified: utils/kamcmd/Makefile
---
Diff: https://github.com/kamailio/kamailio/commit/fd3527ea84d7be2c841cdf89cd6b5b64... Patch: https://github.com/kamailio/kamailio/commit/fd3527ea84d7be2c841cdf89cd6b5b64...
---
diff --git a/utils/kamcmd/Makefile b/utils/kamcmd/Makefile index c8a7e6807e..f12306bf1e 100644 --- a/utils/kamcmd/Makefile +++ b/utils/kamcmd/Makefile @@ -137,7 +137,11 @@ $(NAME).o: .PHONY: msg msg: @if [ "$(use_readline)" = "1" ]; then \ - echo; echo "readline detected ($(readline_path)):"; \ + if [ "$(BUILDER)" = "" ]; then \ + echo; echo "readline detected ($(readline_path)):"; \ + else \ + echo; echo "readline detected via pkg-config"; \ + fi; \ echo "command completion enabled"; echo ; \ else \ echo ; \