summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorrunge <runge>2004-04-08 20:07:29 +0000
committerrunge <runge>2004-04-08 20:07:29 +0000
commit782c6e7a15ce1870f1e3d6d450a119f444b6b1e8 (patch)
tree4a1ccd6a59a7ec202cd01d7e768aad70f6509379 /configure.ac
parente68063f2467951e72832a31d54f8c35cdfdcbd26 (diff)
downloadlibtdevnc-782c6e7a15ce1870f1e3d6d450a119f444b6b1e8.tar.gz
libtdevnc-782c6e7a15ce1870f1e3d6d450a119f444b6b1e8.zip
x11vnc options -blackout, -xinerama, -xwarppointer. check cargs.
modify configure.ac to pick up -lXinerama
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ddaec06..4121dd6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,10 +34,15 @@ fi
HAVE_X="false"
AC_PATH_XTRA
AH_TEMPLATE(HAVE_XKEYBOARD, [XKEYBOARD extension build environment present])
+AH_TEMPLATE(HAVE_LIBXINERAMA, [XINERAMA extension build environment present])
if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
AC_CHECK_LIB(X11, XkbSelectEvents,
[AC_DEFINE(HAVE_XKEYBOARD)], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
+ AC_CHECK_LIB(Xinerama, XineramaQueryScreens,
+ X_PRELIBS="$X_PRELIBS -lXinerama"
+ [AC_DEFINE(HAVE_LIBXINERAMA)], ,
+ $X_LIBS $X_PRELIBS -lX11 -lXext $X_EXTRA_LIBS)
AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, HAVE_XTEST="true",
HAVE_XTEST="false",
$X_LIBS $X_PRELIBS -lX11 -lXext $X_EXTRA_LIBS)