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