#pragma once /* Variables that usually don't change once configured */ /* The user-visible name of the app you build. */ #undef APP_NAME /* Default value of feature_lock.calc_unlock_highlights */ #undef CALC_UNLOCK_HIGHLIGHTS /* Define to 1 if this is a code-coverage build. */ #undef CODE_COVERAGE /* Enable permanent anonymization in logs */ #undef COOLWSD_ANONYMIZE_USER_DATA /* Options passed to configure script */ #undef COOLWSD_BUILDCONFIG /* Directory that contains configuration of coolwsd */ #undef COOLWSD_CONFIGDIR /* Default coolwsd loglevel */ #undef COOLWSD_LOGLEVEL /* Default location of coolwsd log file */ #undef COOLWSD_LOGFILE /* Default location of coolwsd UI command log file */ #undef COOLWSD_LOGFILE_UICMD /* Destination for Trace Event output */ #undef COOLWSD_TRACEEVENTFILE /* The user-name which is allowed to run coolwsd and its tools */ #undef COOL_USER_ID /* Default number of pre-spawn children */ #undef NUM_PRESPAWN_CHILDREN /* Absolute path to the top-level source directory */ #undef DEBUG_ABSSRCDIR /* Whether to disable SECCOMP */ #undef DISABLE_SECCOMP /* Default value of feature_lock.draw_unlock_highlights */ #undef DRAW_UNLOCK_HIGHLIGHTS /* Whether to compile in some extra debugging support code and disable some security pieces */ #undef ENABLE_DEBUG /* Whether to compile and enable feature locking */ #undef ENABLE_FEATURE_LOCK /* Whether to compile and enable feature restrictions */ #undef ENABLE_FEATURE_RESTRICTION /* Whether to enable SSL */ #undef ENABLE_SSL /* Whether to default to using SSL_VERIFY_PEER */ #undef SSL_VERIFY /* Whether to enable support key */ #undef ENABLE_SUPPORT_KEY /* Should the Release notes message be shown on upgrade */ #undef ENABLE_WELCOME_MESSAGE /* User feedback URL. */ #undef FEEDBACK_URL /* Define to 1 if libcap (cap_get_proc) is available, otherwise 0 */ #define HAVE_LIBCAP 0 /* Define to 1 if the `ppoll' function is available, otherwise 0. */ #define HAVE_PPOLL 0 /* Define to 1 if the `memrchr' function is available, otherwise 0. */ #define HAVE_MEMRCHR 0 /* Define to 1 if the `pipe2' function is available, otherwise 0. */ #define HAVE_PIPE2 0 /* Default value of help root URL */ #undef HELP_URL /* Default value of feature_lock.impress_unlock_highlights */ #undef IMPRESS_UNLOCK_HIGHLIGHTS /* Infobar URL. */ #undef INFOBAR_URL /* Define to 1 if this is a libfuzzer build. */ #undef LIBFUZZER /* Default value of feature_lock.locked_commands */ #undef LOCKED_COMMANDS /* Enable logging of test assertions */ #undef LOK_LOG_ASSERTIONS /* Path to LibreOffice installation */ #undef LO_PATH /* Limit the maximum number of open connections */ #undef MAX_CONNECTIONS /* Limit the maximum number of open documents */ #undef MAX_DOCUMENTS /* Define to 1 if this is a mobileapp (eg. Android) build. */ #undef MOBILEAPP /* Define to 1 when we should use systemplate and jails (eg. normal coolwsd server), otherwise 0 (eg. CODA). */ #undef ENABLE_CHILDROOTS /* Default value of feature_lock.unlock_description */ #undef UNLOCK_DESCRIPTION /* Default value of feature_lock.unlock_link */ #undef UNLOCK_LINK /* Default value of feature_lock.unlock_title */ #undef UNLOCK_TITLE /* The welcome url of the build. */ #undef WELCOME_URL /* Default value of feature_lock.writer_unlock_highlights */ #undef WRITER_UNLOCK_HIGHLIGHTS /* Should we enable SIMD acceleration */ #undef ENABLE_SIMD /* Define to 1 if this is the WASM app build. */ #undef WASMAPP /* Define to 1 if building for macOS */ #undef MACOS /* Makes config variables conditionally static, only in non-debug builds, to allow for overriding them in unit-tests. */ #undef CONFIG_STATIC_TYPE /* This top-level config.h is used only in "normal" COOL, thus we * don't need the Windows version of EXPORT here, and not EXTERNC * either. */ #define EXTERNC /**/ #define EXPORT /**/ /* Controls whether or not we allow loading documents from the local filesystem. */ #ifndef ENABLE_LOCAL_FILESYSTEM #if MOBILEAPP || ENABLE_DEBUG #define ENABLE_LOCAL_FILESYSTEM 1 #else #define ENABLE_LOCAL_FILESYSTEM 0 #endif #endif #if defined(__COVERITY__) #define CONFIG_STATIC static #else #define CONFIG_STATIC CONFIG_STATIC_TYPE #endif