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
|
|
|
|
|
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
|
|
|
|
|
2008-09-20 19:43:52 +00:00
|
|
|
#cmakedefine WORDS_BIGENDIAN 1
|
|
|
|
|
2006-06-11 11:57:25 +00:00
|
|
|
#cmakedefine HAVE_ASPELL_ASPELL_H 1
|
|
|
|
#cmakedefine HAVE_ASPELL_H 1
|
|
|
|
|
|
|
|
#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}
|
|
|
|
|
2006-09-12 00:54:07 +00:00
|
|
|
#endif
|
2010-01-30 11:34:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
// cleanup global namespace
|
|
|
|
#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
|
|
|
|
|