summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-06 09:31:11 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-06 09:31:11 +0200
commitca168098bb80966e20ed2d9e18289f3afd14d828 (patch)
treee37a0d03dbdcf10de2b0ed0d037ef48f248c09de /configure.ac
parent5f2f94367d366613426925eea30a8549d61280d1 (diff)
improve configure messages for rest and reclaim
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac21
1 files changed, 18 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index bfaf8cf14..6fa8c1d4c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2051,15 +2051,29 @@ AS_IF([test "x$conversation_backend" = "xnone"],
[AS_IF([test "x$opus" = x1],
[features_msg="$features_msg conversation"],
[AC_MSG_WARN([libopus not found (required to build conversation)])])])
+# -- rest
+AS_IF([test "x$lmhd" = "x1"],
+ [AS_IF([test "x$jansson" = "x1"],
+ [features_msg="$features_msg rest"],
+ [AC_MSG_WARN([libjansson not found (required for REST service)])])],
+ [AC_MSG_WARN([libmicrohttpd not found (required for REST service)])])
+# -- reclaim
+AS_IF([test "x$lmhd" = "x1"],
+ [AS_IF([test "x$jansson" = "x1"],
+ [reclaim_msg="yes (with OpenID Connect)"],
+ [reclaim_msg="yes (without OpenID Connect, missing libjansson)"],
+ [reclaim_msg="yes (without OpenID Connect, missing libmicrohttpd)"])])
+
+
# -- interface
interface_msg=`echo $DEFAULT_INTERFACE | tr -d \"`
# -- libmicrohttpd
-AS_IF([test "x$lmhd" != "x1"],
- [libmicrohttpd_msg="no (optional)"],
+AS_IF([test "x$lmhd" = "x0"],
+ [libmicrohttpd_msg="no (REST service and HTTP transport will not be built)"],
[libmicrohttpd_msg="yes"])
# -- jansson
AS_IF([test "x$jansson" = "x0"],
- [jansson_msg="no (optional)"],
+ [jansson_msg="no (REST service will not be built)"],
[jansson_msg="yes"])
# -- libextractor
AS_IF([test "$extractor" != 1],
@@ -2181,6 +2195,7 @@ mandoc: ${mandoc_msg}
texinfo manual: ${texinfo_msg}
transpiled mdocml manual: ${mdocml_msg}
+reclaimID: ${reclaim_msg}
features: ${features_msg}
experimental: ${experimental_msg}
])