From 782c6e7a15ce1870f1e3d6d450a119f444b6b1e8 Mon Sep 17 00:00:00 2001 From: runge Date: Thu, 8 Apr 2004 20:07:29 +0000 Subject: x11vnc options -blackout, -xinerama, -xwarppointer. check cargs. modify configure.ac to pick up -lXinerama --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') 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) -- cgit v1.2.1