GUACAMOLE-623: Add warning when Kubernetes support will not be built. Fix 
summary output from configure.


Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/77a86612
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/77a86612
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/77a86612

Branch: refs/heads/master
Commit: 77a866129b3b6592f122a5912c349a03f0c4b4e2
Parents: c5f67a3
Author: Michael Jumper <mjum...@apache.org>
Authored: Mon Sep 10 20:09:36 2018 -0700
Committer: Michael Jumper <mjum...@apache.org>
Committed: Tue Sep 25 21:30:51 2018 -0700

----------------------------------------------------------------------
 configure.ac | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/77a86612/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 7c0bb73..df36eab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1190,7 +1190,12 @@ then
     AC_CHECK_LIB([websockets],
                  [lws_create_context],
                  [WEBSOCKETS_LIBS="$WEBSOCKETS_LIBS -lwebsockets"],
-                 [have_libwebsockets=no])
+                 [AC_MSG_WARN([
+  --------------------------------------------
+   Unable to find libwebsockets.
+   Support for Kubernetes will be disabled.
+  --------------------------------------------])
+                 have_libwebsockets=no])
 fi
 
 # Check for client-specific closed event, which must be used in favor of the
@@ -1339,7 +1344,7 @@ $PACKAGE_NAME version $PACKAGE_VERSION
      libVNCServer ........ ${have_libvncserver}
      libvorbis ........... ${have_vorbis}
      libpulse ............ ${have_pulse}
-     libwebsockets ....... ${have_websockets}
+     libwebsockets ....... ${have_libwebsockets}
      libwebp ............. ${have_webp}
      wsock32 ............. ${have_winsock}
 

Reply via email to