include/SDL_config.h
author Sam Lantinga <slouken@libsdl.org>
Thu, 16 Feb 2006 10:11:48 +0000
changeset 1361 19418e4422cb
child 1367 e440d5c488c1
permissions -rw-r--r--
New configure-based build system. Still work in progress, but much improved
slouken@1361
     1
/* include/SDL_config.h.  Generated by configure.  */
slouken@1361
     2
/*
slouken@1361
     3
    SDL - Simple DirectMedia Layer
slouken@1361
     4
    Copyright (C) 1997-2006 Sam Lantinga
slouken@1361
     5
slouken@1361
     6
    This library is free software; you can redistribute it and/or
slouken@1361
     7
    modify it under the terms of the GNU Lesser General Public
slouken@1361
     8
    License as published by the Free Software Foundation; either
slouken@1361
     9
    version 2.1 of the License, or (at your option) any later version.
slouken@1361
    10
slouken@1361
    11
    This library is distributed in the hope that it will be useful,
slouken@1361
    12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@1361
    13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@1361
    14
    Lesser General Public License for more details.
slouken@1361
    15
slouken@1361
    16
    You should have received a copy of the GNU Lesser General Public
slouken@1361
    17
    License along with this library; if not, write to the Free Software
slouken@1361
    18
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@1361
    19
slouken@1361
    20
    Sam Lantinga
slouken@1361
    21
    slouken@libsdl.org
slouken@1361
    22
*/
slouken@1361
    23
slouken@1361
    24
#ifndef _SDL_config_h
slouken@1361
    25
#define _SDL_config_h
slouken@1361
    26
slouken@1361
    27
/* This is a set of defines to configure the SDL features */
slouken@1361
    28
slouken@1361
    29
/* C language features */
slouken@1361
    30
/* #undef const */
slouken@1361
    31
/* #undef inline */
slouken@1361
    32
/* #undef volatile */
slouken@1361
    33
slouken@1361
    34
/* C datatypes */
slouken@1361
    35
/* #undef size_t */
slouken@1361
    36
/* #undef int8_t */
slouken@1361
    37
/* #undef uint8_t */
slouken@1361
    38
/* #undef int16_t */
slouken@1361
    39
/* #undef uint16_t */
slouken@1361
    40
/* #undef int32_t */
slouken@1361
    41
/* #undef uint32_t */
slouken@1361
    42
#define SDL_HAS_64BIT_TYPE 1
slouken@1361
    43
/* #undef int64_t */
slouken@1361
    44
/* #undef uint64_t */
slouken@1361
    45
/* #undef uintptr_t */
slouken@1361
    46
slouken@1361
    47
/* Endianness */
slouken@1361
    48
#define SDL_BYTEORDER 1234
slouken@1361
    49
slouken@1361
    50
/* Comment this if you want to build without any C library requirements */
slouken@1361
    51
#define HAVE_LIBC 1
slouken@1361
    52
#ifdef HAVE_LIBC
slouken@1361
    53
slouken@1361
    54
/* Useful headers */
slouken@1361
    55
#define HAVE_SYS_TYPES_H 1
slouken@1361
    56
#define HAVE_STDIO_H 1
slouken@1361
    57
#define STDC_HEADERS 1
slouken@1361
    58
#define HAVE_STDLIB_H 1
slouken@1361
    59
#define HAVE_STDARG_H 1
slouken@1361
    60
#define HAVE_MALLOC_H 1
slouken@1361
    61
#define HAVE_MEMORY_H 1
slouken@1361
    62
#define HAVE_STRING_H 1
slouken@1361
    63
#define HAVE_STRINGS_H 1
slouken@1361
    64
#define HAVE_INTTYPES_H 1
slouken@1361
    65
#define HAVE_STDINT_H 1
slouken@1361
    66
#define HAVE_CTYPE_H 1
slouken@1361
    67
#define HAVE_MATH_H 1
slouken@1361
    68
#define HAVE_SIGNAL_H 1
slouken@1361
    69
/* #undef HAVE_ALTIVEC_H */
slouken@1361
    70
slouken@1361
    71
/* C library functions */
slouken@1361
    72
