2006-06-11 11:57:25 +00:00
|
|
|
/*
|
|
|
|
* \file config.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* This is the compilation configuration file for LyX.
|
2009-02-13 21:37:08 +00:00
|
|
|
* It was generated by cmake.
|
2006-06-11 11:57:25 +00:00
|
|
|
* You might want to change some of the defaults if something goes wrong
|
|
|
|
* during the compilation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CONFIG_H
|
|
|
|
#define _CONFIG_H
|
|
|
|
|
2010-07-18 09:46:46 +00:00
|
|
|
// obligatory flags
|
2011-05-06 19:24:54 +00:00
|
|
|
#define QT_NO_STL 1
|
|
|
|
#define QT_NO_KEYWORDS 1
|
|
|
|
#define HAVE_ICONV 1
|
2010-07-18 09:46:46 +00:00
|
|
|
|
2007-12-02 10:29:25 +00:00
|
|
|
#include "configCompiler.h"
|
2006-06-11 11:57:25 +00:00
|
|
|
|
2007-12-02 10:29:25 +00:00
|
|
|
#ifdef LYX_ENABLE_PCH
|
|
|
|
#include "pcheaders.h"
|
2006-08-14 08:59:30 +00:00
|
|
|
#endif
|
|
|
|
|
2006-06-11 11:57:25 +00:00
|
|
|
|
2012-10-09 19:52:17 +00:00
|
|
|
#cmakedefine LYX_DEVEL_VERSION 1
|
|
|
|
#if defined(LYX_DEVEL_VERSION)
|
|
|
|
#define DEVEL_VERSION 1
|
|
|
|
#else
|
|
|
|
#undef DEVEL_VERSION
|
|
|
|
#endif
|
2006-06-11 11:57:25 +00:00
|
|
|
#cmakedefine PACKAGE "${PACKAGE}"
|
2007-08-18 12:09:08 +00:00
|
|
|
#cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
|
2010-04-07 12:30:43 +00:00
|
|
|
#define PACKAGE_STRING "LyX ${PACKAGE_VERSION}"
|
2009-02-13 21:37:08 +00:00
|
|
|
#cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
|
2007-08-18 12:09:08 +00:00
|
|
|
#cmakedefine VERSION_INFO "${VERSION_INFO}"
|
2008-07-26 10:45:38 +00:00
|
|
|
#cmakedefine LYX_DIR_VER "${LYX_DIR_VER}"
|
|
|
|
#cmakedefine LYX_USERDIR_VER "${LYX_USERDIR_VER}"
|
2011-02-10 06:16:12 +00:00
|
|
|
#define LYX_MAJOR_VERSION ${LYX_MAJOR_VERSION}
|
|
|
|
#define LYX_MINOR_VERSION ${LYX_MINOR_VERSION}
|
2007-08-18 12:09:08 +00:00
|
|
|
|
2009-02-10 22:21:39 +00:00
|
|
|
#define PROGRAM_SUFFIX "${PROGRAM_SUFFIX}"
|
2008-12-28 13:35:29 +00:00
|
|
|
#define LYX_ABS_INSTALLED_DATADIR "${LYX_ABS_INSTALLED_DATADIR}"
|
|
|
|
#define LYX_ABS_INSTALLED_LOCALEDIR "${LYX_ABS_INSTALLED_LOCALEDIR}"
|
|
|
|
#define LYX_ABS_TOP_SRCDIR "${TOP_SRC_DIR}"
|
2006-06-11 11:57:25 +00:00
|
|
|
|
|
|
|
#cmakedefine USE_POSIX_PACKAGING 1
|
|
|
|
#cmakedefine USE_WINDOWS_PACKAGING 1
|
2007-05-29 14:06:35 +00:00
|
|
|
#cmakedefine USE_MACOSX_PACKAGING 1
|
2006-06-11 11:57:25 +00:00
|
|
|
#cmakedefine PATH_MAX ${PATH_MAX}
|
|
|
|
|
2010-07-17 22:24:08 +00:00
|
|
|
#cmakedefine WORDS_BIGENDIAN 1
|
|
|
|
|
|
|
|
#cmakedefine LYX_MERGE_FILES 1
|
|
|
|
|
2014-12-23 21:18:08 +00:00
|
|
|
#cmakedefine LYX_USE_STD_REGEX 1
|
2010-06-30 10:53:45 +00:00
|
|
|
|
2014-11-09 11:59:14 +00:00
|
|
|
// Define if callstack can be printed
|
|
|
|
#cmakedefine LYX_CALLSTACK_PRINTING 1
|
|
|
|
|
2014-12-08 16:43:05 +00:00
|
|
|
// Define if std::string uses copy-on-write
|
|
|
|
#cmakedefine STD_STRING_USES_COW 1
|
|
|
|
|
2014-12-21 16:23:56 +00:00
|
|
|
// use libc++ provided by llvm instead of GNU libstdc++
|
|
|
|
#cmakedefine USE_LLVM_LIBCPP 1
|
|
|
|
|
2015-05-08 19:12:42 +00:00
|
|
|
// use GNU libstdc++ with C++11 ABI
|
|
|
|
#cmakedefine USE_GLIBCXX_CXX11_ABI 1
|
|
|
|
|
2013-05-14 15:13:59 +00:00
|
|
|
#cmakedefine Z_PREFIX 1
|
|
|
|
|
2014-05-13 12:52:11 +00:00
|
|
|
${Include_used_spellchecker}
|
2010-07-17 22:24:08 +00:00
|
|
|
|
|
|
|
#cmakedefine AIKSAURUSLIB_FOUND 1
|
|
|
|
#ifdef AIKSAURUSLIB_FOUND
|
|
|
|
#define HAVE_LIBAIKSAURUS 1
|
|
|
|
#define AIKSAURUS_H_LOCATION "${AIKSAURUSLIB_H}"
|
|
|
|
#endif
|
|
|
|
|
2010-07-18 07:38:00 +00:00
|
|
|
#cmakedefine LYX_NLS 1
|
|
|
|
#ifdef LYX_NLS
|
2011-05-06 19:24:54 +00:00
|
|
|
#define ENABLE_NLS 1
|
2010-07-18 07:38:00 +00:00
|
|
|
#endif
|
2010-07-17 12:26:11 +00:00
|
|
|
|
|
|
|
|
2010-07-17 22:24:08 +00:00
|
|
|
#endif // config.h guard
|
2010-01-30 11:34:28 +00:00
|
|
|
|
|
|
|
|
2010-07-17 22:24:08 +00:00
|
|
|
|
|
|
|
// Unguarded cleanup of global namespace:
|
|
|
|
|
2010-01-30 11:34:28 +00:00
|
|
|
#ifdef ColorMode
|
|
|
|
#undef ColorMode
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef FocusOut
|
|
|
|
#undef FocusOut
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef FocusIn
|
|
|
|
#undef FocusIn
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef KeyRelease
|
|
|
|
#undef KeyRelease
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CursorShape
|
|
|
|
#undef CursorShape
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef IGNORE
|
|
|
|
#undef IGNORE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef GrayScale
|
|
|
|
#undef GrayScale
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef Status
|
|
|
|
#undef Status
|
|
|
|
#endif
|
|
|
|
|
2010-04-23 09:10:35 +00:00
|
|
|
#ifdef IN
|
|
|
|
#undef IN
|
|
|
|
#endif
|
|
|
|
|
2010-07-15 14:25:59 +00:00
|
|
|
#ifdef KeyPress
|
|
|
|
#undef KeyPress
|
|
|
|
#endif
|
|
|
|
|