You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by vn...@apache.org on 2017/08/13 18:26:42 UTC

[4/9] incubator-guacamole-server git commit: GUACAMOLE-325: Check whether poll() is defined.

GUACAMOLE-325: Check whether poll() is defined.


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

Branch: refs/heads/master
Commit: 50d2dd51cb9a56ce128802e6c727bcd2843a0e97
Parents: 6236eb8
Author: Michael Jumper <mj...@apache.org>
Authored: Mon Jun 12 13:38:26 2017 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Wed Jul 5 20:55:02 2017 -0700

----------------------------------------------------------------------
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/50d2dd51/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 0800250..62c5335 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,6 +107,11 @@ AC_CHECK_DECL([cairo_format_stride_for_width],
                [Whether cairo_format_stride_for_width() is defined])],,
 	[#include <cairo/cairo.h>])
 
+AC_CHECK_DECL([poll],
+	[AC_DEFINE([HAVE_POLL],,
+               [Whether poll() is defined])],,
+	[#include <poll.h>])
+
 # Typedefs
 AC_TYPE_SIZE_T
 AC_TYPE_SSIZE_T