#define HAVE_MALLOC 1
slouken@1361
    73
#define HAVE_CALLOC 1
slouken@1361
    74
#define HAVE_REALLOC 1
slouken@1361
    75
#define HAVE_FREE 1
slouken@1361
    76
#define HAVE_ALLOCA 1
slouken@1361
    77
#ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
slouken@1361
    78
#define HAVE_GETENV 1
slouken@1361
    79
#define HAVE_PUTENV 1
slouken@1361
    80
#define HAVE_UNSETENV 1
slouken@1361
    81
#endif
slouken@1361
    82
#define HAVE_QSORT 1
slouken@1361
    83
#define HAVE_ABS 1
slouken@1361
    84
#define HAVE_BCOPY 1
slouken@1361
    85
#define HAVE_MEMSET 1
slouken@1361
    86
#define HAVE_MEMCPY 1
slouken@1361
    87
#define HAVE_MEMMOVE 1
slouken@1361
    88
#define HAVE_MEMCMP 1
slouken@1361
    89
#define HAVE_STRLEN 1
slouken@1361
    90
#define HAVE_STRCPY 1
slouken@1361
    91
#define HAVE_STRNCPY 1
slouken@1361
    92
#define HAVE_STRCAT 1
slouken@1361
    93
#define HAVE_STRNCAT 1
slouken@1361
    94
#define HAVE_STRDUP 1
slouken@1361
    95
/* #undef HAVE__STRREV */
slouken@1361
    96
/* #undef HAVE__STRUPR */
slouken@1361
    97
/* #undef HAVE__STRLWR */
slouken@1361
    98
/* #undef HAVE_INDEX */
slouken@1361
    99
/* #undef HAVE_RINDEX */
slouken@1361
   100
#define HAVE_STRCHR 1
slouken@1361
   101
#define HAVE_STRRCHR 1
slouken@1361
   102
#define HAVE_STRSTR 1
slouken@1361
   103
/* #undef HAVE_ITOA */
slouken@1361
   104
/* #undef HAVE__LTOA */
slouken@1361
   105
/* #undef HAVE__UITOA */
slouken@1361
   106
/* #undef HAVE__ULTOA */
slouken@1361
   107
#define HAVE_STRTOL 1
slouken@1361
   108
/* #undef HAVE__I64TOA */
slouken@1361
   109
/* #undef HAVE__UI64TOA */
slouken@1361
   110
#define HAVE_STRTOLL 1
slouken@1361
   111
#define HAVE_STRTOD 1
slouken@1361
   112
#define HAVE_ATOI 1
slouken@1361
   113
#define HAVE_ATOF 1
slouken@1361
   114
#define HAVE_STRCMP 1
slouken@1361
   115
#define HAVE_STRNCMP 1
slouken@1361
   116
/* #undef HAVE_STRICMP */
slouken@1361
   117
#define HAVE_STRCASECMP 1
slouken@1361
   118
#define HAVE_SSCANF 1
slouken@1361
   119
#define HAVE_SNPRINTF 1
slouken@1361
   120
/* #undef HAVE_VSNPRINTF */
slouken@1361
   121
#define HAVE_SIGACTION 1
slouken@1361
   122
#define HAVE_SETJMP 1
slouken@1361
   123
#define HAVE_NANOSLEEP 1
slouken@1361
   124
/* #undef HAVE_CLOCK_GETTIME */
slouken@1361
   125
#define HAVE_DLVSYM 1
slouken@1361
   126
slouken@1361
   127
#else
slouken@1361
   128
/* We may need some replacement for stdarg.h here */
slouken@1361
   129
#include <stdarg.h>
slouken@1361
   130
#endif /* HAVE_LIBC */
slouken@1361
   131
slouken@1361
   132
/* General platform specific identifiers */
slouken@1361
   133
/* #undef TARGET_API_MAC_CARBON */
slouken@1361
   134
/* #undef TARGET_API_MAC_OSX */
slouken@1361
   135
slouken@1361
   136
/* Allow disabling of core subsystems */
slouken@1361
   137
/* #undef SDL_AUDIO_DISABLED */
slouken@1361
   138
/* #undef SDL_CDROM_DISABLED */
slouken@1361
   139
