WinVNC but it is now possible to compile vncviewer at least.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3934
3789f03b-4d11-0410-bbf8-
ca57d06f2519
AC_CHECK_HEADERS([sys/select.h])
+# Needed for WinVNC, but not part of mingw yet
+AC_CHECK_DECLS([CLSID_ActiveDesktop], [BUILD_WINVNC=yes], [],
+ [[#include <windows.h>
+ #include <shlguid.h>
+ ]])
+AM_CONDITIONAL([BUILD_WINVNC], [ test "x$BUILD_WINVNC" = xyes ])
+
AC_OUTPUT([
Makefile
common/Makefile
-SUBDIRS = rfb_win32 vncviewer vncconfig winvnc
+SUBDIRS = rfb_win32 vncviewer
+
+if BUILD_WINVNC
+SUBDIRS += vncconfig winvnc
+endif
EXTRA_DIST = logmessages/messages.h
AboutDialog.h \
BitmapInfo.h \
CKeyboard.h \
- CleanDesktop.h \
Clipboard.h \
CompatibleBitmap.h \
ComputerName.h \
librfb_win32_la_SOURCES = $(HDRS) \
AboutDialog.cxx \
CKeyboard.cxx \
- CleanDesktop.cxx \
Clipboard.cxx \
CPointer.cxx \
CurrentUser.cxx \
WMShatter.cxx \
WMWindowCopyRect.cxx
+# These files rely on features not yet in upstream mingw
+if BUILD_WINVNC
+librfb_win32_la_SOURCES += \
+ CleanDesktop.h \
+ CleanDesktop.cxx
+endif
+
librfb_win32_la_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/win
librfb_win32_la_LIBADD =