You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-10-31 18:30:33 +03:00 
			
		
		
		
	This passes most tests; need to make sure that the tests that fail have nothing to do with this change. DMLProc is doing something that results in a sudo password prompt. Will obliterate that next.
		
			
				
	
	
		
			391 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			391 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
| /* config.h.cmake  */
 | |
| #ifndef TEST_CONFIG_H
 | |
| #define TEST_CONFIG_H
 | |
| 
 | |
| /* Define to 1 to let the system come up without using OAM */
 | |
| #cmakedefine SKIP_OAM_INIT 1
 | |
| 
 | |
| /* Define to 1 if you have the `alarm' function. */
 | |
| #cmakedefine HAVE_ALARM 1
 | |
| 
 | |
| /* Define to 1 if you have `alloca', as a function or macro. */
 | |
| #cmakedefine HAVE_ALLOCA 1
 | |
| 
 | |
| /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
 | |
|    */
 | |
| #cmakedefine HAVE_ALLOCA_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <arpa/inet.h> header file. */
 | |
| #cmakedefine HAVE_ARPA_INET_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `btowc' function. */
 | |
| #cmakedefine HAVE_BTOWC 1
 | |
| 
 | |
| /* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
 | |
|    */
 | |
| #cmakedefine HAVE_DECL_GETENV 1
 | |
| 
 | |
| /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
 | |
|    don't. */
 | |
| #cmakedefine HAVE_DECL_STRERROR_R 1
 | |
| 
 | |
| /* Define to 1 if you have the <dlfcn.h> header file. */
 | |
| #cmakedefine HAVE_DLFCN_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `dup2' function. */
 | |
| #cmakedefine HAVE_DUP2 1
 | |
| 
 | |
| /* Define to 1 if you have the <fcntl.h> header file. */
 | |
| #cmakedefine HAVE_FCNTL_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `floor' function. */
 | |
| #cmakedefine HAVE_FLOOR 1
 | |
| 
 | |
| /* Define to 1 if you have the `fork' function. */
 | |
| #cmakedefine HAVE_FORK 1
 | |
| 
 | |
| /* Define to 1 if you have the `ftime' function. */
 | |
| #cmakedefine HAVE_FTIME 1
 | |
| 
 | |
| /* Define to 1 if you have the `ftruncate' function. */
 | |
| #cmakedefine HAVE_FTRUNCATE 1
 | |
| 
 | |
| /* Define to 1 if you have the `gethostbyname' function. */
 | |
| #cmakedefine HAVE_GETHOSTBYNAME 1
 | |
| 
 | |
| /* Define to 1 if you have the `getpagesize' function. */
 | |
| #cmakedefine HAVE_GETPAGESIZE 1
 | |
| 
 | |
| /* Define to 1 if you have the `gettimeofday' function. */
 | |
| #cmakedefine HAVE_GETTIMEOFDAY 1
 | |
| 
 | |
| /* Define to 1 if you have the `inet_ntoa' function. */
 | |
| #cmakedefine HAVE_INET_NTOA 1
 | |
| 
 | |
| /* Define to 1 if you have the <inttypes.h> header file. */
 | |
| #cmakedefine HAVE_INTTYPES_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `isascii' function. */
 | |
| #cmakedefine HAVE_ISASCII 1
 | |
| 
 | |
| /* Define to 1 if you have the <limits.h> header file. */
 | |
| #cmakedefine HAVE_LIMITS_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `localtime_r' function. */
 | |
| #cmakedefine HAVE_LOCALTIME_R 1
 | |
| 
 | |
| /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
 | |
|    to 0 otherwise. */
 | |
| #cmakedefine HAVE_MALLOC 1
 | |
| 
 | |
| /* Define to 1 if you have the <malloc.h> header file. */
 | |
| #cmakedefine HAVE_MALLOC_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `mbsrtowcs' function. */
 | |
| #cmakedefine HAVE_MBSRTOWCS 1 
 | |
| 
 | |
| /* Define to 1 if <wchar.h> declares mbstate_t. */
 | |
| #cmakedefine HAVE_MBSTATE_T 1
 | |
| 
 | |
| /* Define to 1 if you have the `memchr' function. */
 | |
| #cmakedefine HAVE_MEMCHR 1
 | |
| 
 | |
| /* Define to 1 if you have the `memmove' function. */
 | |
| #cmakedefine HAVE_MEMMOVE 1
 | |