/* #undef SDL_CPUINFO_DISABLED */
slouken@1361
   140
/* #undef SDL_EVENTS_DISABLED */
slouken@1361
   141
/* #undef SDL_FILE_DISABLED */
slouken@1361
   142
/* #undef SDL_JOYSTICK_DISABLED */
slouken@1361
   143
/* #undef SDL_LOADSO_DISABLED */
slouken@1361
   144
/* #undef SDL_THREADS_DISABLED */
slouken@1361
   145
/* #undef SDL_TIMERS_DISABLED */
slouken@1361
   146
/* #undef SDL_VIDEO_DISABLED */
slouken@1361
   147
slouken@1361
   148
/* Enable various audio drivers */
slouken@1361
   149
/* #undef SDL_AUDIO_DRIVER_AHI */
slouken@1361
   150
#define SDL_AUDIO_DRIVER_ALSA 1
slouken@1361
   151
#define SDL_AUDIO_DRIVER_ALSA_DYNAMIC "libasound.so.2"
slouken@1361
   152
/* #undef SDL_AUDIO_DRIVER_ARTS */
slouken@1361
   153
/* #undef SDL_AUDIO_DRIVER_ARTS_DYNAMIC */
slouken@1361
   154
/* #undef SDL_AUDIO_DRIVER_BAUDIO */
slouken@1361
   155
/* #undef SDL_AUDIO_DRIVER_COREAUDIO */
slouken@1361
   156
/* #undef SDL_AUDIO_DRIVER_DART */
slouken@1361
   157
/* #undef SDL_AUDIO_DRIVER_DC */
slouken@1361
   158
#define SDL_AUDIO_DRIVER_DISK 1
slouken@1361
   159
/* #undef SDL_AUDIO_DRIVER_DMEDIA */
slouken@1361
   160
/* #undef SDL_AUDIO_DRIVER_DRENDERER */
slouken@1361
   161
/* #undef SDL_AUDIO_DRIVER_DSOUND */
slouken@1361
   162
/* #undef SDL_AUDIO_DRIVER_ESD */
slouken@1361
   163
/* #undef SDL_AUDIO_DRIVER_ESD_DYNAMIC */
slouken@1361
   164
/* #undef SDL_AUDIO_DRIVER_MINT */
slouken@1361
   165
/* #undef SDL_AUDIO_DRIVER_MMEAUDIO */
slouken@1361
   166
/* #undef SDL_AUDIO_DRIVER_NAS */
slouken@1361
   167
/* #undef SDL_AUDIO_DRIVER_OPENBSD */
slouken@1361
   168
#define SDL_AUDIO_DRIVER_OSS 1
slouken@1361
   169
/* #undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H */
slouken@1361
   170
/* #undef SDL_AUDIO_DRIVER_PAUD */
slouken@1361
   171
/* #undef SDL_AUDIO_DRIVER_QNXNTO */
slouken@1361
   172
/* #undef SDL_AUDIO_DRIVER_SNDMGR */
slouken@1361
   173
/* #undef SDL_AUDIO_DRIVER_SUNAUDIO */
slouken@1361
   174
/* #undef SDL_AUDIO_DRIVER_WAVEOUT */
slouken@1361
   175
slouken@1361
   176
/* Enable various cdrom drivers */
slouken@1361
   177
/* #undef SDL_CDROM_AIX */
slouken@1361
   178
/* #undef SDL_CDROM_BEOS */
slouken@1361
   179
/* #undef SDL_CDROM_BSDI */
slouken@1361
   180
/* #undef SDL_CDROM_DC */
slouken@1361
   181
/* #undef SDL_CDROM_DUMMY */
slouken@1361
   182
/* #undef SDL_CDROM_FREEBSD */
slouken@1361
   183
#define SDL_CDROM_LINUX 1
slouken@1361
   184
/* #undef SDL_CDROM_MACOS */
slouken@1361
   185
/* #undef SDL_CDROM_MACOSX */
slouken@1361
   186
/* #undef SDL_CDROM_MINT */
slouken@1361
   187
/* #undef SDL_CDROM_OPENBSD */
slouken@1361
   188
