2013-09-28 17:59:50 +08:00
|
|
|
#ifndef ZM_CMAKE_CONFIG_H
|
|
|
|
#define ZM_CMAKE_CONFIG_H
|
|
|
|
|
|
|
|
/* This file is used by cmake to create config.h for ZM */
|
|
|
|
|
|
|
|
/* General system checks */
|
2015-05-21 06:20:44 +08:00
|
|
|
#cmakedefine BSD 1
|
|
|
|
#cmakedefine SOLARIS 1
|
2013-09-28 17:59:50 +08:00
|
|
|
#cmakedefine HAVE_LINUX_VIDEODEV2_H 1
|
|
|
|
#cmakedefine HAVE_EXECINFO_H 1
|
2013-10-06 23:26:33 +08:00
|
|
|
#cmakedefine HAVE_UCONTEXT_H 1
|
2013-09-28 17:59:50 +08:00
|
|
|
#cmakedefine HAVE_SYS_SENDFILE_H 1
|
|
|
|
#cmakedefine HAVE_SYS_SYSCALL_H 1
|
2013-10-03 20:08:09 +08:00
|
|
|
#cmakedefine HAVE_SYSCALL 1
|
2013-09-28 17:59:50 +08:00
|
|
|
#cmakedefine HAVE_SENDFILE 1
|
|
|
|
#cmakedefine HAVE_DECL_BACKTRACE 1
|
2013-10-06 23:26:33 +08:00
|
|
|
#cmakedefine HAVE_DECL_BACKTRACE_SYMBOLS 1
|
2013-09-28 17:59:50 +08:00
|
|
|
#cmakedefine HAVE_POSIX_MEMALIGN 1
|
|
|
|
#cmakedefine HAVE_SIGINFO_T 1
|
|
|
|
#cmakedefine HAVE_UCONTEXT_T 1
|
|
|
|
|
|
|
|
/* Library checks and their header files */
|
|
|
|
#cmakedefine HAVE_LIBZLIB 1
|
|
|
|
#cmakedefine HAVE_ZLIB_H 1
|
2013-11-04 22:57:22 +08:00
|
|
|
#cmakedefine HAVE_LIBCURL 1
|
|
|
|
#cmakedefine HAVE_CURL_CURL_H 1
|
2013-09-28 17:59:50 +08:00
|
|
|
#cmakedefine HAVE_LIBJPEG 1
|
|
|
|
#cmakedefine HAVE_JPEGLIB_H 1
|
|
|
|
#cmakedefine HAVE_LIBOPENSSL 1
|
|
|
|
#cmakedefine HAVE_LIBPTHREAD 1
|
|
|
|
#cmakedefine HAVE_PTHREAD_H
|
|
|
|
#cmakedefine HAVE_LIBPCRE 1
|
|
|
|
#cmakedefine HAVE_PCRE_H 1
|
|
|
|
#cmakedefine HAVE_LIBGNUTLS 1
|
|
|
|
#cmakedefine HAVE_LIBMYSQLCLIENT 1
|
|
|
|
#cmakedefine HAVE_MYSQL_H 1
|
2019-06-25 05:22:59 +08:00
|
|
|
#cmakedefine HAVE_LIBAVUTIL_HWCONTEXT_H 1
|
2013-12-13 01:45:29 +08:00
|
|
|
#cmakedefine HAVE_LIBVLC 1
|
2013-12-21 12:47:12 +08:00
|
|
|
#cmakedefine HAVE_VLC_VLC_H 1
|
2020-03-26 15:08:00 +08:00
|
|
|
#cmakedefine HAVE_LIBVNC 1
|
|
|
|
#cmakedefine HAVE_RFB_RFB_H 1
|
2020-03-06 01:29:27 +08:00
|
|
|
#cmakedefine HAVE_LIBJWT 1
|
2020-12-10 04:04:05 +08:00
|
|
|
#cmakedefine HAVE_RTSP_SERVER 1
|
2013-09-28 17:59:50 +08:00
|
|
|
|
2013-10-07 20:06:26 +08:00
|
|
|
/* Few ZM options that are needed by the source code */
|
|
|
|
#cmakedefine ZM_MEM_MAPPED 1
|
2021-06-01 05:07:59 +08:00
|
|
|
#cmakedefine ZM_HAS_V4L 1
|
|
|
|
#cmakedefine ZM_HAS_V4L2 1
|
2013-10-07 20:06:26 +08:00
|
|
|
|
2013-09-28 17:59:50 +08:00
|
|
|
/* Its safe to assume that signal return type is void. This is a fix for zm_signal.h */
|
|
|
|
#define RETSIGTYPE void
|
|
|
|
|
|
|
|
#endif
|