[sr-dev] git:5.3:fd3527ea: kamcmd: Makefile - updated the msg target to print pkg-config detections

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 19 19:24:24 CET 2020


Module: kamailio
Branch: 5.3
Commit: fd3527ea84d7be2c841cdf89cd6b5b6446fc6ae0
URL: https://github.com/kamailio/kamailio/commit/fd3527ea84d7be2c841cdf89cd6b5b6446fc6ae0

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/fd3527ea84d7be2c841cdf89cd6b5b6446fc6ae0.diff
Patch: https://github.com/kamailio/kamailio/commit/fd3527ea84d7be2c841cdf89cd6b5b6446fc6ae0.patch

---

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 ; \




More information about the sr-dev mailing list