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-03-20 14:54:54 +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
|
|
|
|
|
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-06-01 12:24:21 +00:00
|
|
|
#define PACKAGE_STRING "LyX ${PACKAGE_VERSION}"
|
2009-03-20 14:54:54 +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-03-20 14:54:54 +00:00
|
|
|
#define PROGRAM_SUFFIX "${PROGRAM_SUFFIX}"
|
|
|
|
#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 09:23:10 +00:00
|
|
|
#cmakedefine WORDS_BIGENDIAN 1
|
|
|
|
|
|
|
|
#cmakedefine LYX_MERGE_FILES 1
|
|
|
|
|
|
|
|
#cmakedefine ASPELL_FOUND 1
|
|
|
|
#ifdef ASPELL_FOUND
|
|
|
|
#define USE_ASPELL 1
|
2010-06-01 12:24:21 +00:00
|
|
|
#endif
|
|
|
|
|
2010-07-17 10:31:20 +00:00
|
|
|
#cmakedefine AIKSAURUSLIB_FOUND 1
|
|
|
|
#ifdef AIKSAURUSLIB_FOUND
|
|
|
|
#define HAVE_LIBAIKSAURUS 1
|
|
|
|
#define AIKSAURUS_H_LOCATION "${AIKSAURUSLIB_H}"
|
|
|
|
#endif
|
|
|
|
|
2010-07-17 11:04:05 +00:00
|
|
|
#cmakedefine ENCHANT_FOUND 1
|
|
|
|
#ifdef ENCHANT_FOUND
|
|
|
|
#define USE_ENCHANT 1
|
2010-07-17 09:23:10 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-07-17 11:04:05 +00:00
|
|
|
#endif // config.h guard
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Ungruaded cleanup of global namespace:
|
|
|
|
|
2010-06-01 12:24:21 +00:00
|
|
|
#ifdef ColorMode
|
|
|
|
#undef ColorMode
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef FocusOut
|
|
|
|
#undef FocusOut
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef FocusIn
|
|
|
|
#undef FocusIn
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef KeyRelease
|
|
|
|
#undef KeyRelease
|
|
|
|
#endif
|
2006-10-23 13:32:46 +00:00
|
|
|
|
2010-06-01 12:24:21 +00:00
|
|
|
#ifdef CursorShape
|
|
|
|
#undef CursorShape
|
2006-09-12 00:54:07 +00:00
|
|
|
#endif
|
2010-06-01 12:24:21 +00:00
|
|
|
|
|
|
|
#ifdef IGNORE
|
|
|
|
#undef IGNORE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef GrayScale
|
|
|
|
#undef GrayScale
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef Status
|
|
|
|
#undef Status
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef IN
|
|
|
|
#undef IN
|
|
|
|
#endif
|
|
|
|
|
2010-07-18 08:05:07 +00:00
|
|
|
#ifdef KeyPress
|
|
|
|
#undef KeyPress
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-06-01 12:24:21 +00:00
|
|
|
|