diff options
author | runge <runge> | 2004-04-08 20:07:29 +0000 |
---|---|---|
committer | runge <runge> | 2004-04-08 20:07:29 +0000 |
commit | 782c6e7a15ce1870f1e3d6d450a119f444b6b1e8 (patch) | |
tree | 4a1ccd6a59a7ec202cd01d7e768aad70f6509379 /configure.ac | |
parent | e68063f2467951e72832a31d54f8c35cdfdcbd26 (diff) | |
download | libvncserver-782c6e7a15ce1870f1e3d6d450a119f444b6b1e8.zip libvncserver-782c6e7a15ce1870f1e3d6d450a119f444b6b1e8.tar.gz |
x11vnc options -blackout, -xinerama, -xwarppointer. check cargs.
modify configure.ac to pick up -lXinerama
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
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) |