kamcmd: Makefile - updated the msg target to print pkg-config detections
authorDaniel-Constantin Mierla <miconda@gmail.com>
Wed, 18 Mar 2020 17:41:52 +0000 (18:41 +0100)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Wed, 18 Mar 2020 17:41:52 +0000 (18:41 +0100)
utils/kamcmd/Makefile

index c8a7e68..f12306b 100644 (file)
@@ -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 ; \