2007-12-02 10:29:25 +00:00
|
|
|
/*
|
|
|
|
* \file configCompiler.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.
|
2013-02-12 16:22:07 +00:00
|
|
|
* It was generated by cmake.
|
2007-12-02 10:29:25 +00:00
|
|
|
* You might want to change some of the defaults if something goes wrong
|
|
|
|
* during the compilation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CONFIG_COMPILER_H
|
|
|
|
#define _CONFIG_COMPILER_H
|
|
|
|
|
|
|
|
|
|
|
|
#cmakedefine HAVE_ISTREAM 1
|
|
|
|
#cmakedefine HAVE_OSTREAM 1
|
|
|
|
#cmakedefine HAVE_IOS 1
|
|
|
|
#cmakedefine HAVE_LOCALE 1
|
2013-02-12 14:27:39 +00:00
|
|
|
|
2013-02-12 18:01:16 +00:00
|
|
|
#include "configIncludes.h"
|
|
|
|
|
2013-02-12 16:46:35 +00:00
|
|
|
#include "configFunctions.h"
|
2013-02-12 14:27:39 +00:00
|
|
|
|
2007-12-02 10:29:25 +00:00
|
|
|
#cmakedefine HAVE_STD_COUNT 1
|
|
|
|
#cmakedefine HAVE_ASPRINTF 1
|
|
|
|
#cmakedefine HAVE_WPRINTF 1
|
|
|
|
#cmakedefine HAVE_SNPRINTF 1
|
|
|
|
#cmakedefine HAVE_POSIX_PRINTF 1
|
|
|
|
#cmakedefine HAVE_INTMAX_T 1
|
|
|
|
#cmakedefine HAVE_INTTYPES_H_WITH_UINTMAX 1
|
|
|
|
#cmakedefine CXX_GLOBAL_CSTD 1
|
|
|
|
#cmakedefine HAVE_WPRINTF 1
|
|
|
|
#cmakedefine HAVE_LONG_DOUBLE 1
|
2019-03-21 15:12:02 +00:00
|
|
|
#cmakedefine HAVE_LONG_LONG_INT 1
|
2007-12-02 10:29:25 +00:00
|
|
|
#cmakedefine HAVE_WCHAR_T 1
|
|
|
|
#cmakedefine HAVE_WINT_T 1
|
|
|
|
#cmakedefine HAVE_STDINT_H_WITH_UINTMAX 1
|
2019-03-21 14:17:24 +00:00
|
|
|
#cmakedefine HAVE_LC_MESSAGES 1
|
2007-12-02 10:29:25 +00:00
|
|
|
#cmakedefine HAVE_SSTREAM 1
|
|
|
|
#cmakedefine HAVE_ARGZ_H 1
|
2012-02-22 10:07:04 +00:00
|
|
|
#cmakedefine HAVE_MAGIC_H 1
|
2007-12-02 10:29:25 +00:00
|
|
|
#cmakedefine SIZEOF_WCHAR_T_IS_2 1
|
|
|
|
#cmakedefine SIZEOF_WCHAR_T_IS_4 1
|
2016-05-05 11:05:12 +00:00
|
|
|
#cmakedefine SIZEOF_LONG_LONG_GREATER_THAN_SIZEOF_LONG 1
|
2007-12-02 10:29:25 +00:00
|
|
|
|
|
|
|
#ifdef SIZEOF_WCHAR_T_IS_2
|
|
|
|
# define SIZEOF_WCHAR_T 2
|
|
|
|
#else
|
|
|
|
# ifdef SIZEOF_WCHAR_T_IS_4
|
|
|
|
# define SIZEOF_WCHAR_T 4
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2008-12-20 09:25:55 +00:00
|
|
|
#cmakedefine GETTEXT_FOUND 1
|
|
|
|
|
2007-12-02 10:29:25 +00:00
|
|
|
#cmakedefine HAVE_ALLOCA 1
|
|
|
|
#cmakedefine HAVE_SYMBOL_ALLOCA 1
|
|
|
|
#if defined(HAVE_SYMBOL_ALLOCA) && !defined(HAVE_ALLOCA)
|
|
|
|
#define HAVE_ALLOCA
|
|
|
|
#endif
|
|
|
|
|
2018-03-29 20:53:59 +00:00
|
|
|
/* whether hunspell C++ (rather than C) ABI is provided */
|
|
|
|
#cmakedefine HAVE_HUNSPELL_CXXABI 1
|
|
|
|
|
2007-12-02 10:29:25 +00:00
|
|
|
#cmakedefine HAVE_ICONV_CONST 1
|
|
|
|
#ifdef HAVE_ICONV_CONST
|
|
|
|
#define ICONV_CONST const
|
|
|
|
#else
|
|
|
|
#define ICONV_CONST
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#undef HAVE_OPEN // use _open instead
|
|
|
|
#define pid_t int
|
|
|
|
#define PATH_MAX 512
|
|
|
|
#endif
|
|
|
|
|
2019-03-21 14:17:24 +00:00
|
|
|
#ifdef _WIN32
|
2007-12-02 10:29:25 +00:00
|
|
|
#undef HAVE_MKDIR // use _mkdir instead
|
|
|
|
#endif
|
|
|
|
|
2020-11-30 09:17:40 +00:00
|
|
|
#define BOOST_ALL_NO_LIB 1
|
|
|
|
|
2007-12-02 10:29:25 +00:00
|
|
|
#ifdef _DEBUG
|
|
|
|
# define ENABLE_ASSERTIONS 1
|
|
|
|
#endif
|
|
|
|
|
2020-11-30 09:17:40 +00:00
|
|
|
#ifndef ENABLE_ASSERTIONS
|
|
|
|
# define BOOST_DISABLE_ASSERTS 1
|
|
|
|
#endif
|
|
|
|
#define BOOST_ENABLE_ASSERT_HANDLER 1
|
|
|
|
|
|
|
|
//#define BOOST_DISABLE_THREADS 1
|
|
|
|
#define BOOST_NO_WSTRING 1
|
|
|
|
|
2007-12-02 10:29:25 +00:00
|
|
|
#ifdef __CYGWIN__
|
2016-07-08 08:58:32 +00:00
|
|
|
# define _DEFAULT_SOURCE
|
2020-11-30 09:17:40 +00:00
|
|
|
# define BOOST_POSIX 1
|
|
|
|
# define BOOST_POSIX_API 1
|
|
|
|
# define BOOST_POSIX_PATH 1
|
2007-12-02 10:29:25 +00:00
|
|
|
#endif
|
|
|
|
|
2013-10-17 20:39:36 +00:00
|
|
|
#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4
|
2007-12-02 10:29:25 +00:00
|
|
|
# define USE_WCHAR_T
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(MAKE_INTL_LIB) && defined(_MSC_VER)
|
|
|
|
#define __attribute__(x)
|
|
|
|
#define inline
|
|
|
|
#define uintmax_t UINT_MAX
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#ifdef HAVE_CHMOD
|
|
|
|
#undef HAVE_CHMOD
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_CHMOD
|
|
|
|
#define HAVE_MODE_T
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|