include/SDL_config.h
author Ryan C. Gordon <icculus@icculus.org>
Wed, 22 Mar 2006 05:00:59 +0000
changeset 1575 3ba88cb7eb1b
parent 1533 38c1eb6b0083
child 1578 de527a350db4
permissions -rw-r--r--
Updated dynamic X11 code. See details in Bugzilla #170.
icculus@1575
     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
icculus@1575
    27
/* This is a set of defines to configure the SDL features */
icculus@1575
    28
icculus@1575
    29
/* General platform specific identifiers */
slouken@1422
    30
#include "SDL_platform.h"
slouken@1422
    31
icculus@1575
    32
/* C language features */
icculus@1575
    33
/* #undef const */
icculus@1575
    34
/* #undef inline */
icculus@1575
    35
/* #undef volatile */
icculus@1575
    36
icculus@1575
    37
/* C datatypes */
icculus@1575
    38
/* #undef size_t */
icculus@1575
    39
/* #undef int8_t */
icculus@1575
    40
/* #undef uint8_t */
icculus@1575
    41
/* #undef int16_t */
icculus@1575
    42
/* #undef uint16_t */
icculus@1575
    43
/* #undef int32_t */
icculus@1575
    44
/* #undef uint32_t */
icculus@1575
    45
/* #undef int64_t */
icculus@1575
    46
/* #undef uint64_t */
icculus@1575
    47
/* #undef uintptr_t */
icculus@1575
    48
#define SDL_HAS_64BIT_TYPE 1
icculus@1575
    49
icculus@1575
    50
/* Endianness */
icculus@1575
    51
#define SDL_BYTEORDER 1234
icculus@1575
    52
icculus@1575
    53
/* Comment this if you want to build without any C library requirements */
icculus@1575
    54
#define HAVE_LIBC 1
icculus@1575
    55
#if HAVE_LIBC
icculus@1575
    56
icculus@1575
    57
/* Useful headers */
icculus@1575
    58
#define HAVE_ALLOCA_H 1
icculus@1575
    59
#define HAVE_SYS_TYPES_H 1
icculus@1575
    60
#define HAVE_STDIO_H 1
icculus@1575
    61
#define STDC_HEADERS 1
icculus@1575
    62
#define HAVE_STDLIB_H 1
icculus@1575
    63
#define HAVE_STDARG_H 1
icculus@1575
    64
#define HAVE_MALLOC_H 1
icculus@1575
    65
#define HAVE_MEMORY_H 1
icculus@1575
    66
#define HAVE_STRING_H 1
icculus@1575
    67
#define HAVE_STRINGS_H 1
icculus@1575
    68
#define HAVE_INTTYPES_H 1
icculus@1575
    69
#define HAVE_STDINT_H 1
icculus@1575
    70
#define HAVE_CTYPE_H 1
icculus@1575
    71
#define HAVE_MATH_H 1
icculus@1575
    72
#define HAVE_ICONV_H 1
icculus@1575
    73
#define HAVE_SIGNAL_H 1
icculus@1575
    74
/* #undef HAVE_ALTIVEC_H */
icculus@1575
    75
icculus@1575
    76
/* C library functions */
icculus@1575
    77
#define HAVE_MALLOC 1
icculus@1575
    78
#define HAVE_CALLOC 1
icculus@1575
    79
#define HAVE_REALLOC 1
icculus@1575
    80
#define HAVE_FREE 1
icculus@1575
    81
#define HAVE_ALLOCA 1
icculus@1575
    82
#ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
icculus@1575
    83
#define HAVE_GETENV 1
icculus@1575
    84
#define HAVE_PUTENV 1
icculus@1575
    85
#define HAVE_UNSETENV 1
icculus@1575
    86
#endif
icculus@1575
    87
#define HAVE_QSORT 1
icculus@1575
    88
#define HAVE_ABS 1
icculus@1575
    89
#define HAVE_BCOPY 1
icculus@1575
    90
#define HAVE_MEMSET 1
icculus@1575
    91
