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
|
|
|
|
#define QT_NO_STL
|
|
|
|
#define QT_NO_KEYWORDS
|
|
|
|
#define HAVE_ICONV
|
|
|
|
|
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
|
|
|
|
|
|
|
#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 LYX_DATE "${LYX_DATE}"
|
|
|
|
#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}"
|
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
|
|
|
|
|
2010-06-30 10:53:45 +00:00
|
|
|
#cmakedefine LYX_USE_TR1 1
|
|
|
|
#cmakedefine LYX_USE_TR1_REGEX 1
|
|
|
|
|
2010-07-17 22:24:08 +00:00
|
|
|
#cmakedefine ASPELL_FOUND 1
|
|
|
|
#ifdef ASPELL_FOUND
|
|
|
|
#define USE_ASPELL 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#cmakedefine AIKSAURUSLIB_FOUND 1
|
|
|
|
#ifdef AIKSAURUSLIB_FOUND
|
|
|
|
#define HAVE_LIBAIKSAURUS 1
|
|
|
|
#define AIKSAURUS_H_LOCATION "${AIKSAURUSLIB_H}"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#cmakedefine ENCHANT_FOUND 1
|
|
|
|
#ifdef ENCHANT_FOUND
|
|
|
|
#define USE_ENCHANT 1
|
|
|
|
#endif
|
2010-06-30 10:53:45 +00:00
|
|
|
|
2010-07-18 06:47:01 +00:00
|
|
|
#cmakedefine HUNSPELL_FOUND 1
|
|
|
|
#ifdef HUNSPELL_FOUND
|
|
|
|
#define USE_HUNSPELL 1
|
|
|
|
#endif
|
2010-07-17 12:26:11 +00:00
|
|
|
|
2010-07-18 07:38:00 +00:00
|
|
|
#cmakedefine LYX_NLS 1
|
|
|
|
#ifdef LYX_NLS
|
|
|
|
#define ENABLE_NLS
|
|
|
|
#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
|
|
|
|
|