comparison include/SDL_config.h.in @ 1341:d02b552e5304

Configure dynamically generates SDL_config.h I'm still wrestling with autoheader, but this should work for now... Fixed lots of build problems with C library support disabled
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Feb 2006 12:11:33 +0000
parents
children 905dc98a40fa
comparison
equal deleted inserted replaced
1340:58b114ef50e7 1341:d02b552e5304
1 /* include/SDL_config.h.in. Generated from configure.in by autoheader. */
2
3 /*
4 SDL - Simple DirectMedia Layer
5 Copyright (C) 1997-2006 Sam Lantinga
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
21 Sam Lantinga
22 slouken@libsdl.org
23 */
24
25 #ifndef _SDL_config_h
26 #define _SDL_config_h
27
28 /* This is a set of defines to configure the SDL features */
29
30 /* Comment this if you want to build without any libc requirements */
31 #undef HAVE_LIBC
32 #ifdef HAVE_LIBC
33
34
35
36 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
37 systems. This function is required for `alloca.c' support on those systems.
38 */
39 #undef CRAY_STACKSEG_END
40
41 /* Define to 1 if using `alloca.c'. */
42 #undef C_ALLOCA
43
44 /* Define to 1 if you have the `abs' function. */
45 #undef HAVE_ABS
46
47 /* Define to 1 if you have `alloca', as a function or macro. */
48 #undef HAVE_ALLOCA
49
50 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
51 */
52 #undef HAVE_ALLOCA_H
53
54 /* Define to 1 if you have the `atof' function. */
55 #undef HAVE_ATOF
56
57 /* Define to 1 if you have the `atoi' function. */
58 #undef HAVE_ATOI
59
60 /* Define to 1 if you have the `calloc' function. */
61 #undef HAVE_CALLOC
62
63 /* Define to 1 if you have the <ctype.h> header file. */
64 #undef HAVE_CTYPE_H
65
66 /* Define to 1 if you have the <dlfcn.h> header file. */
67 #undef HAVE_DLFCN_H
68
69 /* Define to 1 if you have the `free' function. */
70 #undef HAVE_FREE
71
72 /* Define to 1 if you have the `getenv' function. */
73 #undef HAVE_GETENV
74
75 /* Define to 1 if you have the <inttypes.h> header file. */
76 #undef HAVE_INTTYPES_H
77
78 /* Define to 1 if you have the `itoa' function. */
79 #undef HAVE_ITOA
80
81 /* Define to 1 if you have the `asound' library (-lasound). */
82 #undef HAVE_LIBASOUND
83
84 /* Define to 1 if you have the `malloc' function. */
85 #undef HAVE_MALLOC
86
87 /* Define to 1 if you have the <malloc.h> header file. */
88 #undef HAVE_MALLOC_H
89
90 /* Define to 1 if you have the `memcmp' function. */
91 #undef HAVE_MEMCMP
92
93 /* Define to 1 if you have the `memcpy' function. */
94 #undef HAVE_MEMCPY
95
96 /* Define to 1 if you have the `memmove' function. */
97 #undef HAVE_MEMMOVE
98
99 /* Define to 1 if you have the <memory.h> header file. */
100 #undef HAVE_MEMORY_H
101
102 /* Define to 1 if you have the `memset' function. */
103 #undef HAVE_MEMSET
104
105 /* Define to 1 if you have the `putenv' function. */
106 #undef HAVE_PUTENV
107
108 /* Define to 1 if you have the `qsort' function. */
109 #undef HAVE_QSORT
110
111 /* Define to 1 if you have the `realloc' function. */
112 #undef HAVE_REALLOC
113
114 /* Define to 1 if you have the <signal.h> header file. */
115 #undef HAVE_SIGNAL_H
116
117 /* Define to 1 if you have the `snprintf' function. */
118 #undef HAVE_SNPRINTF
119
120 /* Define to 1 if you have the `sscanf' function. */
121 #undef HAVE_SSCANF
122
123 /* Define to 1 if you have the <stdarg.h> header file. */
124 #undef HAVE_STDARG_H
125
126 /* Define to 1 if you have the <stdint.h> header file. */
127 #undef HAVE_STDINT_H
128
129 /* Define to 1 if you have the <stdio.h> header file. */
130 #undef HAVE_STDIO_H
131
132 /* Define to 1 if you have the <stdlib.h> header file. */
133 #undef HAVE_STDLIB_H
134
135 /* Define to 1 if you have the `strcasecmp' function. */
136 #undef HAVE_STRCASECMP
137
138 /* Define to 1 if you have the `strcat' function. */
139 #undef HAVE_STRCAT
140
141 /* Define to 1 if you have the `strchr' function. */
142 #undef HAVE_STRCHR
143
144 /* Define to 1 if you have the `strcmp' function. */
145 #undef HAVE_STRCMP
146
147 /* Define to 1 if you have the `strcpy' function. */
148 #undef HAVE_STRCPY
149
150 /* Define to 1 if you have the `strdup' function. */
151 #undef HAVE_STRDUP
152
153 /* Define to 1 if you have the `stricmp' function. */
154 #undef HAVE_STRICMP
155
156 /* Define to 1 if you have the <strings.h> header file. */
157 #undef HAVE_STRINGS_H
158
159 /* Define to 1 if you have the <string.h> header file. */
160 #undef HAVE_STRING_H
161
162 /* Define to 1 if you have the `strlen' function. */
163 #undef HAVE_STRLEN
164
165 /* Define to 1 if you have the `strncat' function. */
166 #undef HAVE_STRNCAT
167
168 /* Define to 1 if you have the `strncmp' function. */
169 #undef HAVE_STRNCMP
170
171 /* Define to 1 if you have the `strncpy' function. */
172 #undef HAVE_STRNCPY
173
174 /* Define to 1 if you have the `strrchr' function. */
175 #undef HAVE_STRRCHR
176
177 /* Define to 1 if you have the `strstr' function. */
178 #undef HAVE_STRSTR
179
180 /* Define to 1 if you have the `strtol' function. */
181 #undef HAVE_STRTOL
182
183 /* Define to 1 if you have the `strtoll' function. */
184 #undef HAVE_STRTOLL
185
186 /* Define to 1 if you have the <sys/stat.h> header file. */
187 #undef HAVE_SYS_STAT_H
188
189 /* Define to 1 if you have the <sys/types.h> header file. */
190 #undef HAVE_SYS_TYPES_H
191
192 /* Define to 1 if you have the <unistd.h> header file. */
193 #undef HAVE_UNISTD_H
194
195 /* Define to 1 if you have the `vsnprintf' function. */
196 #undef HAVE_VSNPRINTF
197
198 /* Define to 1 if you have the `_i64toa' function. */
199 #undef HAVE__I64TOA
200
201 /* Define to 1 if you have the `_ltoa' function. */
202 #undef HAVE__LTOA
203
204 /* Define to 1 if you have the `_strlwr' function. */
205 #undef HAVE__STRLWR
206
207 /* Define to 1 if you have the `_strrev' function. */
208 #undef HAVE__STRREV
209
210 /* Define to 1 if you have the `_strupr' function. */
211 #undef HAVE__STRUPR
212
213 /* Define to 1 if you have the `_ui64toa' function. */
214 #undef HAVE__UI64TOA
215
216 /* Define to 1 if you have the `_uitoa' function. */
217 #undef HAVE__UITOA
218
219 /* Define to 1 if you have the `_ultoa' function. */
220 #undef HAVE__ULTOA
221
222 /* Name of package */
223 #undef PACKAGE
224
225 /* Define to the address where bug reports for this package should be sent. */
226 #undef PACKAGE_BUGREPORT
227
228 /* Define to the full name of this package. */
229 #undef PACKAGE_NAME
230
231 /* Define to the full name and version of this package. */
232 #undef PACKAGE_STRING
233
234 /* Define to the one symbol short name of this package. */
235 #undef PACKAGE_TARNAME
236
237 /* Define to the version of this package. */
238 #undef PACKAGE_VERSION
239
240 /* The size of a `char', as computed by sizeof. */
241 #undef SIZEOF_CHAR
242
243 /* The size of a `int', as computed by sizeof. */
244 #undef SIZEOF_INT
245
246 /* The size of a `long', as computed by sizeof. */
247 #undef SIZEOF_LONG
248
249 /* The size of a `long long', as computed by sizeof. */
250 #undef SIZEOF_LONG_LONG
251
252 /* The size of a `short', as computed by sizeof. */
253 #undef SIZEOF_SHORT
254
255 /* If using the C implementation of alloca, define if you know the
256 direction of stack growth for your system; otherwise it will be
257 automatically deduced at run-time.
258 STACK_DIRECTION > 0 => grows toward higher addresses
259 STACK_DIRECTION < 0 => grows toward lower addresses
260 STACK_DIRECTION = 0 => direction of growth unknown */
261 #undef STACK_DIRECTION
262
263 /* Define to 1 if you have the ANSI C header files. */
264 #undef STDC_HEADERS
265
266 /* Version number of package */
267 #undef VERSION
268
269 /* Define to 1 if the X Window System is missing or not being used. */
270 #undef X_DISPLAY_MISSING
271
272 /* Define to empty if `const' does not conform to ANSI C. */
273 #undef const
274
275 /* Define to `__inline__' or `__inline' if that's what the C compiler
276 calls it, or to nothing if 'inline' is not supported under any name. */
277 #ifndef __cplusplus
278 #undef inline
279 #endif
280
281 /* Define to `unsigned' if <sys/types.h> does not define. */
282 #undef size_t
283
284
285
286 #endif /* HAVE_LIBC */
287
288 #endif /* _SDL_config_h */
289