#define HAVE_MEMCPY 1
icculus@1575
    92
#define HAVE_MEMMOVE 1
icculus@1575
    93
#define HAVE_MEMCMP 1
icculus@1575
    94
#define HAVE_STRLEN 1
icculus@1575
    95
/* #undef HAVE_STRLCPY */
icculus@1575
    96
/* #undef HAVE_STRLCAT */
icculus@1575
    97
#define HAVE_STRDUP 1
icculus@1575
    98
/* #undef HAVE__STRREV */
icculus@1575
    99
/* #undef HAVE__STRUPR */
icculus@1575
   100
/* #undef HAVE__STRLWR */
icculus@1575
   101
/* #undef HAVE_INDEX */
icculus@1575
   102
/* #undef HAVE_RINDEX */
icculus@1575
   103
#define HAVE_STRCHR 1
icculus@1575
   104
#define HAVE_STRRCHR 1
icculus@1575
   105
#define HAVE_STRSTR 1
icculus@1575
   106
/* #undef HAVE_ITOA */
icculus@1575
   107
/* #undef HAVE__LTOA */
icculus@1575
   108
/* #undef HAVE__UITOA */
icculus@1575
   109
/* #undef HAVE__ULTOA */
icculus@1575
   110
#define HAVE_STRTOL 1
icculus@1575
   111
#define HAVE_STRTOUL 1
icculus@1575
   112
/* #undef HAVE__I64TOA */
icculus@1575
   113
/* #undef HAVE__UI64TOA */
icculus@1575
   114
#define HAVE_STRTOLL 1
icculus@1575
   115
#define HAVE_STRTOULL 1
icculus@1575
   116
#define HAVE_STRTOD 1
icculus@1575
   117
#define HAVE_ATOI 1
icculus@1575
   118
#define HAVE_ATOF 1
icculus@1575
   119
#define HAVE_STRCMP 1
icculus@1575
   120
#define HAVE_STRNCMP 1
icculus@1575
   121
/* #undef HAVE__STRICMP */
icculus@1575
   122
#define HAVE_STRCASECMP 1
icculus@1575
   123
/* #undef HAVE__STRNICMP */
icculus@1575
   124
#define HAVE_STRNCASECMP 1
icculus@1575
   125
#define HAVE_SSCANF 1
icculus@1575
   126
#define HAVE_SNPRINTF 1
icculus@1575
   127
#define HAVE_VSNPRINTF 1
icculus@1575
   128
#define HAVE_ICONV 1
icculus@1575
   129
#define HAVE_SIGACTION 1
icculus@1575
   130
#define HAVE_SETJMP 1
icculus@1575
   131
#define HAVE_NANOSLEEP 1
icculus@1575
   132
/* #undef HAVE_CLOCK_GETTIME */
icculus@1575
   133
#define HAVE_DLVSYM 1
icculus@1575
   134
slouken@1533
   135
#else
icculus@1575
   136
/* We may need some replacement for stdarg.h here */
icculus@1575
   137
#include <stdarg.h>
icculus@1575
   138
#endif /* HAVE_LIBC */
icculus@1532
   139
icculus@1575
   140
/* Allow disabling of core subsystems */
icculus@1575
   141
/* #undef SDL_AUDIO_DISABLED */
icculus@1575
   142
/* #undef SDL_CDROM_DISABLED */
icculus@1575
   143
/* #undef SDL_CPUINFO_DISABLED */
icculus@1575
   144
/* #undef SDL_EVENTS_DISABLED */
icculus@1575
   145
/* #undef SDL_FILE_DISABLED */
icculus@1575
   146
/* #undef SDL_JOYSTICK_DISABLED */
icculus@1575
   147
/* #undef SDL_LOADSO_DISABLED */
icculus@1575
   148
/* #undef SDL_THREADS_DISABLED */
icculus@1575
   149
/* #undef SDL_TIMERS_DISABLED */
icculus@1575
   150
