From e74fc73d8db309e201307907a957914148c46ff4 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Thu, 23 Jul 2020 12:09:27 +0200 Subject: [PATCH] configure.ac: show library type to be built in summary The configure summary now shows whether libcoap is built as shared or static library. --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure.ac b/configure.ac index 99660a03ea..3fac601a97 100644 --- a/configure.ac +++ b/configure.ac @@ -888,3 +888,13 @@ if test "x$build_gcov" = "xyes"; then else AC_MSG_RESULT([ build with gcov support : "no"]) fi +if test "x$enable_shared" = "xyes"; then + AC_MSG_RESULT([ build shared library : "yes"]) +else + AC_MSG_RESULT([ build shared library : "no"]) +fi +if test "x$enable_static" = "xyes"; then + AC_MSG_RESULT([ build static library : "yes"]) +else + AC_MSG_RESULT([ build static library : "no"]) +fi