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