/* #undef SDL_VIDEO_DISABLED */
icculus@1532
   151
icculus@1575
   152
/* Enable various audio drivers */
icculus@1575
   153
/* #undef SDL_AUDIO_DRIVER_AHI */
icculus@1575
   154
#define SDL_AUDIO_DRIVER_ALSA 1
icculus@1575
   155
#define SDL_AUDIO_DRIVER_ALSA_DYNAMIC "libasound.so.2"
icculus@1575
   156
/* #undef SDL_AUDIO_DRIVER_ARTS */
icculus@1575
   157
/* #undef SDL_AUDIO_DRIVER_ARTS_DYNAMIC */
icculus@1575
   158
/* #undef SDL_AUDIO_DRIVER_BAUDIO */
icculus@1575
   159
/* #undef SDL_AUDIO_DRIVER_BSD */
icculus@1575
   160
/* #undef SDL_AUDIO_DRIVER_COREAUDIO */
icculus@1575
   161
/* #undef SDL_AUDIO_DRIVER_DART */
icculus@1575
   162
/* #undef SDL_AUDIO_DRIVER_DC */
icculus@1575
   163
#define SDL_AUDIO_DRIVER_DISK 1
icculus@1575
   164
#define SDL_AUDIO_DRIVER_DUMMY 1
icculus@1575
   165
/* #undef SDL_AUDIO_DRIVER_DMEDIA */
icculus@1575
   166
/* #undef SDL_AUDIO_DRIVER_DSOUND */
icculus@1575
   167
/* #undef SDL_AUDIO_DRIVER_ESD */
icculus@1575
   168
/* #undef SDL_AUDIO_DRIVER_ESD_DYNAMIC */
icculus@1575
   169
/* #undef SDL_AUDIO_DRIVER_MINT */
icculus@1575
   170
/* #undef SDL_AUDIO_DRIVER_MMEAUDIO */
icculus@1575
   171
/* #undef SDL_AUDIO_DRIVER_NAS */
icculus@1575
   172
#define SDL_AUDIO_DRIVER_OSS 1
icculus@1575
   173
/* #undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H */
icculus@1575
   174
/* #undef SDL_AUDIO_DRIVER_PAUD */
icculus@1575
   175
/* #undef SDL_AUDIO_DRIVER_QNXNTO */
icculus@1575
   176
/* #undef SDL_AUDIO_DRIVER_SNDMGR */
icculus@1575
   177
/* #undef SDL_AUDIO_DRIVER_SUNAUDIO */
icculus@1575
   178
/* #undef SDL_AUDIO_DRIVER_WAVEOUT */
icculus@1532
   179
icculus@1575
   180
/* Enable various cdrom drivers */
icculus@1575
   181
/* #undef SDL_CDROM_AIX */
icculus@1575
   182
/* #undef SDL_CDROM_BEOS */
icculus@1575
   183
/* #undef SDL_CDROM_BSDI */
icculus@1575
   184
/* #undef SDL_CDROM_DC */
icculus@1575
   185
/* #undef SDL_CDROM_DUMMY */
icculus@1575
   186
/* #undef SDL_CDROM_FREEBSD */
icculus@1575
   187
#define SDL_CDROM_LINUX 1
icculus@1575
   188
/* #undef SDL_CDROM_MACOS */
icculus@1575
   189
/* #undef SDL_CDROM_MACOSX */
icculus@1575
   190
/* #undef SDL_CDROM_MINT */
icculus@1575
   191
/* #undef SDL_CDROM_OPENBSD */
icculus@1575
   192
/* #undef SDL_CDROM_OS2 */
icculus@1575
   193
/* #undef SDL_CDROM_OSF */
icculus@1575
   194
/* #undef SDL_CDROM_QNX */
icculus@1575
   195
/* #undef SDL_CDROM_WIN32 */
icculus@1532
   196
icculus@1575
   197
/* Enable various input drivers */
icculus@1575
   198
/* #undef SDL_INPUT_TSLIB */
icculus@1575
   199
