summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authordscho <dscho>2008-01-29 11:49:14 +0000
committerdscho <dscho>2008-01-29 11:49:14 +0000
commit09d902c5b7ce1881e7a4d9642bfae8202f13387f (patch)
treeffa9432de01d77b73670d2900c9659913fcc60af /rfb
parentc07091b3900ad1d66bb9665a892bf93c685d031a (diff)
downloadlibvncserver-09d902c5b7ce1881e7a4d9642bfae8202f13387f.zip
libvncserver-09d902c5b7ce1881e7a4d9642bfae8202f13387f.tar.gz
Add CMake support (thanks to Christian Ehrlicher)
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfbconfig.h.cmake89
-rw-r--r--rfb/rfbint.h.cmake4
2 files changed, 93 insertions, 0 deletions
diff --git a/rfb/rfbconfig.h.cmake b/rfb/rfbconfig.h.cmake
new file mode 100644
index 0000000..5e15569
--- /dev/null
+++ b/rfb/rfbconfig.h.cmake
@@ -0,0 +1,89 @@
+#ifndef _RFB_RFBCONFIG_H
+#cmakedefine _RFB_RFBCONFIG_H 1
+
+/* rfb/rfbconfig.h. Generated automatically by cmake. */
+
+/* Enable 24 bit per pixel in native framebuffer */
+#cmakedefine LIBVNCSERVER_ALLOW24BPP 1
+
+/* work around when write() returns ENOENT but does not mean it */
+#cmakedefine LIBVNCSERVER_ENOENT_WORKAROUND 1
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#cmakedefine LIBVNCSERVER_HAVE_FCNTL_H 1
+
+/* Define to 1 if you have the `gettimeofday' function. */
+#cmakedefine LIBVNCSERVER_HAVE_GETTIMEOFDAY 1
+
+/* Define to 1 if you have the `jpeg' library (-ljpeg). */
+#cmakedefine LIBVNCSERVER_HAVE_LIBJPEG 1
+
+/* Define to 1 if you have the `pthread' library (-lpthread). */
+#cmakedefine LIBVNCSERVER_HAVE_LIBPTHREAD 1
+
+/* Define to 1 if you have the `z' library (-lz). */
+#cmakedefine LIBVNCSERVER_HAVE_LIBZ 1
+
+/* Define to 1 if you have the <netinet/in.h> header file. */
+#cmakedefine LIBVNCSERVER_HAVE_NETINET_IN_H 1
+
+/* Define to 1 if you have the <sys/socket.h> header file. */
+#cmakedefine LIBVNCSERVER_HAVE_SYS_SOCKET_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#cmakedefine LIBVNCSERVER_HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#cmakedefine LIBVNCSERVER_HAVE_SYS_TIME_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#cmakedefine LIBVNCSERVER_HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
+#cmakedefine LIBVNCSERVER_HAVE_SYS_WAIT_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#cmakedefine LIBVNCSERVER_HAVE_UNISTD_H 1
+
+/* Need a typedef for in_addr_t */
+#cmakedefine LIBVNCSERVER_NEED_INADDR_T 1
+
+/* Define to the full name and version of this package. */
+#define LIBVNCSERVER_PACKAGE_STRING "@FULL_PACKAGE_NAME@ @PACKAGE_VERSION@"
+
+/* Define to the version of this package. */
+#define LIBVNCSERVER_PACKAGE_VERSION "@PACKAGE_VERSION@"
+
+/* Define to 1 if your processor stores words with the most significant byte
+ first (like Motorola and SPARC, unlike Intel and VAX). */
+#cmakedefine LIBVNCSERVER_WORDS_BIGENDIAN 1
+
+/* Define to empty if `const' does not conform to ANSI C. */
+//#cmakedefine const @CMAKE_CONST@
+
+/* Define to `__inline__' or `__inline' if that's what the C compiler
+ calls it, or to nothing if 'inline' is not supported under any name. */
+//#ifndef __cplusplus
+//#cmakedefine inline @CMAKE_INLINE@
+//#endif
+
+/* Define to `int' if <sys/types.h> does not define. */
+#cmakedefine HAVE_LIBVNCSERVER_PID_T 1
+#ifndef HAVE_LIBVNCSERVER_PID_T
+typedef int pid_t;
+#endif
+
+/* The type for size_t */
+#cmakedefine HAVE_LIBVNCSERVER_SIZE_T 1
+#ifndef HAVE_LIBVNCSERVER_SIZE_T
+typedef int size_t;
+#endif
+
+/* The type for socklen */
+#cmakedefine HAVE_LIBVNCSERVER_SOCKLEN_T 1
+#ifndef HAVE_LIBVNCSERVER_SOCKLEN_T
+typedef int socklen_t;
+#endif
+
+/* once: _RFB_RFBCONFIG_H */
+#endif
diff --git a/rfb/rfbint.h.cmake b/rfb/rfbint.h.cmake
new file mode 100644
index 0000000..17de6cd
--- /dev/null
+++ b/rfb/rfbint.h.cmake
@@ -0,0 +1,4 @@
+#ifndef _RFB_RFBINT_H
+#define _RFB_RFBINT_H 1
+/* empty ... */
+#endif
OpenPOWER on IntegriCloud