]> git.sur5r.net Git - kconfig-frontends/blobdiff - configure.ac
configure: pretty-print configuration
[kconfig-frontends] / configure.ac
index 8ee8fd5d83763f8b69f8114dfa4a859eec53f10c..e565d117cbcd3dfe1e2543df1366b47263c225c5 100644 (file)
@@ -266,6 +266,12 @@ AM_CONDITIONAL(
 # Prepare libtool
 LT_INIT([disable-static])
 
+#----------------------------------------
+# Get the version to apply to the parser shared library
+AC_SUBST(
+    [KCONFIGPARSER_LIB_VERSION],
+    [m4_esyscmd_s([./scripts/version.sh --plain])])
+
 #----------------------------------------
 # Finalise
 AC_CONFIG_FILES([
@@ -283,6 +289,7 @@ AC_CONFIG_FILES([
 AC_OUTPUT
 
 AC_MSG_NOTICE([Configured with:])
+AC_MSG_NOTICE([- frontends:])
 AS_IF([test "$enable_conf" = "yes"],
       [AC_MSG_NOTICE([  - conf:  yes])],
       [AC_MSG_NOTICE([  - conf:  no])])
@@ -298,3 +305,8 @@ AS_IF([test "$enable_nconf" = "yes"],
 AS_IF([test "$enable_qconf" = "yes"],
       [AC_MSG_NOTICE([  - qconf: yes])],
       [AC_MSG_NOTICE([  - qconf: no])])
+AC_MSG_NOTICE([- parser library:])
+AS_IF([test "$enable_shared" = "yes"],
+      [AC_MSG_NOTICE([  - shared: yes, versioned $KCONFIGPARSER_LIB_VERSION])],
+      [AC_MSG_NOTICE([  - shared: no])])
+AC_MSG_NOTICE([  - static: $enable_static])