/* #undef SDL_CDROM_OS2 */
slouken@1361
   189
/* #undef SDL_CDROM_OSF */
slouken@1361
   190
/* #undef SDL_CDROM_QNX */
slouken@1361
   191
/* #undef SDL_CDROM_WIN32 */
slouken@1361
   192
slouken@1361
   193
/* Enable various input drivers */
slouken@1361
   194
/* #undef SDL_INPUT_TSLIB */
slouken@1361
   195
/* #undef SDL_JOYSTICK_AMIGA */
slouken@1361
   196
/* #undef SDL_JOYSTICK_BEOS */
slouken@1361
   197
/* #undef SDL_JOYSTICK_DC */
slouken@1361
   198
/* #undef SDL_JOYSTICK_DUMMY */
slouken@1361
   199
/* #undef SDL_JOYSTICK_IOKIT */
slouken@1361
   200
#define SDL_JOYSTICK_LINUX 1
slouken@1361
   201
/* #undef SDL_JOYSTICK_LINUXEV */
slouken@1361
   202
/* #undef SDL_JOYSTICK_MACOS */
slouken@1361
   203
/* #undef SDL_JOYSTICK_MINT */
slouken@1361
   204
/* #undef SDL_JOYSTICK_OS2 */
slouken@1361
   205
/* #undef SDL_JOYSTICK_RISCOS */
slouken@1361
   206
/* #undef SDL_JOYSTICK_WINMM */
slouken@1361
   207
/* #undef SDL_JOYSTICK_USBHID */
slouken@1361
   208
slouken@1361
   209
/* Enable various shared object loading systems */
slouken@1361
   210
/* #undef SDL_LOADSO_BEOS */
slouken@1361
   211
/* #undef SDL_LOADSO_DLCOMPAT */
slouken@1361
   212
#define SDL_LOADSO_DLOPEN 1
slouken@1361
   213
/* #undef SDL_LOADSO_LDG */
slouken@1361
   214
/* #undef SDL_LOADSO_MACOS */
slouken@1361
   215
/* #undef SDL_LOADSO_OS2 */
slouken@1361
   216
/* #undef SDL_LOADSO_WIN32 */
slouken@1361
   217
slouken@1361
   218
/* Enable various threading systems */
slouken@1361
   219
/* #undef SDL_THREAD_AMIGA */
slouken@1361
   220
/* #undef SDL_THREAD_BEOS */
slouken@1361
   221
/* #undef SDL_THREAD_DC */
slouken@1361
   222
/* #undef SDL_THREAD_EPOC */
slouken@1361
   223
/* #undef SDL_THREAD_OS2 */
slouken@1361
   224
/* #undef SDL_THREAD_PTH */
slouken@1361
   225
#define SDL_THREAD_PTHREAD 1
slouken@1361
   226
#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
slouken@1361
   227
/* #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP */
slouken@1361
   228
/* #undef SDL_THREAD_SPROC */
slouken@1361
   229
/* #undef SDL_THREAD_WIN32 */
slouken@1361
   230
slouken@1361
   231
/* Enable various timer systems */
slouken@1361
   232
/* #undef SDL_TIMER_AMIGA */
slouken@1361
   233
/* #undef SDL_TIMER_BEOS */
slouken@1361
   234
/* #undef SDL_TIMER_DC */
slouken@1361
   235
/* #undef SDL_TIMER_EPOC */
slouken@1361
   236
/* #undef SDL_TIMER_MACOS */
slouken@1361
   237
/* #undef SDL_TIMER_MINT */
slouken@1361
   238
/* #undef SDL_TIMER_OS2 */
slouken@1361
   239
/* #undef SDL_TIMER_RISCOS */
slouken@1361
   240
#define SDL_TIMER_UNIX 1
slouken@1361
   241
/* #undef SDL_TIMER_WIN32 */
slouken@1361
   242
/* #undef SDL_TIMER_WINCE */
slouken@1361
   243
slouken@1361
   244
/* Enable various video drivers */
slouken@1361
   245
/* #undef SDL_VIDEO_DRIVER_AALIB */
slouken@1361
   246
/* #undef SDL_VIDEO_DRIVER_BWINDOW */
slouken@1361
   247