| 
 | |
| /* Define to 1 if you have the <memory.h> header file. */
 | |
| #cmakedefine HAVE_MEMORY_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `mempcpy' function. */
 | |
| #cmakedefine HAVE_MEMPCPY 1
 | |
| 
 | |
| /* Define to 1 if you have the `memset' function. */
 | |
| #cmakedefine HAVE_MEMSET 1
 | |
| 
 | |
| /* Define to 1 if you have the `mkdir' function. */
 | |
| #cmakedefine HAVE_MKDIR 1
 | |
| 
 | |
| /* Define to 1 if you have the <ncurses.h> header file. */
 | |
| #cmakedefine HAVE_NCURSES_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <netdb.h> header file. */
 | |
| #cmakedefine HAVE_NETDB_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <netinet/in.h> header file. */
 | |
| #cmakedefine HAVE_NETINET_IN_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `pow' function. */
 | |
| #cmakedefine HAVE_POW 1
 | |
| 
 | |
| /* Define to 1 if the system has the type `ptrdiff_t'. */
 | |
| #cmakedefine HAVE_PTRDIFF_T 1
 | |
| 
 | |
| /* Define to 1 if you have the <readline/readline.h> header file. */
 | |
| #cmakedefine HAVE_READLINE_READLINE_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `regcomp' function. */
 | |
| #cmakedefine HAVE_REGCOMP 1
 | |
| 
 | |
| /* Define to 1 if you have the `rmdir' function. */
 | |
| #cmakedefine HAVE_RMDIR 1
 | |
| 
 | |
| /* Define to 1 if you have the `select' function. */
 | |
| #cmakedefine HAVE_SELECT 1
 | |
| 
 | |
| /* Define to 1 if you have the `setenv' function. */
 | |
| #cmakedefine HAVE_SETENV 1
 | |
| 
 | |
| /* Define to 1 if you have the `setlocale' function. */
 | |
| #cmakedefine HAVE_SETLOCALE 1
 | |
| 
 | |
| /* Define to 1 if you have the `socket' function. */
 | |
| #cmakedefine HAVE_SOCKET 1
 | |
| 
 | |
| /* Define to 1 if `stat' has the bug that it succeeds when given the
 | |
|    zero-length file name argument. */
 | |
| #cmakedefine HAVE_STAT_EMPTY_STRING_BUG 1
 | |
| 
 | |
| /* Define to 1 if stdbool.h conforms to C99. */
 | |
| #cmakedefine HAVE_STDBOOL_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <stddef.h> header file. */
 | |
| #cmakedefine HAVE_STDDEF_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <stdint.h> header file. */
 | |
| #cmakedefine HAVE_STDINT_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <stdlib.h> header file. */
 | |
| #cmakedefine HAVE_STDLIB_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `strcasecmp' function. */
 | |
| #cmakedefine HAVE_STRCASECMP 1
 | |
| 
 | |
| /* Define to 1 if you have the `strchr' function. */
 | |
| #cmakedefine HAVE_STRCHR 1
 | |
| 
 | |
| /* Define to 1 if you have the `strcspn' function. */
 | |
| #cmakedefine HAVE_STRCSPN 1
 | |
| 
 | |
| /* Define to 1 if you have the `strdup' function. */
 | |
| #cmakedefine HAVE_STRDUP 1
 | |
| 
 | |
| /* Define to 1 if you have the `strerror' function. */
 | |
| #cmakedefine HAVE_STRERROR 1
 | |
| 
 | |
| /* Define to 1 if you have the `strerror_r' function. */
 | |
| #cmakedefine HAVE_STRERROR_R 1
 | |
| 
 | |
| /* Define to 1 if you have the `strftime' function. */
 | |
| #cmakedefine HAVE_STRFTIME 1
 | |
| 
 | |
| /* Define to 1 if you have the <strings.h> header file. */
 | |
| #cmakedefine HAVE_STRINGS_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <string.h> header file. */
 | |
| #cmakedefine HAVE_STRING_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `strrchr' function. */
 | |
| #cmakedefine HAVE_STRRCHR 1
 | |
| 
 | |
| /* Define to 1 if you have the `strspn' function. */
 | |
| #cmakedefine HAVE_STRSPN 1
 | |
| 
 | |
| /* Define to 1 if you have the `strstr' function. */
 | |
| #cmakedefine HAVE_STRSTR 1
 | |
| 
 | |
