2009-05-02 23:03:37 +02:00
|
|
|
/* config.h.in. Generated from configure.in by autoheader. */
|
|
|
|
|
2009-05-02 23:12:18 +02:00
|
|
|
|
|
|
|
/*
|
2009-05-03 00:28:34 +02:00
|
|
|
* Copyright (C) 2002-2007 The DOSBox Team
|
2009-05-02 23:12:18 +02:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2009-05-02 23:43:00 +02:00
|
|
|
/* Define to 1 to use inlined memory functions in cpu core */
|
|
|
|
#undef C_CORE_INLINE
|
|
|
|
|
2009-05-02 23:35:44 +02:00
|
|
|
/* Define to 1 to enable internal debugger, requires libcurses */
|
|
|
|
#undef C_DEBUG
|
|
|
|
|
2009-05-03 00:28:34 +02:00
|
|
|
/* Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).
|
2009-05-03 00:18:08 +02:00
|
|
|
*/
|
2009-05-03 00:02:15 +02:00
|
|
|
#undef C_DIRECTSERIAL
|
|
|
|
|
2009-05-02 23:53:27 +02:00
|
|
|
/* Define to 1 to use x86 dynamic cpu core */
|
|
|
|
#undef C_DYNAMIC_X86
|
|
|
|
|
2009-05-03 00:37:32 +02:00
|
|
|
/* Define to 1 to use recompiling cpu core. Can not be used together with the
|
|
|
|
dynamic-x86 core */
|
|
|
|
#undef C_DYNREC
|
|
|
|
|
2009-05-02 23:43:00 +02:00
|
|
|
/* Define to 1 to enable floating point emulation */
|
|
|
|
#undef C_FPU
|
|
|
|
|
2009-05-03 00:18:08 +02:00
|
|
|
/* Define to 1 to use a x86 assembly fpu core */
|
|
|
|
#undef C_FPU_X86
|
|
|
|
|
2009-05-02 23:35:44 +02:00
|
|
|
/* Determines if the compilers supports attributes for structures. */
|
2009-05-02 23:12:18 +02:00
|
|
|
#undef C_HAS_ATTRIBUTE
|
|
|
|
|
2009-05-03 00:18:08 +02:00
|
|
|
/* Determines if the compilers supports __builtin_expect for branch
|
|
|
|
prediction. */
|
|
|
|
#undef C_HAS_BUILTIN_EXPECT
|
|
|
|
|
|
|
|
/* Define to 1 if you have the mprotect function */
|
|
|
|
#undef C_HAVE_MPROTECT
|
|
|
|
|
2009-05-02 23:43:00 +02:00
|
|
|
/* Define to 1 to enable heavy debugging, also have to enable C_DEBUG */
|
|
|
|
#undef C_HEAVY_DEBUG
|
|
|
|
|
2009-05-03 00:02:15 +02:00
|
|
|
/* Define to 1 to enable IPX over Internet networking, requires SDL_net */
|
|
|
|
#undef C_IPX
|
|
|
|
|
2009-05-02 23:43:00 +02:00
|
|
|
/* Define to 1 to enable internal modem support, requires SDL_net */
|
|
|
|
#undef C_MODEM
|
|
|
|
|
2009-05-02 23:53:27 +02:00
|
|
|
/* Define to 1 to use opengl display output support */
|
|
|
|
#undef C_OPENGL
|
|
|
|
|
2009-05-03 00:02:15 +02:00
|
|
|
/* Define to 1 to enable SDL_sound support */
|
|
|
|
#undef C_SDL_SOUND
|
|
|
|
|
|
|
|
/* Define to 1 if you have setpriority support */
|
|
|
|
#undef C_SET_PRIORITY
|
|
|
|
|
2009-05-02 23:35:44 +02:00
|
|
|
/* Define to 1 to enable screenshots, requires libpng */
|
|
|
|
#undef C_SSHOT
|
|
|
|
|
2009-05-03 00:37:32 +02:00
|
|
|
/* The type of cpu this target has */
|
|
|
|
#undef C_TARGETCPU
|
|
|
|
|
2009-05-03 00:18:08 +02:00
|
|
|
/* Define to 1 to use a unaligned memory access */
|
|
|
|
#undef C_UNALIGNED_MEMORY
|
|
|
|
|
2009-05-03 00:28:34 +02:00
|
|
|
/* libm doesn't include powf */
|
|
|
|
#undef DB_HAVE_NO_POWF
|
|
|
|
|
2009-05-02 23:43:00 +02:00
|
|
|
/* environ can be included */
|
|
|
|
#undef ENVIRON_INCLUDED
|
|
|
|
|
|
|
|
/* environ can be linked */
|
|
|
|
#undef ENVIRON_LINKED
|
|
|
|
|
2009-05-02 23:35:44 +02:00
|
|
|
/* Define to 1 to use ALSA for MIDI */
|
|
|
|
#undef HAVE_ALSA
|
|
|
|
|
2009-05-03 00:02:15 +02:00
|
|
|
/* Define to 1 if you have the <ddraw.h> header file. */
|
|
|
|
#undef HAVE_DDRAW_H
|
|
|
|
|
2009-05-02 23:03:37 +02:00
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
|
2009-05-02 23:35:44 +02:00
|
|
|
/* Define to 1 if you have the `asound' library (-lasound). */
|
|
|
|
#undef HAVE_LIBASOUND
|
2009-05-02 23:20:05 +02:00
|
|
|
|
2009-05-03 00:28:34 +02:00
|
|
|
/* Define to 1 if you have the `m' library (-lm). */
|
|
|
|
#undef HAVE_LIBM
|
|
|
|
|
2009-05-02 23:03:37 +02:00
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
|
|
#undef HAVE_MEMORY_H
|
|
|
|
|
2009-05-03 00:37:32 +02:00
|
|
|
/* Define to 1 if you have the <netinet/in.h> header file. */
|
|
|
|
#undef HAVE_NETINET_IN_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <pwd.h> header file. */
|
|
|
|
#undef HAVE_PWD_H
|
|
|
|
|
2009-05-02 23:03:37 +02:00
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
|
|
#undef HAVE_STDINT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
|
|
#undef HAVE_STDLIB_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
|
|
#undef HAVE_STRINGS_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
|
|
#undef HAVE_STRING_H
|
|
|
|
|
2009-05-03 00:37:32 +02:00
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
|
|
|
#undef HAVE_SYS_SOCKET_H
|
|
|
|
|
2009-05-02 23:03:37 +02:00
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
|
|
#undef HAVE_UNISTD_H
|
|
|
|
|
2009-05-03 00:44:30 +02:00
|
|
|
/* Compiling on GNU/Linux */
|
2009-05-02 23:53:27 +02:00
|
|
|
#undef LINUX
|
|
|
|
|
2009-05-02 23:35:44 +02:00
|
|
|
/* Compiling on Mac OS X */
|
|
|
|
#undef MACOSX
|
|
|
|
|
2009-05-03 00:18:08 +02:00
|
|
|
/* Compiling on OS/2 EMX */
|
|
|
|
#undef OS2
|
|
|
|
|
2009-05-02 23:03:37 +02:00
|
|
|
/* Name of package */
|
|
|
|
#undef PACKAGE
|
|
|
|
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
|
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#undef PACKAGE_NAME
|
|
|
|
|
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#undef PACKAGE_STRING
|
|
|
|
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#undef PACKAGE_TARNAME
|
|
|
|
|
|
|
|
/* Define to the version of this package. */
|
|
|
|
#undef PACKAGE_VERSION
|
|
|
|
|
2009-05-03 00:28:34 +02:00
|
|
|
/* The size of `int *', as computed by sizeof. */
|
2009-05-03 00:02:15 +02:00
|
|
|
#undef SIZEOF_INT_P
|
|
|
|
|
2009-05-03 00:28:34 +02:00
|
|
|
/* The size of `unsigned char', as computed by sizeof. */
|
2009-05-03 00:02:15 +02:00
|
|
|
#undef SIZEOF_UNSIGNED_CHAR
|
|
|
|
|
2009-05-03 00:28:34 +02:00
|
|
|
/* The size of `unsigned int', as computed by sizeof. */
|
2009-05-03 00:02:15 +02:00
|
|
|
#undef SIZEOF_UNSIGNED_INT
|
|
|
|
|
2009-05-03 00:28:34 +02:00
|
|
|
/* The size of `unsigned long', as computed by sizeof. */
|
2009-05-03 00:02:15 +02:00
|
|
|
#undef SIZEOF_UNSIGNED_LONG
|
|
|
|
|
2009-05-03 00:28:34 +02:00
|
|
|
/* The size of `unsigned long long', as computed by sizeof. */
|
2009-05-03 00:02:15 +02:00
|
|
|
#undef SIZEOF_UNSIGNED_LONG_LONG
|
|
|
|
|
2009-05-03 00:28:34 +02:00
|
|
|
/* The size of `unsigned short', as computed by sizeof. */
|
2009-05-03 00:02:15 +02:00
|
|
|
#undef SIZEOF_UNSIGNED_SHORT
|
|
|
|
|
2009-05-02 23:03:37 +02:00
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
|
|
#undef STDC_HEADERS
|
|
|
|
|
|
|
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
|
|
|
#undef TM_IN_SYS_TIME
|
|
|
|
|
|
|
|
/* Version number of package */
|
|
|
|
#undef VERSION
|
|
|
|
|
2009-05-02 23:35:44 +02:00
|
|
|
/* Define to 1 if your processor stores words with the most significant byte
|
|
|
|
first (like Motorola and SPARC, unlike Intel and VAX). */
|
|
|
|
#undef WORDS_BIGENDIAN
|
|
|
|
|
2009-05-02 23:03:37 +02:00
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
|
|
#undef const
|
|
|
|
|
2009-05-02 23:53:27 +02:00
|
|
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
|
|
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
|
|
#ifndef __cplusplus
|
2009-05-02 23:03:37 +02:00
|
|
|
#undef inline
|
2009-05-02 23:53:27 +02:00
|
|
|
#endif
|
2009-05-02 23:03:37 +02:00
|
|
|
|
2009-05-03 00:28:34 +02:00
|
|
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
2009-05-02 23:03:37 +02:00
|
|
|
#undef size_t
|
2009-05-02 23:12:18 +02:00
|
|
|
|
2009-05-03 00:37:32 +02:00
|
|
|
/* Define to `int` if you don't have socklen_t */
|
|
|
|
#undef socklen_t
|
|
|
|
|
2009-05-02 23:12:18 +02:00
|
|
|
#define INLINE inline
|
|
|
|
|
|
|
|
#if C_HAS_ATTRIBUTE
|
|
|
|
#define GCC_ATTRIBUTE(x) __attribute__ ((x))
|
|
|
|
#else
|
|
|
|
#define GCC_ATTRIBUTE(x) /* attribute not supported */
|
|
|
|
#endif
|
2009-05-03 00:02:15 +02:00
|
|
|
|
2009-05-03 00:18:08 +02:00
|
|
|
#if C_HAS_BUILTIN_EXPECT
|
|
|
|
#define GCC_UNLIKELY(x) __builtin_expect((x),0)
|
|
|
|
#else
|
|
|
|
#define GCC_UNLIKELY(x) (x)
|
|
|
|
#endif
|
|
|
|
|
2009-05-03 00:02:15 +02:00
|
|
|
|
|
|
|
typedef double Real64;
|
|
|
|
|
|
|
|
#if SIZEOF_UNSIGNED_CHAR != 1
|
|
|
|
# error "sizeof (unsigned char) != 1"
|
|
|
|
#else
|
|
|
|
typedef unsigned char Bit8u;
|
|
|
|
typedef signed char Bit8s;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if SIZEOF_UNSIGNED_SHORT != 2
|
|
|
|
# error "sizeof (unsigned short) != 2"
|
|
|
|
#else
|
|
|
|
typedef unsigned short Bit16u;
|
|
|
|
typedef signed short Bit16s;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if SIZEOF_UNSIGNED_INT == 4
|
|
|
|
typedef unsigned int Bit32u;
|
|
|
|
typedef signed int Bit32s;
|
|
|
|
#elif SIZEOF_UNSIGNED_LONG == 4
|
|
|
|
typedef unsigned long Bit32u;
|
|
|
|
typedef signed long Bit32s;
|
|
|
|
#else
|
|
|
|
# error "can't find sizeof(type) of 4 bytes!"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if SIZEOF_UNSIGNED_LONG == 8
|
|
|
|
typedef unsigned long Bit64u;
|
|
|
|
typedef signed long Bit64s;
|
|
|
|
#elif SIZEOF_UNSIGNED_LONG_LONG == 8
|
|
|
|
typedef unsigned long long Bit64u;
|
|
|
|
typedef signed long long Bit64s;
|
|
|
|
#else
|
|
|
|
# error "can't find data type of 8 bytes"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if SIZEOF_INT_P == 4
|
|
|
|
typedef Bit32u Bitu;
|
|
|
|
typedef Bit32s Bits;
|
|
|
|
#else
|
|
|
|
typedef Bit64u Bitu;
|
|
|
|
typedef Bit64s Bits;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|