/* #undef SDL_JOYSTICK_AMIGA */
icculus@1575
   200
/* #undef SDL_JOYSTICK_BEOS */
icculus@1575
   201
/* #undef SDL_JOYSTICK_DC */
icculus@1575
   202
/* #undef SDL_JOYSTICK_DUMMY */
icculus@1575
   203
/* #undef SDL_JOYSTICK_IOKIT */
icculus@1575
   204
#define SDL_JOYSTICK_LINUX 1
icculus@1575
   205
/* #undef SDL_JOYSTICK_LINUXEV */
icculus@1575
   206
/* #undef SDL_JOYSTICK_MACOS */
icculus@1575
   207
/* #undef SDL_JOYSTICK_MINT */
icculus@1575
   208
/* #undef SDL_JOYSTICK_OS2 */
icculus@1575
   209
/* #undef SDL_JOYSTICK_RISCOS */
icculus@1575
   210
/* #undef SDL_JOYSTICK_WINMM */
icculus@1575
   211
/* #undef SDL_JOYSTICK_USBHID */
icculus@1575
   212
/* #undef SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H */
icculus@1532
   213
icculus@1575
   214
/* Enable various shared object loading systems */
icculus@1575
   215
/* #undef SDL_LOADSO_BEOS */
icculus@1575
   216
/* #undef SDL_LOADSO_DLCOMPAT */
icculus@1575
   217
#define SDL_LOADSO_DLOPEN 1
icculus@1575
   218
/* #undef SDL_LOADSO_LDG */
icculus@1575
   219
/* #undef SDL_LOADSO_MACOS */
icculus@1575
   220
/* #undef SDL_LOADSO_OS2 */
icculus@1575
   221
/* #undef SDL_LOADSO_WIN32 */
icculus@1532
   222
icculus@1575
   223
/* Enable various threading systems */
icculus@1575
   224
/* #undef SDL_THREAD_AMIGA */
icculus@1575
   225
/* #undef SDL_THREAD_BEOS */
icculus@1575
   226
/* #undef SDL_THREAD_DC */
icculus@1575
   227
/* #undef SDL_THREAD_EPOC */
icculus@1575
   228
/* #undef SDL_THREAD_OS2 */
icculus@1575
   229
/* #undef SDL_THREAD_PTH */
icculus@1575
   230
#define SDL_THREAD_PTHREAD 1
icculus@1575
   231
#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
icculus@1575
   232
/* #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP */
icculus@1575
   233
/* #undef SDL_THREAD_SPROC */
icculus@1575
   234
/* #undef SDL_THREAD_WIN32 */
slouken@1424
   235
icculus@1575
   236
/* Enable various timer systems */
icculus@1575
   237
/* #undef SDL_TIMER_AMIGA */
icculus@1575
   238
/* #undef SDL_TIMER_BEOS */
icculus@1575
   239
/* #undef SDL_TIMER_DC */
icculus@1575
   240
/* #undef SDL_TIMER_EPOC */
icculus@1575
   241
/* #undef SDL_TIMER_MACOS */
icculus@1575
   242
/* #undef SDL_TIMER_MINT */
icculus@1575
   243
/* #undef SDL_TIMER_OS2 */
icculus@1575
   244
/* #undef SDL_TIMER_RISCOS */
icculus@1575
   245
#define SDL_TIMER_UNIX 1
icculus@1575
   246
/* #undef SDL_TIMER_WIN32 */
icculus@1575
   247
/* #undef SDL_TIMER_WINCE */
slouken@1424
   248
icculus@1575
   249
/* Enable various video drivers */
icculus@1575
   250
/* #undef SDL_VIDEO_DRIVER_AALIB */
icculus@1575
   251
/* #undef SDL_VIDEO_DRIVER_BWINDOW */
icculus@1575
   252
/* #undef SDL_VIDEO_DRIVER_CYBERGRAPHICS */
icculus@1575
   253
/* #undef SDL_VIDEO_DRIVER_DC */
icculus@1575
   254