| /* Define to 1 if you have the `strtol' function. */
 | |
| #cmakedefine HAVE_STRTOL 1
 | |
| 
 | |
| /* Define to 1 if you have the `strtoul' function. */
 | |
| #cmakedefine HAVE_STRTOUL 1
 | |
| 
 | |
| /* Define to 1 if you have the `strtoull' function. */
 | |
| #cmakedefine HAVE_STRTOULL 1
 | |
| 
 | |
| /* Define to 1 if you have the <syslog.h> header file. */
 | |
| #cmakedefine HAVE_SYSLOG_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <sys/file.h> header file. */
 | |
| #cmakedefine HAVE_SYS_FILE_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <sys/mount.h> header file. */
 | |
| #cmakedefine HAVE_SYS_MOUNT_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <sys/select.h> header file. */
 | |
| #cmakedefine HAVE_SYS_SELECT_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <sys/socket.h> header file. */
 | |
| #cmakedefine HAVE_SYS_SOCKET_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <sys/statfs.h> header file. */
 | |
| #cmakedefine HAVE_SYS_STATFS_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <sys/stat.h> header file. */
 | |
| #cmakedefine HAVE_SYS_STAT_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <sys/timeb.h> header file. */
 | |
| #cmakedefine HAVE_SYS_TIMEB_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <sys/time.h> header file. */
 | |
| #cmakedefine HAVE_SYS_TIME_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <sys/types.h> header file. */
 | |
| #cmakedefine HAVE_SYS_TYPES_H 1
 | |
| 
 | |
| /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
 | |
| #cmakedefine HAVE_SYS_WAIT_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <unistd.h> header file. */
 | |
| #cmakedefine HAVE_UNISTD_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `utime' function. */
 | |
| #cmakedefine HAVE_UTIME 1
 | |
| 
 | |
| /* Define to 1 if you have the <utime.h> header file. */
 | |
| #cmakedefine HAVE_UTIME_H 1
 | |
| 
 | |
| /* Define to 1 if `utime(file, NULL)' sets file's timestamp to the present. */
 | |
| #cmakedefine HAVE_UTIME_NULL 1
 | |
| 
 | |
| /* Define to 1 if you have the <values.h> header file. */
 | |
| #cmakedefine HAVE_VALUES_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `vfork' function. */
 | |
| #cmakedefine HAVE_VFORK 1
 | |
| 
 | |
| /* Define to 1 if you have the <vfork.h> header file. */
 | |
| #cmakedefine HAVE_VFORK_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <wchar.h> header file. */
 | |
| #cmakedefine HAVE_WCHAR_H 1
 | |
| 
 | |
| /* Define to 1 if you have the <wctype.h> header file. */
 | |
| #cmakedefine HAVE_WCTYPE_H 1
 | |
| 
 | |
| /* Define to 1 if you have the `wmempcpy' function. */
 | |
| #cmakedefine HAVE_WMEMPCPY 1
 | |
| 
 | |
| /* Define to 1 if `fork' works. */
 | |
| #cmakedefine HAVE_WORKING_FORK 1
 | |
| 
 | |
| /* Define to 1 if `vfork' works. */
 | |
| #cmakedefine HAVE_WORKING_VFORK 1
 | |
| 
 | |
| /* Define to 1 if you have the <zlib.h> header file. */
 | |
| #cmakedefine HAVE_ZLIB_H 1
 | |
| 
 | |
| /* Define to 1 if the system has the type `_Bool'. */
 | |
| #cmakedefine HAVE__BOOL 1
 | |
| 
 | |
| /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
 | |
|    slash. */
 | |
| #cmakedefine LSTAT_FOLLOWS_SLASHED_SYMLINK 1
 | |
| 
 | |
| /* Name of package */
 | |
| #cmakedefine PACKAGE "${PACKAGE}"
 | |
| 
 | |
| /* Define to the address where bug reports for this package should be sent. */
 | |
| #cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
 | |
| 
 | |
| /* Define to the full name of this package. */
 | |
| #cmakedefine PACKAGE_NAME "${PACKAGE_NAME}"
 | |
| 
 | |
| /* Define to the full name and version of this package. */
 | |
| #cmakedefine PACKAGE_STRING "${PACKAGE_STRING}"
 | |
| 
 | |
| /* Define to the one symbol short name of this package. */
 | |
| #cmakedefine PACKAGE_TARNAME "${PACKAGE_TARNAME}"
 | |
