From 93943ef949f7391c8adb36b12bc30bf8adc1188e Mon Sep 17 00:00:00 2001
From: Gunter Knauf <gk@gknw.de>
Date: Wed, 9 Aug 2006 14:04:51 +0000
Subject: [PATCH] added build info output.

---
 lib/Makefile.netware | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index 319e4e9425..d03c012be3 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -414,6 +414,31 @@ ca-bundle.h: Makefile.netware
 
 url.c: ca-bundle.h
 
+info: $(OBJDIR)/version.inc
+	@echo Configured to build $(TARGET) with these options:
+	@echo curl version:    $(LIBCURL_VERSION_STR)
+	@echo compiler/linker: $(CC) / $(LD)
+ifdef WITH_SSL
+	@echo SSL support:     enabled (OpenSSL)
+else
+	@echo SSL support:     no
+endif
+ifdef WITH_ZLIB
+	@echo zlib support:    enabled
+else
+	@echo zlib support:    no
+endif
+ifdef WITH_ARES
+	@echo c-ares support:  enabled
+else
+	@echo c-ares support:  no
+endif
+ifdef ENABLE_IPV6
+	@echo ipv6 support:    enabled
+else
+	@echo ipv6 support:    no
+endif
+
 $(LIBCARES):
 	$(MAKE) -C ../ares -f Makefile.netware lib
 
-- 
GitLab