/* #undef SDL_VIDEO_DRIVER_DDRAW */
icculus@1575
   255
#define SDL_VIDEO_DRIVER_DGA 1
icculus@1575
   256
/* #undef SDL_VIDEO_DRIVER_DIRECTFB */
icculus@1575
   257
/* #undef SDL_VIDEO_DRIVER_DRAWSPROCKET */
icculus@1575
   258
#define SDL_VIDEO_DRIVER_DUMMY 1
icculus@1575
   259
/* #undef SDL_VIDEO_DRIVER_EPOC */
icculus@1575
   260
#define SDL_VIDEO_DRIVER_FBCON 1
icculus@1575
   261
/* #undef SDL_VIDEO_DRIVER_GAPI */
icculus@1575
   262
/* #undef SDL_VIDEO_DRIVER_GEM */
icculus@1575
   263
/* #undef SDL_VIDEO_DRIVER_GGI */
icculus@1575
   264
/* #undef SDL_VIDEO_DRIVER_IPOD */
icculus@1575
   265
/* #undef SDL_VIDEO_DRIVER_NANOX */
icculus@1575
   266
/* #undef SDL_VIDEO_DRIVER_OS2FS */
icculus@1575
   267
/* #undef SDL_VIDEO_DRIVER_PHOTON */
icculus@1575
   268
/* #undef SDL_VIDEO_DRIVER_PICOGUI */
icculus@1575
   269
/* #undef SDL_VIDEO_DRIVER_PS2GS */
icculus@1575
   270
/* #undef SDL_VIDEO_DRIVER_QTOPIA */
icculus@1575
   271
/* #undef SDL_VIDEO_DRIVER_QUARTZ */
icculus@1575
   272
/* #undef SDL_VIDEO_DRIVER_RISCOS */
icculus@1575
   273
/* #undef SDL_VIDEO_DRIVER_SVGALIB */
icculus@1575
   274
/* #undef SDL_VIDEO_DRIVER_TOOLBOX */
icculus@1575
   275
/* #undef SDL_VIDEO_DRIVER_VGL */
icculus@1575
   276
/* #undef SDL_VIDEO_DRIVER_WINDIB */
icculus@1575
   277
/* #undef SDL_VIDEO_DRIVER_WSCONS */
icculus@1575
   278
#define SDL_VIDEO_DRIVER_X11 1
icculus@1575
   279
#define SDL_VIDEO_DRIVER_X11_DGAMOUSE 1
icculus@1575
   280
#define SDL_VIDEO_DRIVER_X11_DYNAMIC "libX11.so.6"
icculus@1575
   281
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "libXext.so.6"
icculus@1575
   282
#define SDL_VIDEO_DRIVER_X11_VIDMODE 1
icculus@1575
   283
#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
icculus@1575
   284
#define SDL_VIDEO_DRIVER_X11_XME 1
icculus@1575
   285
#define SDL_VIDEO_DRIVER_X11_XV 1
icculus@1575
   286
/* #undef SDL_VIDEO_DRIVER_XBIOS */
slouken@1484
   287
icculus@1575
   288
/* Enable OpenGL support */
icculus@1575
   289
#define SDL_VIDEO_OPENGL 1
icculus@1575
   290
#define SDL_VIDEO_OPENGL_GLX 1
icculus@1575
   291
/* #undef SDL_VIDEO_OPENGL_WGL */
icculus@1575
   292
/* #undef SDL_VIDEO_OPENGL_OSMESA */
icculus@1575
   293
/* #undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC */
slouken@1484
   294
icculus@1575
   295
/* Enable assembly routines */
icculus@1575
   296
#define SDL_ASSEMBLY_ROUTINES 1
icculus@1575
   297
/* #undef SDL_HERMES_BLITTERS */
icculus@1575
   298
/* #undef SDL_ALTIVEC_BLITTERS */
slouken@1361
   299
slouken@1361
   300
#endif /* _SDL_config_h */