| 
 | |
| /* Define to the home page for this package. */
 | |
| #cmakedefine PACKAGE_URL "${PACKAGE_URL}"
 | |
| 
 | |
| /* Define to the version of this package. */
 | |
| #cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
 | |
| 
 | |
| /* Define as the return type of signal handlers (`int' or `void'). */
 | |
| #cmakedefine RETSIGTYPE ${RETSIGTYPE}
 | |
| 
 | |
| /* Define to the type of arg 1 for `select'. */
 | |
| #cmakedefine SELECT_TYPE_ARG1 ${SELECT_TYPE_ARG1}
 | |
| 
 | |
| /* Define to the type of args 2, 3 and 4 for `select'. */
 | |
| #cmakedefine SELECT_TYPE_ARG234 (${SELECT_TYPE_ARG234})
 | |
| 
 | |
| /* Define to the type of arg 5 for `select'. */
 | |
| #cmakedefine SELECT_TYPE_ARG5 (${SELECT_TYPE_ARG5})
 | |
| 
 | |
| /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
 | |
| #cmakedefine STAT_MACROS_BROKEN 1
 | |
| 
 | |
| /* Define to 1 if you have the ANSI C header files. */
 | |
| #cmakedefine STDC_HEADERS 1
 | |
| 
 | |
| /* Define to 1 if strerror_r returns char *. */
 | |
| #cmakedefine STRERROR_R_CHAR_P 1
 | |
| 
 | |
| /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
 | |
| #cmakedefine TIME_WITH_SYS_TIME 1
 | |
| 
 | |
| /* Define to 1 if your <sys/time.h> declares `struct tm'. */
 | |
| #cmakedefine TM_IN_SYS_TIME 1
 | |
| 
 | |
| /* Version number of package */
 | |
| #cmakedefine VERSION "${VERSION}"
 | |
| 
 | |
| /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
 | |
|    `char[]'. */
 | |
| #cmakedefine YYTEXT_POINTER 1
 | |
| 
 | |
| /* Define to empty if `const' does not conform to ANSI C. */
 | |
| #cmakedefine const
 | |
| 
 | |
| /* Define to rpl_fnmatch if the replacement function should be used. */
 | |
| #cmakedefine fnmatch
 | |
| 
 | |
| /* 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 ${inline}
 | |
| #endif
 | |
| 
 | |
| /* Define to rpl_malloc if the replacement function should be used. */
 | |
| #cmakedefine malloc
 | |
| 
 | |
| /* Define to a type if <wchar.h> does not define. */
 | |
| #cmakedefine mbstate_t
 | |
| 
 | |
| /* Define to `int' if <sys/types.h> does not define. */
 | |
| #cmakedefine mode_t ${mode_t}
 | |
| 
 | |
| /* Define to `long int' if <sys/types.h> does not define. */
 | |
| #cmakedefine off_t ${off_t}
 | |
| 
 | |
| /* Define to `int' if <sys/types.h> does not define. */
 | |
| #cmakedefine pid_t ${pid_t}
 | |
| 
 | |
| /* Define to the equivalent of the C99 'restrict' keyword, or to
 | |
|    nothing if this is not supported.  Do not define if restrict is
 | |
|    supported directly.  */
 | |
| #cmakedefine restrict ${restrict}
 | |
| /* Work around a bug in Sun C++: it does not support _Restrict or
 | |
|    __restrict__, even though the corresponding Sun C compiler ends up with
 | |
|    "#define restrict _Restrict" or "#define restrict __restrict__" in the
 | |
|    previous line.  Perhaps some future version of Sun C++ will work with
 | |
|    restrict; if so, hopefully it defines __RESTRICT like Sun C does.  */
 | |
| #if defined __SUNPRO_CC && !defined __RESTRICT
 | |
| # define _Restrict
 | |
| # define __restrict__
 | |
| #endif
 | |
| 
 | |
| /* Define to `unsigned int' if <sys/types.h> does not define. */
 | |
| #cmakedefine size_t ${size_t}
 | |
| 
 | |
| /* Define as `fork' if `vfork' does not work. */
 | |
| #cmakedefine vfork ${VFORK}
 | |
| 
 | |
| /* Define to empty if the keyword `volatile' does not work. Warning: valid
 | |
|    code using `volatile' can become incorrect without. Disable with care. */
 | |
| #cmakedefine volatile
 | |
| 
 | |
| #endif
 |