| 1 |
/* config.h.in. Generated from configure.ac by autoheader. */ |
| 2 |
|
| 3 |
|
| 4 |
/* |
| 5 |
* Copyright (C) 2002-2010 The DOSBox Team |
| 6 |
* |
| 7 |
* This program is free software; you can redistribute it and/or modify |
| 8 |
* it under the terms of the GNU General Public License as published by |
| 9 |
* the Free Software Foundation; either version 2 of the License, or |
| 10 |
* (at your option) any later version. |
| 11 |
* |
| 12 |
* This program is distributed in the hope that it will be useful, |
| 13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
* GNU Library General Public License for more details. |
| 16 |
* |
| 17 |
* You should have received a copy of the GNU General Public License |
| 18 |
* along with this program; if not, write to the Free Software |
| 19 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 20 |
*/ |
| 21 |
|
| 22 |
|
| 23 |
/* Define if building universal (internal helper macro) */ |
| 24 |
#undef AC_APPLE_UNIVERSAL_BUILD |
| 25 |
|
| 26 |
/* Compiling on BSD */ |
| 27 |
#undef BSD |
| 28 |
|
| 29 |
/* Determines if the compilers supports always_inline attribute. */ |
| 30 |
#undef C_ATTRIBUTE_ALWAYS_INLINE |
| 31 |
|
| 32 |
/* Determines if the compilers supports fastcall attribute. */ |
| 33 |
#undef C_ATTRIBUTE_FASTCALL |
| 34 |
|
| 35 |
/* Define to 1 to use inlined memory functions in cpu core */ |
| 36 |
#undef C_CORE_INLINE |
| 37 |
|
| 38 |
/* Define to 1 to enable internal debugger, requires libcurses */ |
| 39 |
#undef C_DEBUG |
| 40 |
|
| 41 |
/* Define to 1 if you want serial passthrough support (Win32, Posix and OS/2). |
| 42 |
*/ |
| 43 |
#undef C_DIRECTSERIAL |
| 44 |
|
| 45 |
/* Define to 1 to use x86 dynamic cpu core */ |
| 46 |
#undef C_DYNAMIC_X86 |
| 47 |
|
| 48 |
/* Define to 1 to use recompiling cpu core. Can not be used together with the |
| 49 |
dynamic-x86 core */ |
| 50 |
#undef C_DYNREC |
| 51 |
|
| 52 |
/* Define to 1 to enable floating point emulation */ |
| 53 |
#undef C_FPU |
| 54 |
|
| 55 |
/* Define to 1 to use a x86 assembly fpu core */ |
| 56 |
#undef C_FPU_X86 |
| 57 |
|
| 58 |
/* Determines if the compilers supports attributes for structures. */ |
| 59 |
#undef C_HAS_ATTRIBUTE |
| 60 |
|
| 61 |
/* Determines if the compilers supports __builtin_expect for branch |
| 62 |
prediction. */ |
| 63 |
#undef C_HAS_BUILTIN_EXPECT |
| 64 |
|
| 65 |
/* Define to 1 if you have the mprotect function */ |
| 66 |
#undef C_HAVE_MPROTECT |
| 67 |
|
| 68 |
/* Define to 1 to enable heavy debugging, also have to enable C_DEBUG */ |
| 69 |
#undef C_HEAVY_DEBUG |
| 70 |
|
| 71 |
/* Define to 1 to enable IPX over Internet networking, requires SDL_net */ |
| 72 |
#undef C_IPX |
| 73 |
|
| 74 |
/* Define to 1 to enable internal modem support, requires SDL_net */ |
| 75 |
#undef C_MODEM |
| 76 |
|
| 77 |
/* Define to 1 to use opengl display output support */ |
| 78 |
#undef C_OPENGL |
| 79 |
|
| 80 |
/* Define to 1 to enable SDL_sound support */ |
| 81 |
#undef C_SDL_SOUND |
| 82 |
|
| 83 |
/* Define to 1 if you have setpriority support */ |
| 84 |
#undef C_SET_PRIORITY |
| 85 |
|
| 86 |
/* Define to 1 to enable screenshots, requires libpng */ |
| 87 |
#undef C_SSHOT |
| 88 |
|
| 89 |
/* The type of cpu this target has */ |
| 90 |
#undef C_TARGETCPU |
| 91 |
|
| 92 |
/* Define to 1 to use a unaligned memory access */ |
| 93 |
#undef C_UNALIGNED_MEMORY |
| 94 |
|
| 95 |
/* define to 1 if you have XKBlib.h and X11 lib */ |
| 96 |
#undef C_X11_XKB |
| 97 |
|
| 98 |
/* libm doesn't include powf */ |
| 99 |
#undef DB_HAVE_NO_POWF |
| 100 |
|
| 101 |
/* struct dirent has d_type */ |
| 102 |
#undef DIRENT_HAS_D_TYPE |
| 103 |
|
| 104 |
/* environ can be included */ |
| 105 |
#undef ENVIRON_INCLUDED |
| 106 |
|
| 107 |
/* environ can be linked */ |
| 108 |
#undef ENVIRON_LINKED |
| 109 |
|
| 110 |
/* Define to 1 to use ALSA for MIDI */ |
| 111 |
#undef HAVE_ALSA |
| 112 |
|
| 113 |
/* Define to 1 if you have the <ddraw.h> header file. */ |
| 114 |
#undef HAVE_DDRAW_H |
| 115 |
|
| 116 |
/* Define to 1 if you have the <inttypes.h> header file. */ |
| 117 |
#undef HAVE_INTTYPES_H |
| 118 |
|
| 119 |
/* Define to 1 if you have the `asound' library (-lasound). */ |
| 120 |
#undef HAVE_LIBASOUND |
| 121 |
|
| 122 |
/* Define to 1 if you have the <memory.h> header file. */ |
| 123 |
#undef HAVE_MEMORY_H |
| 124 |
|
| 125 |
/* Define to 1 if you have the <netinet/in.h> header file. */ |
| 126 |
#undef HAVE_NETINET_IN_H |
| 127 |
|
| 128 |
/* Define to 1 if you have the <pwd.h> header file. */ |
| 129 |
#undef HAVE_PWD_H |
| 130 |
|
| 131 |
/* Define to 1 if you have the `realpath' function. */ |
| 132 |
#undef HAVE_REALPATH |
| 133 |
|
| 134 |
/* Define to 1 if you have the <stdint.h> header file. */ |
| 135 |
#undef HAVE_STDINT_H |
| 136 |
|
| 137 |
/* Define to 1 if you have the <stdlib.h> header file. */ |
| 138 |
#undef HAVE_STDLIB_H |
| 139 |
|
| 140 |
/* Define to 1 if you have the <strings.h> header file. */ |
| 141 |
#undef HAVE_STRINGS_H |
| 142 |
|
| 143 |
/* Define to 1 if you have the <string.h> header file. */ |
| 144 |
#undef HAVE_STRING_H |
| 145 |
|
| 146 |
/* Define to 1 if you have the <sys/socket.h> header file. */ |
| 147 |
#undef HAVE_SYS_SOCKET_H |
| 148 |
|
| 149 |
/* Define to 1 if you have the <sys/stat.h> header file. */ |
| 150 |
#undef HAVE_SYS_STAT_H |
| 151 |
|
| 152 |
/* Define to 1 if you have the <sys/types.h> header file. */ |
| 153 |
#undef HAVE_SYS_TYPES_H |
| 154 |
|
| 155 |
/* Define to 1 if you have the <unistd.h> header file. */ |
| 156 |
#undef HAVE_UNISTD_H |
| 157 |
|
| 158 |
/* Compiling on GNU/Linux */ |
| 159 |
#undef LINUX |
| 160 |
|
| 161 |
/* Compiling on Mac OS X */ |
| 162 |
#undef MACOSX |
| 163 |
|
| 164 |
/* Compiling on OS/2 EMX */ |
| 165 |
#undef OS2 |
| 166 |
|
| 167 |
/* Name of package */ |
| 168 |
#undef PACKAGE |
| 169 |
|
| 170 |
/* Define to the address where bug reports for this package should be sent. */ |
| 171 |
#undef PACKAGE_BUGREPORT |
| 172 |
|
| 173 |
/* Define to the full name of this package. */ |
| 174 |
#undef PACKAGE_NAME |
| 175 |
|
| 176 |
/* Define to the full name and version of this package. */ |
| 177 |
#undef PACKAGE_STRING |
| 178 |
|
| 179 |
/* Define to the one symbol short name of this package. */ |
| 180 |
#undef PACKAGE_TARNAME |
| 181 |
|
| 182 |
/* Define to the home page for this package. */ |
| 183 |
#undef PACKAGE_URL |
| 184 |
|
| 185 |
/* Define to the version of this package. */ |
| 186 |
#undef PACKAGE_VERSION |
| 187 |
|
| 188 |
/* The size of `int *', as computed by sizeof. */ |
| 189 |
#undef SIZEOF_INT_P |
| 190 |
|
| 191 |
/* The size of `unsigned char', as computed by sizeof. */ |
| 192 |
#undef SIZEOF_UNSIGNED_CHAR |
| 193 |
|
| 194 |
/* The size of `unsigned int', as computed by sizeof. */ |
| 195 |
#undef SIZEOF_UNSIGNED_INT |
| 196 |
|
| 197 |
/* The size of `unsigned long', as computed by sizeof. */ |
| 198 |
#undef SIZEOF_UNSIGNED_LONG |
| 199 |
|
| 200 |
/* The size of `unsigned long long', as computed by sizeof. */ |
| 201 |
#undef SIZEOF_UNSIGNED_LONG_LONG |
| 202 |
|
| 203 |
/* The size of `unsigned short', as computed by sizeof. */ |
| 204 |
#undef SIZEOF_UNSIGNED_SHORT |
| 205 |
|
| 206 |
/* Define to 1 if you have the ANSI C header files. */ |
| 207 |
#undef STDC_HEADERS |
| 208 |
|
| 209 |
/* Define to 1 if your <sys/time.h> declares `struct tm'. */ |
| 210 |
#undef TM_IN_SYS_TIME |
| 211 |
|
| 212 |
/* Version number of package */ |
| 213 |
#undef VERSION |
| 214 |
|
| 215 |
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most |
| 216 |
significant byte first (like Motorola and SPARC, unlike Intel). */ |
| 217 |
#if defined AC_APPLE_UNIVERSAL_BUILD |
| 218 |
# if defined __BIG_ENDIAN__ |
| 219 |
# define WORDS_BIGENDIAN 1 |
| 220 |
# endif |
| 221 |
#else |
| 222 |
# ifndef WORDS_BIGENDIAN |
| 223 |
# undef WORDS_BIGENDIAN |
| 224 |
# endif |
| 225 |
#endif |
| 226 |
|
| 227 |
/* Define to empty if `const' does not conform to ANSI C. */ |
| 228 |
#undef const |
| 229 |
|
| 230 |
/* Define to `__inline__' or `__inline' if that's what the C compiler |
| 231 |
calls it, or to nothing if 'inline' is not supported under any name. */ |
| 232 |
#ifndef __cplusplus |
| 233 |
#undef inline |
| 234 |
#endif |
| 235 |
|
| 236 |
/* Define to `unsigned int' if <sys/types.h> does not define. */ |
| 237 |
#undef size_t |
| 238 |
|
| 239 |
/* Define to `int` if you don't have socklen_t */ |
| 240 |
#undef socklen_t |
| 241 |
|
| 242 |
#if C_ATTRIBUTE_ALWAYS_INLINE |
| 243 |
#define INLINE inline __attribute__((always_inline)) |
| 244 |
#else |
| 245 |
#define INLINE inline |
| 246 |
#endif |
| 247 |
|
| 248 |
#if C_ATTRIBUTE_FASTCALL |
| 249 |
#define DB_FASTCALL __attribute__((fastcall)) |
| 250 |
#else |
| 251 |
#define DB_FASTCALL |
| 252 |
#endif |
| 253 |
|
| 254 |
#if C_HAS_ATTRIBUTE |
| 255 |
#define GCC_ATTRIBUTE(x) __attribute__ ((x)) |
| 256 |
#else |
| 257 |
#define GCC_ATTRIBUTE(x) /* attribute not supported */ |
| 258 |
#endif |
| 259 |
|
| 260 |
#if C_HAS_BUILTIN_EXPECT |
| 261 |
#define GCC_UNLIKELY(x) __builtin_expect((x),0) |
| 262 |
#define GCC_LIKELY(x) __builtin_expect((x),1) |
| 263 |
#else |
| 264 |
#define GCC_UNLIKELY(x) (x) |
| 265 |
#define GCC_LIKELY(x) (x) |
| 266 |
#endif |
| 267 |
|
| 268 |
|
| 269 |
typedef double Real64; |
| 270 |
|
| 271 |
#if SIZEOF_UNSIGNED_CHAR != 1 |
| 272 |
# error "sizeof (unsigned char) != 1" |
| 273 |
#else |
| 274 |
typedef unsigned char Bit8u; |
| 275 |
typedef signed char Bit8s; |
| 276 |
#endif |
| 277 |
|
| 278 |
#if SIZEOF_UNSIGNED_SHORT != 2 |
| 279 |
# error "sizeof (unsigned short) != 2" |
| 280 |
#else |
| 281 |
typedef unsigned short Bit16u; |
| 282 |
typedef signed short Bit16s; |
| 283 |
#endif |
| 284 |
|
| 285 |
#if SIZEOF_UNSIGNED_INT == 4 |
| 286 |
typedef unsigned int Bit32u; |
| 287 |
typedef signed int Bit32s; |
| 288 |
#elif SIZEOF_UNSIGNED_LONG == 4 |
| 289 |
typedef unsigned long Bit32u; |
| 290 |
typedef signed long Bit32s; |
| 291 |
#else |
| 292 |
# error "can't find sizeof(type) of 4 bytes!" |
| 293 |
#endif |
| 294 |
|
| 295 |
#if SIZEOF_UNSIGNED_LONG == 8 |
| 296 |
typedef unsigned long Bit64u; |
| 297 |
typedef signed long Bit64s; |
| 298 |
#elif SIZEOF_UNSIGNED_LONG_LONG == 8 |
| 299 |
typedef unsigned long long Bit64u; |
| 300 |
typedef signed long long Bit64s; |
| 301 |
#else |
| 302 |
# error "can't find data type of 8 bytes" |
| 303 |
#endif |
| 304 |
|
| 305 |
#if SIZEOF_INT_P == 4 |
| 306 |
typedef Bit32u Bitu; |
| 307 |
typedef Bit32s Bits; |
| 308 |
#else |
| 309 |
typedef Bit64u Bitu; |
| 310 |
typedef Bit64s Bits; |
| 311 |
#endif |
| 312 |
|
| 313 |
|