1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
|
/*
* \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.
* It was generated by autoconfs configure.
* You might want to change some of the defaults if something goes wrong
* during the compilation.
*/
#ifndef _CONFIG_COMPILER_H
#define _CONFIG_COMPILER_H
#define HAVE_IO_H 1
#define HAVE_LIMITS_H 1
#define HAVE_LOCALE_H 1
#define HAVE_PROCESS_H 1
#define HAVE_STDLIB_H 1
#define HAVE_SYS_STAT_H 1
/* #undef HAVE_SYS_TIME_H 1 */
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_UTIME_H 1
/* #undef HAVE_SYS_SOCKET_H 1 */
/* #undef HAVE_UNISTD_H 1 */
/* #undef HAVE_INTTYPES_H 1 */
/* #undef HAVE_UTIME_H 1 */
#define HAVE_STRING_H 1
/* #undef HAVE_STRINGS_H 1 */
/* #undef HAVE_ISTREAM 1 */
/* #undef HAVE_OSTREAM 1 */
/* #undef HAVE_IOS 1 */
/* #undef HAVE_LOCALE 1 */
#define HAVE_OPEN 1
#define HAVE_CHMOD 1
#define HAVE_CLOSE 1
/* #undef HAVE_POPEN 1 */
/* #undef HAVE_PCLOSE 1 */
#define HAVE__OPEN 1
#define HAVE__CLOSE 1
#define HAVE__POPEN 1
#define HAVE__PCLOSE 1
#define HAVE_GETPID 1
#define HAVE__GETPID 1
#define HAVE_GETTEXT 1 /* TODO this is set manually */
#define HAVE_MKDIR 1
#define HAVE__MKDIR 1
/* #undef HAVE_SETENV 1 */
#define HAVE_PUTENV 1
#define HAVE_MKTEMP 1
/* #undef HAVE_MKSTEMP 1 */
#define HAVE_STRERROR 1
/* #undef HAVE_STD_COUNT 1 */
/* #undef HAVE_ASPRINTF 1 */
#define HAVE_WPRINTF 1
/* #undef HAVE_SNPRINTF 1 */
#define HAVE_POSIX_PRINTF 1
/* #undef HAVE_FCNTL 1 */
/* #undef HAVE_INTMAX_T 1 */
/* #undef HAVE_INTTYPES_H_WITH_UINTMAX 1 */
#define HAVE_DECL_ISTREAMBUF_ITERATOR 1
/* #undef CXX_GLOBAL_CSTD 1 */
#define HAVE_GETCWD 1
/* #undef HAVE_STPCPY 1 */
/* #undef HAVE_STRCASECMP 1 */
#define HAVE_STRDUP 1
#define HAVE_STRTOUL 1
/* #undef HAVE___FSETLOCKING 1 */
/* #undef HAVE_MEMPCPY 1 */
/* #undef HAVE___ARGZ_COUNT 1 */
/* #undef HAVE___ARGZ_NEXT 1 */
/* #undef HAVE___ARGZ_STRINGIFY 1 */
#define HAVE_SETLOCALE 1
/* #undef HAVE_TSEARCH 1 */
/* #undef HAVE_GETEGID 1 */
/* #undef HAVE_GETGID 1 */
/* #undef HAVE_GETUID 1 */
#define HAVE_WCSLEN 1
/* #undef HAVE_MKFIFO 1 */
#define HAVE_WPRINTF 1
#define HAVE_LONG_DOUBLE 1
#define HAVE_LONG_LONG 1
/* #undef HAVE_WCHAR_T 1 */
/* #undef HAVE_WINT_T 1 */
/* #undef HAVE_STDINT_H_WITH_UINTMAX 1 */
/* #undef HAVE_LC_MESSAGES 1 */
/* #undef HAVE_SSTREAM 1 */
/* #undef HAVE_ARGZ_H 1 */
#define SIZEOF_WCHAR_T_IS_2 1
/* #undef 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
/* #undef HAVE_ALLOCA 1 */
#define HAVE_SYMBOL_ALLOCA 1
#if defined(HAVE_SYMBOL_ALLOCA) && !defined(HAVE_ALLOCA)
#define HAVE_ALLOCA
#endif
#define 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
#ifdef _WIN32
#undef HAVE_MKDIR // use _mkdir instead
#endif
#define BOOST_ALL_NO_LIB 1
#ifdef _DEBUG
# define ENABLE_ASSERTIONS 1
#endif
#define BOOST_DISABLE_THREADS 1
#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4
# define USE_WCHAR_T
#endif
#ifdef HAVE_LONG_LONG
#ifdef SIZEOF_LONG_LONG_GREATER_THAN_SIZEOF_LONG
#define LYX_USE_LONG_LONG
#endif
#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
|