[sr-dev] git:master:331ffea6: kamcmd: Makefile - updated the msg target to print pkg-config detections

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 18 18:43:51 CET 2020


Module: kamailio
Branch: master
Commit: 331ffea6c8c8b2c7cf38e3d7eda882a6becd326a
URL: https://github.com/kamailio/kamailio/commit/331ffea6c8c8b2c7cf38e3d7eda882a6becd326a

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-03-18T18:41:52+01:00

kamcmd: Makefile - updated the msg target to print pkg-config detections

---

Modified: utils/kamcmd/Makefile

---

Diff:  https://github.com/kamailio/kamailio/commit/331ffea6c8c8b2c7cf38e3d7eda882a6becd326a.diff
Patch: https://github.com/kamailio/kamailio/commit/331ffea6c8c8b2c7cf38e3d7eda882a6becd326a.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