diff options
author | runge <runge> | 2005-06-14 03:50:55 +0000 |
---|---|---|
committer | runge <runge> | 2005-06-14 03:50:55 +0000 |
commit | 543e64d3c6fa79126be5a5ec5f214a1a96f87335 (patch) | |
tree | 78fe813c221133a13a92101d74621036194d06c7 /configure.ac | |
parent | 50568f1a81b9fd1f4e4db18767b73b98743128d5 (diff) | |
download | libtdevnc-543e64d3c6fa79126be5a5ec5f214a1a96f87335.tar.gz libtdevnc-543e64d3c6fa79126be5a5ec5f214a1a96f87335.zip |
main.c: XReadScreen check, fix 64bit use of cursors, x11vnc: first round of beta-testing fixes, RFE's.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c14fb3b..919f702 100644 --- a/configure.ac +++ b/configure.ac @@ -58,6 +58,8 @@ AH_TEMPLATE(HAVE_LIBXFIXES, [XFIXES extension build environment present]) AH_TEMPLATE(HAVE_LIBXDAMAGE, [XDAMAGE extension build environment present]) AH_TEMPLATE(HAVE_LIBXTRAP, [DEC-XTRAP extension build environment present]) AH_TEMPLATE(HAVE_RECORD, [RECORD extension build environment present]) +AH_TEMPLATE(HAVE_SOLARIS_XREADSCREEN, [Solaris XReadScreen available]) +AH_TEMPLATE(HAVE_IRIX_XREADDISPLAY, [IRIX XReadDisplay available]) if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then AC_CHECK_LIB(X11, XGetImage, HAVE_X="true", HAVE_X="false", @@ -70,6 +72,14 @@ if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then [AC_DEFINE(HAVE_XSHM)], , $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) + AC_CHECK_LIB(Xext, XReadScreen, + [AC_DEFINE(HAVE_SOLARIS_XREADSCREEN)], , + $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) + + AC_CHECK_HEADER(X11/extensions/readdisplay.h, + [AC_DEFINE(HAVE_IRIX_XREADDISPLAY)], , + [#include <X11/Xlib.h>]) + AC_CHECK_LIB(Xtst, XTestGrabControl, X_PRELIBS="$X_PRELIBS -lXtst" [AC_DEFINE(HAVE_XTESTGRABCONTROL) HAVE_XTESTGRABCONTROL="true"], , |