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

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@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 ; \


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to