mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-21 16:38:06 -06:00
3abc9a5558
- Also, remove unnecessary "static" in gnucash-style.c The second one in guid.cpp is UB: libgnucash/engine/guid.cpp:137:5: warning: undefined behavior, source object type 'const gnc::GUID' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] memcpy (&target, &source, sizeof (GncGUID)); ^
325 lines
9.3 KiB
CMake
325 lines
9.3 KiB
CMake
/* Template file for processing by the cmake command CONFIGURE_FILE */
|
|
|
|
/* If we're using this file it's a CMAKE build, so say so */
|
|
#define CMAKE_BUILD 1
|
|
|
|
/* Define if building universal (internal helper macro) */
|
|
#cmakedefine AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
/* Include pthread support for binary relocation? */
|
|
#cmakedefine BR_PTHREAD 1
|
|
|
|
/* Use binary relocation? */
|
|
#cmakedefine ENABLE_BINRELOC
|
|
|
|
/* always defined to indicate that i18n is enabled */
|
|
#cmakedefine ENABLE_NLS 1
|
|
|
|
/* Using GDK Quartz (not X11) */
|
|
#cmakedefine GDK_QUARTZ
|
|
|
|
/* Name of our gettext-domain, needed for gi18n-lib.h */
|
|
#define GETTEXT_PACKAGE "@PROJECT_NAME@"
|
|
|
|
/* Cocoa/Nexstep/GnuStep framework */
|
|
#cmakedefine GNC_PLATFORM_COCOA 1
|
|
|
|
/* Darwin-based OS */
|
|
#cmakedefine GNC_PLATFORM_DARWIN 1
|
|
|
|
/* Running on OSX, either X11 or Quartz */
|
|
#cmakedefine GNC_PLATFORM_OSX 1
|
|
#cmakedefine PLATFORM_OSX 1
|
|
|
|
/* POSIX-compliant OS */
|
|
#cmakedefine GNC_PLATFORM_POSIX 1
|
|
|
|
/* Microsoft Windows OS */
|
|
#cmakedefine GNC_PLATFORM_WINDOWS 1
|
|
|
|
/* GnuCash build identification, which defaults to a description of the vcs
|
|
commit from which gnucash is built. Distributions may want to insert a
|
|
package management based version string instead. */
|
|
#define GNUCASH_BUILD_ID "@GNUCASH_BUILD_ID@"
|
|
|
|
/* GnuCash earliest compatible databaseversion number */
|
|
#define GNUCASH_RESAVE_VERSION @GNUCASH_RESAVE_VERSION@
|
|
|
|
/* GnuCash prefix to use for GLib resources */
|
|
#define GNUCASH_RESOURCE_PREFIX "@GNUCASH_RESOURCE_PREFIX@"
|
|
|
|
/* define if the Boost library is available */
|
|
#cmakedefine HAVE_BOOST
|
|
|
|
/* Define to 1 if you have the `chown' function. */
|
|
#cmakedefine HAVE_CHOWN 1
|
|
|
|
/* define if the compiler supports basic C++11 syntax */
|
|
#cmakedefine HAVE_CXX11 1
|
|
|
|
/* Define to 1 if you have the <dbi/dbi.h> header file. */
|
|
#cmakedefine HAVE_DBI_DBI_H 1
|
|
|
|
/* Define to 1 if you have the <dirent.h> header file. */
|
|
#cmakedefine HAVE_DIRENT_H 1
|
|
|
|
/* Define to 1 if you have the `dlerror' function. */
|
|
#cmakedefine HAVE_DLERROR 1
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
#cmakedefine HAVE_DLFCN_H 1
|
|
|
|
/* Define to 1 if you have the `dlsym' function. */
|
|
#cmakedefine HAVE_DLSYM 1
|
|
|
|
/* Define to 1 if you have the <dl.h> header file. */
|
|
#cmakedefine HAVE_DL_H 1
|
|
|
|
/* Define to 1 if you have the `gethostid' function. */
|
|
#cmakedefine HAVE_GETHOSTID 1
|
|
|
|
/* Define to 1 if you have the `gethostname' function. */
|
|
#cmakedefine HAVE_GETHOSTNAME 1
|
|
|
|
/* Define to 1 if you have the `getppid' function. */
|
|
#cmakedefine HAVE_GETPPID 1
|
|
|
|
/* Define to 1 if you have the `gettimeofday' function. */
|
|
#cmakedefine HAVE_GETTIMEOFDAY 1
|
|
|
|
/* Define to 1 if you have the `getuid' function. */
|
|
#cmakedefine HAVE_GETUID 1
|
|
|
|
/* Define to 1 if you have the <glob.h> header file. */
|
|
#cmakedefine HAVE_GLOB_H 1
|
|
|
|
/* Define to 1 if you have the `gmtime_r' function. */
|
|
#cmakedefine HAVE_GMTIME_R 1
|
|
|
|
/* System has gnome-keyring 0.6 or better */
|
|
#cmakedefine HAVE_GNOME_KEYRING 1
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#cmakedefine HAVE_INTTYPES_H 1
|
|
|
|
/* Define if you have <langinfo.h> and nl_langinfo(D_FMT). */
|
|
#cmakedefine HAVE_LANGINFO_D_FMT 1
|
|
|
|
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
|
#cmakedefine HAVE_LC_MESSAGES 1
|
|
|
|
/* Define to 1 if you have the `pthread' library (-lpthread). */
|
|
#cmakedefine HAVE_LIBPTHREAD 1
|
|
|
|
/* Define to 1 if Finance::Quote is installed in perl. */
|
|
#cmakedefine HAVE_F_Q 1
|
|
|
|
/* System has libsecret 0.18 or better */
|
|
#cmakedefine HAVE_LIBSECRET 1
|
|
|
|
/* Define to 1 if you have the <limits.h> header file. */
|
|
#cmakedefine HAVE_LIMITS_H 1
|
|
|
|
/* Define to 1 if you have the `link' function. */
|
|
#cmakedefine HAVE_LINK 1
|
|
|
|
/* Define to 1 if you have the <locale.h> header file. */
|
|
#cmakedefine HAVE_LOCALE_H 1
|
|
|
|
/* Define to 1 if you have the <ltdl.h> header file. */
|
|
#cmakedefine HAVE_LTDL_H 1
|
|
|
|
/* Define to 1 if you have the <mcheck.h> header file. */
|
|
#cmakedefine HAVE_MCHECK_H 1
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#cmakedefine HAVE_MEMORY_H 1
|
|
|
|
/* System has an OS X Key chain */
|
|
#cmakedefine HAVE_OSX_KEYCHAIN 1
|
|
|
|
/* Define to 1 if you have the <pow.h> header file. */
|
|
#cmakedefine HAVE_POW_H 1
|
|
|
|
/* Define to 1 if you have the `pthread_mutex_init' function. */
|
|
#cmakedefine HAVE_PTHREAD_MUTEX_INIT 1
|
|
|
|
/* Have PTHREAD_PRIO_INHERIT. */
|
|
#cmakedefine HAVE_PTHREAD_PRIO_INHERIT 1
|
|
|
|
/* If available, contains the Python version number currently in use. */
|
|
#cmakedefine HAVE_PYTHON 1
|
|
|
|
/* Define to 1 if you have the `setenv' function. */
|
|
#cmakedefine HAVE_SETENV 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 `stpcpy' function. */
|
|
#cmakedefine HAVE_STPCPY 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 `strptime' function. */
|
|
#cmakedefine HAVE_STRPTIME 1
|
|
|
|
/* Define if you have the tm_gmtoff member of struct tm. */
|
|
#cmakedefine HAVE_STRUCT_TM_GMTOFF 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/times.h> header file. */
|
|
#cmakedefine HAVE_SYS_TIMES_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 the <sys/wait.h> header file. */
|
|
#cmakedefine HAVE_SYS_WAIT_H 1
|
|
|
|
/* Define to 1 if you have the `timegm' function. */
|
|
#cmakedefine HAVE_TIMEGM 1
|
|
|
|
/* Define to 1 if you have the `towupper' function. */
|
|
#cmakedefine HAVE_TOWUPPER 1
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#cmakedefine HAVE_UNISTD_H 1
|
|
|
|
/* Define to 1 if you have the <utmp.h> header file. */
|
|
#cmakedefine HAVE_UTMP_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 file `/usr/include/gmock/gmock.h'. */
|
|
#cmakedefine HAVE__USR_INCLUDE_GMOCK_GMOCK_H
|
|
|
|
/* Define to 1 if you have the file `/usr/include/gtest/gtest.h'. */
|
|
#cmakedefine HAVE__USR_INCLUDE_GTEST_GTEST_H 1
|
|
|
|
/* Define to 1 if you have the file `/usr/src/gmock/gmock-all.cc'. */
|
|
#cmakedefine HAVE__USR_SRC_GMOCK_GMOCK_ALL_CC 1
|
|
|
|
/* Define to 1 if you have the file `/usr/src/gmock/src/gmock-all.cc'. */
|
|
#cmakedefine HAVE__USR_SRC_GMOCK_SRC_GMOCK_ALL_CC 1
|
|
|
|
/* Define to 1 if you have the file `/usr/src/gtest/gtest-main.cc'. */
|
|
#cmakedefine HAVE__USR_SRC_GTEST_GTEST_MAIN_CC 1
|
|
|
|
/* Define to 1 if you have the file `/usr/src/gtest/src/gtest-all.cc'. */
|
|
#cmakedefine HAVE__USR_SRC_GTEST_SRC_GTEST_ALL_CC 1
|
|
|
|
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
|
#define LT_OBJDIR ".libs/"
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
|
|
|
|
/* Define to the full name of this package. */
|
|
#define PACKAGE_NAME "@PACKAGE_NAME@"
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#define PACKAGE_STRING "@PACKAGE_STRING@"
|
|
|
|
/* Define to the home page for this package. */
|
|
#define PACKAGE_URL "@PACKAGE_URL@"
|
|
|
|
/* Name of project */
|
|
#define PROJECT_NAME "@PROJECT_NAME@"
|
|
|
|
/* Version number of package */
|
|
#define PROJECT_VERSION "@PROJECT_VERSION@"
|
|
|
|
/* GnuCash Major version number */
|
|
#define PROJECT_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
|
|
|
|
/* GnuCash Micro version number */
|
|
#define PROJECT_VERSION_MICRO @PROJECT_VERSION_PATCH@
|
|
|
|
/* GnuCash Minor version number */
|
|
#define PROJECT_VERSION_MINOR @PROJECT_VERSION_MINOR@
|
|
|
|
/* GnuCash Nano version number */
|
|
#define PROJECT_VERSION_NANO @PROJECT_VERSION_TWEAK@
|
|
|
|
/* Define to necessary symbol if this constant uses a non-standard name on
|
|
your system. */
|
|
#cmakedefine PTHREAD_CREATE_JOINABLE 1
|
|
|
|
/* Result of LibOFX Bug 39 detection (see
|
|
https://sourceforge.net/p/libofx/bugs/39/ for details). */
|
|
#cmakedefine HAVE_OFX_BUG_39 1
|
|
/* LibOFX supports investment transactions. */
|
|
#cmakedefine HAVE_LIBOFX_VERSION_0_10
|
|
|
|
/* Name of package containing qt3-wizard. */
|
|
#define QT3_WIZARD_PACKAGE "aqbanking"
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#cmakedefine STDC_HEADERS 1
|
|
|
|
/* We are using EFence */
|
|
#cmakedefine USE_EFENCE 1
|
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
|
#ifndef _ALL_SOURCE
|
|
#cmakedefine _ALL_SOURCE 1
|
|
#endif
|
|
/* Enable GNU extensions on systems that have them. */
|
|
#ifndef _GNU_SOURCE
|
|
#cmakedefine _GNU_SOURCE 1
|
|
#endif
|
|
/* Enable threading extensions on Solaris. */
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
#cmakedefine _POSIX_PTHREAD_SEMANTICS 1
|
|
#endif
|
|
/* Enable extensions on HP NonStop. */
|
|
#ifndef _TANDEM_SOURCE
|
|
#cmakedefine _TANDEM_SOURCE 1
|
|
#endif
|
|
/* Enable general extensions on Solaris. */
|
|
#ifndef __EXTENSIONS__
|
|
#cmakedefine __EXTENSIONS__ 1
|
|
#endif
|
|
|
|
|
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
|
# if defined __BIG_ENDIAN__
|
|
# define WORDS_BIGENDIAN 1
|
|
# endif
|
|
#else
|
|
# ifndef WORDS_BIGENDIAN
|
|
#cmakedefine WORDS_BIGENDIAN 1
|
|
# endif
|
|
#endif
|
|
|
|
/* Define to 1 if on MINIX. */
|
|
#cmakedefine _MINIX 1
|
|
|
|
/* Define to 2 if the system does not provide POSIX.1 features except with
|
|
this defined. */
|
|
#cmakedefine _POSIX_1_SOURCE 1
|
|
|
|
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
|
#cmakedefine _POSIX_SOURCE 1
|
|
|
|
/* Definitions for what WEBKIT version we're compiling against: */
|
|
#cmakedefine WEBKIT2 1
|
|
#cmakedefine WEBKIT1 1
|
|
|