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.
|
|
|
|
* It was generated by autoconfs configure.
|
|
|
|
* You might want to change some of the defaults if something goes wrong
|
|
|
|
* during the compilation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CONFIG_H
|
|
|
|
#define _CONFIG_H
|
|
|
|
|
|
|
|
|
|
|
|
#cmakedefine HAVE_IO_H 1
|
|
|
|
#cmakedefine HAVE_LIMITS_H 1
|
|
|
|
#cmakedefine HAVE_LOCALE_H 1
|
|
|
|
#cmakedefine HAVE_PROCESS_H 1
|
|
|
|
#cmakedefine HAVE_STDLIB_H 1
|
|
|
|
#cmakedefine HAVE_SYS_STAT_H 1
|
|
|
|
#cmakedefine HAVE_SYS_TIME_H 1
|
|
|
|
#cmakedefine HAVE_SYS_TYPES_H 1
|
|
|
|
#cmakedefine HAVE_SYS_UTIME_H 1
|
|
|
|
#cmakedefine HAVE_SYS_SOCKET_H 1
|
|
|
|
#cmakedefine HAVE_UNISTD_H 1
|
|
|
|
#cmakedefine HAVE_INTTYPES_H 1
|
|
|
|
#cmakedefine HAVE_UTIME_H 1
|
|
|
|
#cmakedefine HAVE_STRING_H 1
|
|
|
|
#cmakedefine HAVE_STRINGS_H 1
|
|
|
|
#cmakedefine HAVE_ISTREAM 1
|
|
|
|
#cmakedefine HAVE_OSTREAM 1
|
|
|
|
#cmakedefine HAVE_IOS 1
|
|
|
|
#cmakedefine HAVE_LOCALE 1
|
|
|
|
#cmakedefine HAVE_OPEN 1
|
2006-11-13 10:27:57 +00:00
|
|
|
#cmakedefine HAVE_CHMOD 1
|
2006-06-11 11:57:25 +00:00
|
|
|
#cmakedefine HAVE_CLOSE 1
|
|
|
|
#cmakedefine HAVE_POPEN 1
|
|
|
|
#cmakedefine HAVE_PCLOSE 1
|
|
|
|
#cmakedefine HAVE__OPEN 1
|
|
|
|
#cmakedefine HAVE__CLOSE 1
|
|
|
|
#cmakedefine HAVE__POPEN 1
|
|
|
|
#cmakedefine HAVE__PCLOSE 1
|
|
|
|
#cmakedefine HAVE_GETPID 1
|
|
|
|
#cmakedefine HAVE__GETPID 1
|
|
|
|
#cmakedefine HAVE_MKDIR 1
|
|
|
|
#cmakedefine HAVE__MKDIR 1
|
|
|
|
#cmakedefine HAVE_PUTENV 1
|
|
|
|
#cmakedefine HAVE_MKTEMP 1
|
|
|
|
#cmakedefine HAVE_MKSTEMP 1
|
|
|
|
#cmakedefine HAVE_STRERROR 1
|
|
|
|
#cmakedefine HAVE_STD_COUNT 1
|
|
|
|
#cmakedefine HAVE_ASPRINTF 1
|
|
|
|
#cmakedefine HAVE_WPRINTF 1
|
|
|
|
#cmakedefine HAVE_SNPRINTF 1
|
|
|
|
#cmakedefine HAVE_POSIX_PRINTF 1
|
|
|
|
#cmakedefine HAVE_FCNTL 1
|
|
|
|
#cmakedefine HAVE_INTMAX_T 1
|
|
|
|
#cmakedefine HAVE_INTTYPES_H_WITH_UINTMAX 1
|
|
|
|
#cmakedefine HAVE_DECL_ISTREAMBUF_ITERATOR 1
|
|
|
|
#cmakedefine CXX_GLOBAL_CSTD 1
|
|
|
|
#cmakedefine HAVE_GETCWD 1
|
|
|
|
#cmakedefine HAVE_STPCPY 1
|
|
|
|
#cmakedefine HAVE_STRCASECMP 1
|
|
|
|
#cmakedefine HAVE_STRDUP 1
|
|
|
|
#cmakedefine HAVE_STRTOUL 1
|
|
|
|
#cmakedefine HAVE___FSETLOCKING 1
|
|
|
|
#cmakedefine HAVE_MEMPCPY 1
|
|
|
|
#cmakedefine HAVE___ARGZ_COUNT 1
|
|
|
|
#cmakedefine HAVE___ARGZ_NEXT 1
|
|
|
|
#cmakedefine HAVE___ARGZ_STRINGIFY 1
|
|
|
|
#cmakedefine HAVE_SETLOCALE 1
|
|
|
|
#cmakedefine HAVE_TSEARCH 1
|
|
|
|
#cmakedefine HAVE_GETEGID 1
|
|
|
|
#cmakedefine HAVE_GETGID 1
|
|
|
|
#cmakedefine HAVE_GETUID 1
|
|
|
|
#cmakedefine HAVE_WCSLEN 1
|
|
|
|
#cmakedefine HAVE_WPRINTF 1
|
|
|
|
#cmakedefine HAVE_LONG_DOUBLE 1
|
|
|
|
#cmakedefine HAVE_LONG_LONG 1
|
|
|
|
#cmakedefine HAVE_WCHAR_T 1
|
|
|
|
#cmakedefine HAVE_WINT_T 1
|
|
|
|
#cmakedefine HAVE_STDINT_H_WITH_UINTMAX 1
|
|
|
|
#cmakedefine HAVE_LC_MESSAGES 1
|
|
|
|
#cmakedefine HAVE_SSTREAM 1
|
|
|
|
#cmakedefine HAVE_ARGZ_H 1
|
2006-09-13 21:45:52 +00:00
|
|
|
#cmakedefine SIZEOF_WCHAR_T_IS_2 1
|
|
|
|
#cmakedefine SIZEOF_WCHAR_T_IS_4 1
|
|
|
|
|
|
|
|
#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
|
2006-06-11 11:57:25 +00:00
|
|
|
|
2006-08-14 08:59:30 +00:00
|
|
|
#cmakedefine HAVE_ALLOCA 1
|
|
|
|
#cmakedefine HAVE_SYMBOL_ALLOCA 1
|
|
|
|
#if defined(HAVE_SYMBOL_ALLOCA) && !defined(HAVE_ALLOCA)
|
|
|
|
#define HAVE_ALLOCA
|
|
|
|
#endif
|
|
|
|
|
2006-06-11 11:57:25 +00:00
|
|
|
#cmakedefine HAVE_ASPELL_ASPELL_H 1
|
|
|
|
#cmakedefine HAVE_ASPELL_H 1
|
|
|
|
|
2006-08-14 16:38:04 +00:00
|
|
|
#cmakedefine HAVE_ICONV_CONST 1
|
|
|
|
#ifdef HAVE_ICONV_CONST
|
|
|
|
#define ICONV_CONST const
|
|
|
|
#else
|
|
|
|
#define ICONV_CONST
|
|
|
|
#endif
|
2006-06-11 11:57:25 +00:00
|
|
|
|
|
|
|
#cmakedefine PACKAGE "${PACKAGE}"
|
|
|
|
#cmakedefine PACKAGE_VERSION ${PACKAGE_VERSION}
|
|
|
|
|
|
|
|
#cmakedefine USE_POSIX_PACKAGING 1
|
|
|
|
#cmakedefine USE_WINDOWS_PACKAGING 1
|
|
|
|
#cmakedefine PATH_MAX ${PATH_MAX}
|
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#undef HAVE_OPEN // use _open instead
|
|
|
|
#define pid_t int
|
|
|
|
#define PATH_MAX 512
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
#undef HAVE_MKDIR // use _mkdir instead
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define BOOST_ALL_NO_LIB 1
|
|
|
|
|
|
|
|
#if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
|
|
|
|
# define USE_BOOST_FORMAT 1
|
|
|
|
#else
|
|
|
|
# define USE_BOOST_FORMAT 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2006-10-26 17:11:34 +00:00
|
|
|
#ifdef _DEBUG
|
|
|
|
# define ENABLE_ASSERTIONS 1
|
|
|
|
#endif
|
2006-10-20 10:38:33 +00:00
|
|
|
|
2006-06-11 11:57:25 +00:00
|
|
|
#if !defined(ENABLE_ASSERTIONS)
|
|
|
|
# define BOOST_DISABLE_ASSERTS 1
|
|
|
|
#endif
|
|
|
|
#define BOOST_ENABLE_ASSERT_HANDLER 1
|
|
|
|
|
|
|
|
#define BOOST_DISABLE_THREADS 1
|
|
|
|
#define BOOST_NO_WSTRING 1
|
|
|
|
|
|
|
|
#ifdef __CYGWIN__
|
|
|
|
# define BOOST_POSIX 1
|
2006-09-12 00:54:07 +00:00
|
|
|
# define BOOST_POSIX_API 1
|
|
|
|
# define BOOST_POSIX_PATH 1
|
2006-06-11 11:57:25 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(HAVE_NEWAPIS_H)
|
|
|
|
# define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
|
|
|
|
#endif
|
|
|
|
|
2006-11-13 09:53:25 +00:00
|
|
|
#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4
|
|
|
|
# define LIBC_WCTYPE_USES_UCS4
|
|
|
|
#endif
|
|
|
|
|
2006-06-11 11:57:25 +00:00
|
|
|
#if defined(MAKE_INTL_LIB) && defined(_MSC_VER)
|
|
|
|
#define __attribute__(x)
|
|
|
|
#define inline
|
|
|
|
#define uintmax_t UINT_MAX
|
|
|
|
#endif
|
|
|
|
|
2006-10-23 13:32:46 +00:00
|
|
|
#ifdef _MSC_VER
|
|
|
|
#pragma warning( disable : 4800 ) //: forcing value to bool 'true' or 'false' (performance warning)
|
2006-11-14 16:11:59 +00:00
|
|
|
#pragma warning( disable : 4996 ) //: was declared deprecated
|
2006-11-13 23:22:31 +00:00
|
|
|
#ifdef HAVE_CHMOD
|
2006-11-14 16:11:59 +00:00
|
|
|
#undef HAVE_CHMOD
|
2006-11-13 23:22:31 +00:00
|
|
|
#endif
|
2006-10-23 13:32:46 +00:00
|
|
|
#endif
|
|
|
|
|
2006-11-01 16:11:28 +00:00
|
|
|
#ifdef LYX_ENABLE_PCH
|
2006-11-01 14:32:17 +00:00
|
|
|
#include "pcheaders.h"
|
2006-11-01 16:11:28 +00:00
|
|
|
#endif
|
2006-10-23 13:32:46 +00:00
|
|
|
|
2006-09-12 00:54:07 +00:00
|
|
|
#endif
|