/* #undef SDL_VIDEO_DRIVER_CYBERGRAPHICS */
slouken@1361
   248
/* #undef SDL_VIDEO_DRIVER_DC */
slouken@1361
   249
/* #undef SDL_VIDEO_DRIVER_DDRAW */
slouken@1361
   250
#define SDL_VIDEO_DRIVER_DGA 1
slouken@1361
   251
/* #undef SDL_VIDEO_DRIVER_DIRECTFB */
slouken@1361
   252
/* #undef SDL_VIDEO_DRIVER_DRAWSPROCKET */
slouken@1361
   253
#define SDL_VIDEO_DRIVER_DUMMY 1
slouken@1361
   254
/* #undef SDL_VIDEO_DRIVER_EPOC */
slouken@1361
   255
#define SDL_VIDEO_DRIVER_FBCON 1
slouken@1361
   256
/* #undef SDL_VIDEO_DRIVER_GAPI */
slouken@1361
   257
/* #undef SDL_VIDEO_DRIVER_GEM */
slouken@1361
   258
/* #undef SDL_VIDEO_DRIVER_GGI */
slouken@1361
   259
/* #undef SDL_VIDEO_DRIVER_IPOD */
slouken@1361
   260
/* #undef SDL_VIDEO_DRIVER_NANOX */
slouken@1361
   261
/* #undef SDL_VIDEO_DRIVER_OS2FS */
slouken@1361
   262
/* #undef SDL_VIDEO_DRIVER_PHOTON */
slouken@1361
   263
/* #undef SDL_VIDEO_DRIVER_PICOGUI */
slouken@1361
   264
/* #undef SDL_VIDEO_DRIVER_PS2GS */
slouken@1361
   265
/* #undef SDL_VIDEO_DRIVER_QTOPIA */
slouken@1361
   266
/* #undef SDL_VIDEO_DRIVER_QUARTZ */
slouken@1361
   267
/* #undef SDL_VIDEO_DRIVER_RISCOS */
slouken@1361
   268
/* #undef SDL_VIDEO_DRIVER_SVGALIB */
slouken@1361
   269
/* #undef SDL_VIDEO_DRIVER_TOOLBOX */
slouken@1361
   270
/* #undef SDL_VIDEO_DRIVER_VGL */
slouken@1361
   271
/* #undef SDL_VIDEO_DRIVER_WINDIB */
slouken@1361
   272
/* #undef SDL_VIDEO_DRIVER_WSCONS */
slouken@1361
   273
#define SDL_VIDEO_DRIVER_X11 1
slouken@1361
   274
#define SDL_VIDEO_DRIVER_X11_DGAMOUSE 1
slouken@1361
   275
#define SDL_VIDEO_DRIVER_X11_DYNAMIC "libX11.so.6"
slouken@1361
   276
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "libXext.so.6"
slouken@1361
   277
#define SDL_VIDEO_DRIVER_X11_VIDMODE 1
slouken@1361
   278
#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
slouken@1361
   279
#define SDL_VIDEO_DRIVER_X11_XME 1
slouken@1361
   280
#define SDL_VIDEO_DRIVER_X11_XV 1
slouken@1361
   281
/* #undef SDL_VIDEO_DRIVER_XBIOS */
slouken@1361
   282
slouken@1361
   283
/* Enable OpenGL support */
slouken@1361
   284
#define SDL_VIDEO_OPENGL 1
slouken@1361
   285
#define SDL_VIDEO_OPENGL_GLX 1
slouken@1361
   286
/* #undef SDL_VIDEO_OPENGL_WGL */
slouken@1361
   287
/* #undef SDL_VIDEO_OPENGL_OSMESA */
slouken@1361
   288
/* #undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC */
slouken@1361
   289
slouken@1361
   290
/* Enable assembly blit routines */
slouken@1361
   291
#define SDL_ASSEMBLY_BLITTERS 1
slouken@1361
   292
#define SDL_HERMES_BLITTERS 1
slouken@1361
   293
/* #undef SDL_ALTIVEC_BLITTERS */
slouken@1361
   294
slouken@1361
   295
#endif /* _SDL_config_h */