Mercurial > sdl-ios-xcode
annotate include/SDL_config.h.in @ 4139:568c9b3c0167 SDL-1.2
* Added configure option --enable-screensaver, to allow enabling the screensaver by default.
* Use XResetScreenSaver() instead of disabling screensaver entirely.
Full discussion summary from Erik on the SDL mailing list:
Current behaviour
=================
SDL changes the user's display power management settings without
permission from the user and without telling the user.
The interface that it uses to do so is DPMSDisable/DPMSEnable, which
should only ever be used by configuration utilities like KControl, never
by normal application programs, let alone by the libraries that they
use. Using an interface that is not at all intended for what SDL tries
to achieve means that it will not work as it should. Firstly, the power
management is completely disabled during the whole lifetime of the SDL
program, not only when it should be. Secondly, it makes SDL
non-reentrant, meaning that things will break when multiple SDL programs
are clients of the same X server simultaneously. Thirdly, no cleanup
mechanism ensures that the setting is restored if the client does not do
that (for example if it crashes).
In addition to that, this interface is broken on xorg,
[http://bugs.freedesktop.org/show_bug.cgi?id=13962], so what SDL tries
to do does not work at all on that implementation of the X Window
System. (The reason that the DPMSEnable works in KControl is that it
calls DPMSSetTimeout immediately after,
[http://websvn.kde.org/tags/KDE/3.5.9/kdebase/kcontrol/energy/energy.cpp?annotate=774532#l343]).
The problems that the current behaviour causes
==============================================
1. Information leak. When the user is away, someone might see what the
user has on the display when the user counts on the screensaver
preventing this. This does not even require physical access to the
workstation, it is enough to see it from a distance.
2. Draining battery. An SDL program that runs on a laptop will quickly
drain the battery while the user is away. The system will soon shut down
and require recharging before being usable again, while it should in
fact have consumed very little energy if the user's settings would have
been obeyed.
3. Wasting energy. Even if battery issues are not considered, energy as
such is wasted.
4. Display wear. The display may be worn out.
The problems that the current behaviour tries to solve
======================================================
1. Preventing screensaver while playing movies.
Many SDL applications are media players. They have reasons to prevent
screensavers from being activated while a movie is being played. When a
user clicks on the play button it can be interpreted as saying "play
this movie, but do not turn off the display while playing it, because I
will watch it even though I do not interact with the system".
2. Preventing screensaver when some input bypasses X.
Sometimes SDL uses input from another source than the X server, so
that the X server is bypassed. This obviously breaks the screensaver
handling. SDL tries to work around that.
3. Preventing screensaver when all input bypasses X.
There is something called Direct Graphics Access mode, where a
program takes control of both the display and the input devices from the
X server. This obviously means that the X server can not handle the
screensaver alone, since screensaver handling depends on input handling.
SDL does not do what it should to help the X server to handle the
screensaver. Nor does SDL take care of screeensaver handling itself. SDL
simply disables the screensaver completely.
How the problems should be solved
=================================
The correct way for an application program to prevent the screensaver
under X is to call XResetScreenSaver. This was recently discovered and
implemented by the mplayer developers,
[http://svn.mplayerhq.hu/mplayer?view=rev&revision=25637]. SDL needs to
wrap this in an API call (SDL_ResetScreenSaver) and implement it for the
other video targets (if they do not have a corresponding call, SDL
should do what it takes on that particular target, for example sending
fake key events).
1. When a movie is played, the player should reset the screensaver when
the animation is advanced to a new frame. The same applies to anything
similar, like slideshows.
2. When the X server is handling input, it must handle all input
(keyboards, mice, gamepads, ...). This is necessary, not only to be able
to handle the screensaver, but also so that it can send the events to
the correct (the currently active) client. If there is an input device
that the X server can not handle for some reason (such as lack of Plug
and Play capability), the program that handles the device as a
workaround must simulate what would happen if the X server would have
handled the device, by calling XResetScreenSaver when input is received
from the device.
3. When the X server is not handling the input, it depends on the
program that does to call XResetScreenSaver whenever an input event
occurs. Alternatively the program must handle the screensaver countdown
internally and call XActivateScreenSaver.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 29 Feb 2008 13:55:44 +0000 |
parents | cd2ab40f1219 |
children | a1b03ba2fcd0 |
rev | line source |
---|---|
1341
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
1 /* |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
2 SDL - Simple DirectMedia Layer |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
3 Copyright (C) 1997-2006 Sam Lantinga |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
4 |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
5 This library is free software; you can redistribute it and/or |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
6 modify it under the terms of the GNU Lesser General Public |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
7 License as published by the Free Software Foundation; either |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
8 version 2.1 of the License, or (at your option) any later version. |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
9 |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
10 This library is distributed in the hope that it will be useful, |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
13 Lesser General Public License for more details. |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
14 |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
15 You should have received a copy of the GNU Lesser General Public |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
16 License along with this library; if not, write to the Free Software |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
18 |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
19 Sam Lantinga |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
20 slouken@libsdl.org |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
21 */ |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
22 |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
23 #ifndef _SDL_config_h |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
24 #define _SDL_config_h |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
25 |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
26 /* This is a set of defines to configure the SDL features */ |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
27 |
1402
d910939febfa
Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents:
1383
diff
changeset
|
28 /* General platform specific identifiers */ |
d910939febfa
Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents:
1383
diff
changeset
|
29 #include "SDL_platform.h" |
d910939febfa
Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents:
1383
diff
changeset
|
30 |
4050
ef815c44c662
Warn Visual C++ users if they have a stale configure generated SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
3975
diff
changeset
|
31 /* Make sure that this isn't included by Visual C++ */ |
ef815c44c662
Warn Visual C++ users if they have a stale configure generated SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
3975
diff
changeset
|
32 #ifdef _MSC_VER |
ef815c44c662
Warn Visual C++ users if they have a stale configure generated SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
3975
diff
changeset
|
33 #error You should copy include/SDL_config.h.default to include/SDL_config.h |
ef815c44c662
Warn Visual C++ users if they have a stale configure generated SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
3975
diff
changeset
|
34 #endif |
ef815c44c662
Warn Visual C++ users if they have a stale configure generated SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
3975
diff
changeset
|
35 |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
36 /* C language features */ |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
37 #undef const |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
38 #undef inline |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
39 #undef volatile |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
40 |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
41 /* C datatypes */ |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
42 #undef size_t |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
43 #undef int8_t |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
44 #undef uint8_t |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
45 #undef int16_t |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
46 #undef uint16_t |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
47 #undef int32_t |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
48 #undef uint32_t |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
49 #undef int64_t |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
50 #undef uint64_t |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
51 #undef uintptr_t |
1383 | 52 #undef SDL_HAS_64BIT_TYPE |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
53 |
1354
22f39393668a
Fixed build problem with SDL_string.c
Sam Lantinga <slouken@libsdl.org>
parents:
1353
diff
changeset
|
54 /* Endianness */ |
22f39393668a
Fixed build problem with SDL_string.c
Sam Lantinga <slouken@libsdl.org>
parents:
1353
diff
changeset
|
55 #undef SDL_BYTEORDER |
22f39393668a
Fixed build problem with SDL_string.c
Sam Lantinga <slouken@libsdl.org>
parents:
1353
diff
changeset
|
56 |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
57 /* Comment this if you want to build without any C library requirements */ |
1341
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
58 #undef HAVE_LIBC |
1402
d910939febfa
Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents:
1383
diff
changeset
|
59 #if HAVE_LIBC |
1341
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
60 |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
61 /* Useful headers */ |
1367
e440d5c488c1
Fixes for BeOS and Solaris builds
Sam Lantinga <slouken@libsdl.org>
parents:
1361
diff
changeset
|
62 #undef HAVE_ALLOCA_H |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
63 #undef HAVE_SYS_TYPES_H |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
64 #undef HAVE_STDIO_H |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
65 #undef STDC_HEADERS |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
66 #undef HAVE_STDLIB_H |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
67 #undef HAVE_STDARG_H |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
68 #undef HAVE_MALLOC_H |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
69 #undef HAVE_MEMORY_H |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
70 #undef HAVE_STRING_H |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
71 #undef HAVE_STRINGS_H |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
72 #undef HAVE_INTTYPES_H |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
73 #undef HAVE_STDINT_H |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
74 #undef HAVE_CTYPE_H |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
75 #undef HAVE_MATH_H |
1501
73dc5d39bbf8
Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
Sam Lantinga <slouken@libsdl.org>
parents:
1461
diff
changeset
|
76 #undef HAVE_ICONV_H |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
77 #undef HAVE_SIGNAL_H |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
78 #undef HAVE_ALTIVEC_H |
1341
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
79 |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
80 /* C library functions */ |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
81 #undef HAVE_MALLOC |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
82 #undef HAVE_CALLOC |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
83 #undef HAVE_REALLOC |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
84 #undef HAVE_FREE |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
85 #undef HAVE_ALLOCA |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
86 #ifndef _WIN32 /* Don't use C runtime versions of these on Windows */ |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
87 #undef HAVE_GETENV |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
88 #undef HAVE_PUTENV |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
89 #undef HAVE_UNSETENV |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
90 #endif |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
91 #undef HAVE_QSORT |
1341
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
92 #undef HAVE_ABS |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
93 #undef HAVE_BCOPY |
1341
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
94 #undef HAVE_MEMSET |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
95 #undef HAVE_MEMCPY |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
96 #undef HAVE_MEMMOVE |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
97 #undef HAVE_MEMCMP |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
98 #undef HAVE_STRLEN |
1379
c0a74f199ecf
Use only safe string functions
Sam Lantinga <slouken@libsdl.org>
parents:
1367
diff
changeset
|
99 #undef HAVE_STRLCPY |
c0a74f199ecf
Use only safe string functions
Sam Lantinga <slouken@libsdl.org>
parents:
1367
diff
changeset
|
100 #undef HAVE_STRLCAT |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
101 #undef HAVE_STRDUP |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
102 #undef HAVE__STRREV |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
103 #undef HAVE__STRUPR |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
104 #undef HAVE__STRLWR |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
105 #undef HAVE_INDEX |
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
106 #undef HAVE_RINDEX |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
107 #undef HAVE_STRCHR |
1341
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
108 #undef HAVE_STRRCHR |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
109 #undef HAVE_STRSTR |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
110 #undef HAVE_ITOA |
1341
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
111 #undef HAVE__LTOA |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
112 #undef HAVE__UITOA |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
113 #undef HAVE__ULTOA |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
114 #undef HAVE_STRTOL |
1461
11134dc42da8
Updated for Dreamcast KOS June 2005 snapshot:
Sam Lantinga <slouken@libsdl.org>
parents:
1402
diff
changeset
|
115 #undef HAVE_STRTOUL |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
116 #undef HAVE__I64TOA |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
117 #undef HAVE__UI64TOA |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
118 #undef HAVE_STRTOLL |
1461
11134dc42da8
Updated for Dreamcast KOS June 2005 snapshot:
Sam Lantinga <slouken@libsdl.org>
parents:
1402
diff
changeset
|
119 #undef HAVE_STRTOULL |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
120 #undef HAVE_STRTOD |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
121 #undef HAVE_ATOI |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
122 #undef HAVE_ATOF |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
123 #undef HAVE_STRCMP |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
124 #undef HAVE_STRNCMP |
1510 | 125 #undef HAVE__STRICMP |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
126 #undef HAVE_STRCASECMP |
1512 | 127 #undef HAVE__STRNICMP |
1501
73dc5d39bbf8
Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
Sam Lantinga <slouken@libsdl.org>
parents:
1461
diff
changeset
|
128 #undef HAVE_STRNCASECMP |
1352
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
129 #undef HAVE_SSCANF |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
130 #undef HAVE_SNPRINTF |
c643342f3f33
Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1347
diff
changeset
|
131 #undef HAVE_VSNPRINTF |
1501
73dc5d39bbf8
Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
Sam Lantinga <slouken@libsdl.org>
parents:
1461
diff
changeset
|
132 #undef HAVE_ICONV |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
133 #undef HAVE_SIGACTION |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
134 #undef HAVE_SETJMP |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
135 #undef HAVE_NANOSLEEP |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
136 #undef HAVE_CLOCK_GETTIME |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
137 #undef HAVE_DLVSYM |
3917
8a3a0f1179f3
Patched fbcon to compile on newer Linux kernels that don't #define PAGE_SIZE,
Ryan C. Gordon <icculus@icculus.org>
parents:
3889
diff
changeset
|
138 #undef HAVE_GETPAGESIZE |
4109
cd2ab40f1219
Made the mprotect() fix for SDL_SoftStretch() more general for hardened linux, etc.
Sam Lantinga <slouken@libsdl.org>
parents:
4095
diff
changeset
|
139 #undef HAVE_MPROTECT |
1341
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
140 |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
141 #else |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
142 /* We may need some replacement for stdarg.h here */ |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
143 #include <stdarg.h> |
1341
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
144 #endif /* HAVE_LIBC */ |
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
145 |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
146 /* Allow disabling of core subsystems */ |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
147 #undef SDL_AUDIO_DISABLED |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
148 #undef SDL_CDROM_DISABLED |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
149 #undef SDL_CPUINFO_DISABLED |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
150 #undef SDL_EVENTS_DISABLED |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
151 #undef SDL_FILE_DISABLED |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
152 #undef SDL_JOYSTICK_DISABLED |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
153 #undef SDL_LOADSO_DISABLED |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
154 #undef SDL_THREADS_DISABLED |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
155 #undef SDL_TIMERS_DISABLED |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
156 #undef SDL_VIDEO_DISABLED |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
157 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
158 /* Enable various audio drivers */ |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
159 #undef SDL_AUDIO_DRIVER_ALSA |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
160 #undef SDL_AUDIO_DRIVER_ALSA_DYNAMIC |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
161 #undef SDL_AUDIO_DRIVER_ARTS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
162 #undef SDL_AUDIO_DRIVER_ARTS_DYNAMIC |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
163 #undef SDL_AUDIO_DRIVER_BAUDIO |
1568
1f3f39f9cfcf
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1567
diff
changeset
|
164 #undef SDL_AUDIO_DRIVER_BSD |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
165 #undef SDL_AUDIO_DRIVER_COREAUDIO |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
166 #undef SDL_AUDIO_DRIVER_DART |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
167 #undef SDL_AUDIO_DRIVER_DC |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
168 #undef SDL_AUDIO_DRIVER_DISK |
1532
30f189cdd82b
Implemented dummy audio driver.
Ryan C. Gordon <icculus@icculus.org>
parents:
1512
diff
changeset
|
169 #undef SDL_AUDIO_DRIVER_DUMMY |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
170 #undef SDL_AUDIO_DRIVER_DMEDIA |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
171 #undef SDL_AUDIO_DRIVER_DSOUND |
3939
42e83d81224b
Committed PulseAudio driver. Thanks, Stephan!
Ryan C. Gordon <icculus@icculus.org>
parents:
3917
diff
changeset
|
172 #undef SDL_AUDIO_DRIVER_PULSE |
42e83d81224b
Committed PulseAudio driver. Thanks, Stephan!
Ryan C. Gordon <icculus@icculus.org>
parents:
3917
diff
changeset
|
173 #undef SDL_AUDIO_DRIVER_PULSE_DYNAMIC |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
174 #undef SDL_AUDIO_DRIVER_ESD |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
175 #undef SDL_AUDIO_DRIVER_ESD_DYNAMIC |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
176 #undef SDL_AUDIO_DRIVER_MINT |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
177 #undef SDL_AUDIO_DRIVER_MMEAUDIO |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
178 #undef SDL_AUDIO_DRIVER_NAS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
179 #undef SDL_AUDIO_DRIVER_OSS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
180 #undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
181 #undef SDL_AUDIO_DRIVER_PAUD |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
182 #undef SDL_AUDIO_DRIVER_QNXNTO |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
183 #undef SDL_AUDIO_DRIVER_SNDMGR |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
184 #undef SDL_AUDIO_DRIVER_SUNAUDIO |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
185 #undef SDL_AUDIO_DRIVER_WAVEOUT |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
186 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
187 /* Enable various cdrom drivers */ |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
188 #undef SDL_CDROM_AIX |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
189 #undef SDL_CDROM_BEOS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
190 #undef SDL_CDROM_BSDI |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
191 #undef SDL_CDROM_DC |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
192 #undef SDL_CDROM_DUMMY |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
193 #undef SDL_CDROM_FREEBSD |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
194 #undef SDL_CDROM_LINUX |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
195 #undef SDL_CDROM_MACOS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
196 #undef SDL_CDROM_MACOSX |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
197 #undef SDL_CDROM_MINT |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
198 #undef SDL_CDROM_OPENBSD |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
199 #undef SDL_CDROM_OS2 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
200 #undef SDL_CDROM_OSF |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
201 #undef SDL_CDROM_QNX |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
202 #undef SDL_CDROM_WIN32 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
203 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
204 /* Enable various input drivers */ |
4095
f733c048a94f
Date: Mon, 24 Sep 2007 17:54:58 +0200
Ryan C. Gordon <icculus@icculus.org>
parents:
4050
diff
changeset
|
205 #undef SDL_INPUT_LINUXEV |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
206 #undef SDL_INPUT_TSLIB |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
207 #undef SDL_JOYSTICK_BEOS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
208 #undef SDL_JOYSTICK_DC |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
209 #undef SDL_JOYSTICK_DUMMY |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
210 #undef SDL_JOYSTICK_IOKIT |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
211 #undef SDL_JOYSTICK_LINUX |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
212 #undef SDL_JOYSTICK_MACOS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
213 #undef SDL_JOYSTICK_MINT |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
214 #undef SDL_JOYSTICK_OS2 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
215 #undef SDL_JOYSTICK_RISCOS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
216 #undef SDL_JOYSTICK_WINMM |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
217 #undef SDL_JOYSTICK_USBHID |
1565 | 218 #undef SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
219 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
220 /* Enable various shared object loading systems */ |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
221 #undef SDL_LOADSO_BEOS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
222 #undef SDL_LOADSO_DLCOMPAT |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
223 #undef SDL_LOADSO_DLOPEN |
1635
92947e3a18db
Make sure code is only compiled if the appropriate subsystem is enabled
Sam Lantinga <slouken@libsdl.org>
parents:
1589
diff
changeset
|
224 #undef SDL_LOADSO_DUMMY |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
225 #undef SDL_LOADSO_LDG |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
226 #undef SDL_LOADSO_MACOS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
227 #undef SDL_LOADSO_OS2 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
228 #undef SDL_LOADSO_WIN32 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
229 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
230 /* Enable various threading systems */ |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
231 #undef SDL_THREAD_BEOS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
232 #undef SDL_THREAD_DC |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
233 #undef SDL_THREAD_OS2 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
234 #undef SDL_THREAD_PTH |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
235 #undef SDL_THREAD_PTHREAD |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
236 #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
237 #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
238 #undef SDL_THREAD_SPROC |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
239 #undef SDL_THREAD_WIN32 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
240 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
241 /* Enable various timer systems */ |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
242 #undef SDL_TIMER_BEOS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
243 #undef SDL_TIMER_DC |
1635
92947e3a18db
Make sure code is only compiled if the appropriate subsystem is enabled
Sam Lantinga <slouken@libsdl.org>
parents:
1589
diff
changeset
|
244 #undef SDL_TIMER_DUMMY |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
245 #undef SDL_TIMER_MACOS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
246 #undef SDL_TIMER_MINT |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
247 #undef SDL_TIMER_OS2 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
248 #undef SDL_TIMER_RISCOS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
249 #undef SDL_TIMER_UNIX |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
250 #undef SDL_TIMER_WIN32 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
251 #undef SDL_TIMER_WINCE |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
252 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
253 /* Enable various video drivers */ |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
254 #undef SDL_VIDEO_DRIVER_AALIB |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
255 #undef SDL_VIDEO_DRIVER_BWINDOW |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
256 #undef SDL_VIDEO_DRIVER_DC |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
257 #undef SDL_VIDEO_DRIVER_DDRAW |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
258 #undef SDL_VIDEO_DRIVER_DGA |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
259 #undef SDL_VIDEO_DRIVER_DIRECTFB |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
260 #undef SDL_VIDEO_DRIVER_DRAWSPROCKET |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
261 #undef SDL_VIDEO_DRIVER_DUMMY |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
262 #undef SDL_VIDEO_DRIVER_FBCON |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
263 #undef SDL_VIDEO_DRIVER_GAPI |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
264 #undef SDL_VIDEO_DRIVER_GEM |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
265 #undef SDL_VIDEO_DRIVER_GGI |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
266 #undef SDL_VIDEO_DRIVER_IPOD |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
267 #undef SDL_VIDEO_DRIVER_NANOX |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
268 #undef SDL_VIDEO_DRIVER_OS2FS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
269 #undef SDL_VIDEO_DRIVER_PHOTON |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
270 #undef SDL_VIDEO_DRIVER_PICOGUI |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
271 #undef SDL_VIDEO_DRIVER_PS2GS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
272 #undef SDL_VIDEO_DRIVER_QTOPIA |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
273 #undef SDL_VIDEO_DRIVER_QUARTZ |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
274 #undef SDL_VIDEO_DRIVER_RISCOS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
275 #undef SDL_VIDEO_DRIVER_SVGALIB |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
276 #undef SDL_VIDEO_DRIVER_TOOLBOX |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
277 #undef SDL_VIDEO_DRIVER_VGL |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
278 #undef SDL_VIDEO_DRIVER_WINDIB |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
279 #undef SDL_VIDEO_DRIVER_WSCONS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
280 #undef SDL_VIDEO_DRIVER_X11 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
281 #undef SDL_VIDEO_DRIVER_X11_DGAMOUSE |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
282 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
283 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT |
1589
34cca785be57
Xrandr support in the X11 target.
Ryan C. Gordon <icculus@icculus.org>
parents:
1568
diff
changeset
|
284 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR |
34cca785be57
Xrandr support in the X11 target.
Ryan C. Gordon <icculus@icculus.org>
parents:
1568
diff
changeset
|
285 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
286 #undef SDL_VIDEO_DRIVER_X11_VIDMODE |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
287 #undef SDL_VIDEO_DRIVER_X11_XINERAMA |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
288 #undef SDL_VIDEO_DRIVER_X11_XME |
1589
34cca785be57
Xrandr support in the X11 target.
Ryan C. Gordon <icculus@icculus.org>
parents:
1568
diff
changeset
|
289 #undef SDL_VIDEO_DRIVER_X11_XRANDR |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
290 #undef SDL_VIDEO_DRIVER_X11_XV |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
291 #undef SDL_VIDEO_DRIVER_XBIOS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
292 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
293 /* Enable OpenGL support */ |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
294 #undef SDL_VIDEO_OPENGL |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
295 #undef SDL_VIDEO_OPENGL_GLX |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
296 #undef SDL_VIDEO_OPENGL_WGL |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
297 #undef SDL_VIDEO_OPENGL_OSMESA |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
298 #undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
299 |
4139
568c9b3c0167
* Added configure option --enable-screensaver, to allow enabling the screensaver by default.
Sam Lantinga <slouken@libsdl.org>
parents:
4109
diff
changeset
|
300 /* Disable screensaver */ |
568c9b3c0167
* Added configure option --enable-screensaver, to allow enabling the screensaver by default.
Sam Lantinga <slouken@libsdl.org>
parents:
4109
diff
changeset
|
301 #undef SDL_VIDEO_DISABLE_SCREENSAVER |
568c9b3c0167
* Added configure option --enable-screensaver, to allow enabling the screensaver by default.
Sam Lantinga <slouken@libsdl.org>
parents:
4109
diff
changeset
|
302 |
1402
d910939febfa
Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents:
1383
diff
changeset
|
303 /* Enable assembly routines */ |
d910939febfa
Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents:
1383
diff
changeset
|
304 #undef SDL_ASSEMBLY_ROUTINES |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
305 #undef SDL_HERMES_BLITTERS |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1354
diff
changeset
|
306 #undef SDL_ALTIVEC_BLITTERS |
1353
7ba544e2888d
Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents:
1352
diff
changeset
|
307 |
1341
d02b552e5304
Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
308 #endif /* _SDL_config_h */ |