premake/Linux/SDL_config_premake.h
changeset 7925 f090a47eb7f7
child 8089 de8b6fdf6544
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/premake/Linux/SDL_config_premake.h	Sun Nov 10 00:38:37 2013 -0500
     1.3 @@ -0,0 +1,311 @@
     1.4 +/* include/SDL_config.h.  Generated from SDL_config.h.in by configure.  */
     1.5 +/*
     1.6 +  Simple DirectMedia Layer
     1.7 +  Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
     1.8 +
     1.9 +  This software is provided 'as-is', without any express or implied
    1.10 +  warranty.  In no event will the authors be held liable for any damages
    1.11 +  arising from the use of this software.
    1.12 +
    1.13 +  Permission is granted to anyone to use this software for any purpose,
    1.14 +  including commercial applications, and to alter it and redistribute it
    1.15 +  freely, subject to the following restrictions:
    1.16 +
    1.17 +  1. The origin of this software must not be misrepresented; you must not
    1.18 +     claim that you wrote the original software. If you use this software
    1.19 +     in a product, an acknowledgment in the product documentation would be
    1.20 +     appreciated but is not required.
    1.21 +  2. Altered source versions must be plainly marked as such, and must not be
    1.22 +     misrepresented as being the original software.
    1.23 +  3. This notice may not be removed or altered from any source distribution.
    1.24 +*/
    1.25 +
    1.26 +#ifndef _SDL_config_linux_h
    1.27 +#define _SDL_config_linux_h
    1.28 +
    1.29 +/**
    1.30 + *  \file SDL_config.h.in
    1.31 + *
    1.32 + *  This is a set of defines to configure the SDL features
    1.33 + */
    1.34 +
    1.35 +/* General platform specific identifiers */
    1.36 +#include "SDL_platform.h"
    1.37 +
    1.38 +/* Make sure that this isn't included by Visual C++ */
    1.39 +#ifdef _MSC_VER
    1.40 +#error You should run hg revert SDL_config.h 
    1.41 +#endif
    1.42 +
    1.43 +/* C language features */
    1.44 +/* #undef const */
    1.45 +/* #undef inline */
    1.46 +/* #undef volatile */
    1.47 +
    1.48 +/* C datatypes */
    1.49 +#ifdef __LP64__
    1.50 +#define SIZEOF_VOIDP 8
    1.51 +#else
    1.52 +#define SIZEOF_VOIDP 4
    1.53 +#endif
    1.54 +#define HAVE_GCC_ATOMICS 1
    1.55 +/* #undef HAVE_GCC_SYNC_LOCK_TEST_AND_SET */
    1.56 +#define HAVE_PTHREAD_SPINLOCK 1
    1.57 +
    1.58 +/* Comment this if you want to build without any C library requirements */
    1.59 +#define HAVE_LIBC 1
    1.60 +#if HAVE_LIBC
    1.61 +
    1.62 +/* Useful headers */
    1.63 +#define HAVE_ALLOCA_H 1
    1.64 +#define HAVE_SYS_TYPES_H 1
    1.65 +#define HAVE_STDIO_H 1
    1.66 +#define STDC_HEADERS 1
    1.67 +#define HAVE_STDLIB_H 1
    1.68 +#define HAVE_STDARG_H 1
    1.69 +#define HAVE_MALLOC_H 1
    1.70 +#define HAVE_MEMORY_H 1
    1.71 +#define HAVE_STRING_H 1
    1.72 +#define HAVE_STRINGS_H 1
    1.73 +#define HAVE_INTTYPES_H 1
    1.74 +#define HAVE_STDINT_H 1
    1.75 +#define HAVE_CTYPE_H 1
    1.76 +#define HAVE_MATH_H 1
    1.77 +#define HAVE_ICONV_H 1
    1.78 +#define HAVE_SIGNAL_H 1
    1.79 +/* #undef HAVE_ALTIVEC_H */
    1.80 +/* #undef HAVE_PTHREAD_NP_H */
    1.81 +/* #undef HAVE_LIBUDEV_H */
    1.82 +#define HAVE_DBUS_DBUS_H 1
    1.83 +
    1.84 +/* C library functions */
    1.85 +#define HAVE_MALLOC 1
    1.86 +#define HAVE_CALLOC 1
    1.87 +#define HAVE_REALLOC 1
    1.88 +#define HAVE_FREE 1
    1.89 +#define HAVE_ALLOCA 1
    1.90 +#ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
    1.91 +#define HAVE_GETENV 1
    1.92 +#define HAVE_SETENV 1
    1.93 +#define HAVE_PUTENV 1
    1.94 +#define HAVE_UNSETENV 1
    1.95 +#endif
    1.96 +#define HAVE_QSORT 1
    1.97 +#define HAVE_ABS 1
    1.98 +#define HAVE_BCOPY 1
    1.99 +#define HAVE_MEMSET 1
   1.100 +#define HAVE_MEMCPY 1
   1.101 +#define HAVE_MEMMOVE 1
   1.102 +#define HAVE_MEMCMP 1
   1.103 +#define HAVE_STRLEN 1
   1.104 +/* #undef HAVE_STRLCPY */
   1.105 +/* #undef HAVE_STRLCAT */
   1.106 +#define HAVE_STRDUP 1
   1.107 +/* #undef HAVE__STRREV */
   1.108 +/* #undef HAVE__STRUPR */
   1.109 +/* #undef HAVE__STRLWR */
   1.110 +/* #undef HAVE_INDEX */
   1.111 +/* #undef HAVE_RINDEX */
   1.112 +#define HAVE_STRCHR 1
   1.113 +#define HAVE_STRRCHR 1
   1.114 +#define HAVE_STRSTR 1
   1.115 +/* #undef HAVE_ITOA */
   1.116 +/* #undef HAVE__LTOA */
   1.117 +/* #undef HAVE__UITOA */
   1.118 +/* #undef HAVE__ULTOA */
   1.119 +#define HAVE_STRTOL 1
   1.120 +#define HAVE_STRTOUL 1
   1.121 +/* #undef HAVE__I64TOA */
   1.122 +/* #undef HAVE__UI64TOA */
   1.123 +#define HAVE_STRTOLL 1
   1.124 +#define HAVE_STRTOULL 1
   1.125 +#define HAVE_STRTOD 1
   1.126 +#define HAVE_ATOI 1
   1.127 +#define HAVE_ATOF 1
   1.128 +#define HAVE_STRCMP 1
   1.129 +#define HAVE_STRNCMP 1
   1.130 +/* #undef HAVE__STRICMP */
   1.131 +#define HAVE_STRCASECMP 1
   1.132 +/* #undef HAVE__STRNICMP */
   1.133 +#define HAVE_STRNCASECMP 1
   1.134 +#define HAVE_SSCANF 1
   1.135 +#define HAVE_SNPRINTF 1
   1.136 +#define HAVE_VSNPRINTF 1
   1.137 +#define HAVE_M_PI /**/
   1.138 +#define HAVE_ATAN 1
   1.139 +#define HAVE_ATAN2 1
   1.140 +#define HAVE_CEIL 1
   1.141 +#define HAVE_COPYSIGN 1
   1.142 +#define HAVE_COS 1
   1.143 +#define HAVE_COSF 1
   1.144 +#define HAVE_FABS 1
   1.145 +#define HAVE_FLOOR 1
   1.146 +#define HAVE_LOG 1
   1.147 +#define HAVE_POW 1
   1.148 +#define HAVE_SCALBN 1
   1.149 +#define HAVE_SIN 1
   1.150 +#define HAVE_SINF 1
   1.151 +#define HAVE_SQRT 1
   1.152 +#define HAVE_FSEEKO 1
   1.153 +#define HAVE_FSEEKO64 1
   1.154 +#define HAVE_SIGACTION 1
   1.155 +#define HAVE_SA_SIGACTION 1
   1.156 +#define HAVE_SETJMP 1
   1.157 +#define HAVE_NANOSLEEP 1
   1.158 +#define HAVE_SYSCONF 1
   1.159 +/* #undef HAVE_SYSCTLBYNAME */
   1.160 +#define HAVE_CLOCK_GETTIME 1
   1.161 +/* #undef HAVE_GETPAGESIZE */
   1.162 +#define HAVE_MPROTECT 1
   1.163 +#define HAVE_ICONV 1
   1.164 +#define HAVE_PTHREAD_SETNAME_NP 1
   1.165 +/* #undef HAVE_PTHREAD_SET_NAME_NP */
   1.166 +#define HAVE_SEM_TIMEDWAIT 1
   1.167 +
   1.168 +#else
   1.169 +#define HAVE_STDARG_H 1
   1.170 +#define HAVE_STDDEF_H 1
   1.171 +#define HAVE_STDINT_H 1
   1.172 +#endif /* HAVE_LIBC */
   1.173 +
   1.174 +/* SDL internal assertion support */
   1.175 +/* #undef SDL_DEFAULT_ASSERT_LEVEL */
   1.176 +
   1.177 +#ifndef SDL_AUDIO_DRIVER_DUMMY
   1.178 +#define SDL_AUDIO_DRIVER_DUMMY 1
   1.179 +#endif
   1.180 +#ifndef SDL_AUDIO_DRIVER_DISK
   1.181 +#define SDL_AUDIO_DRIVER_DISK 1
   1.182 +#endif
   1.183 +#ifndef SDL_VIDEO_DRIVER_DUMMY
   1.184 +#define SDL_VIDEO_DRIVER_DUMMY 1
   1.185 +#endif
   1.186 +#ifndef SDL_VIDEO_RENDER_OGL
   1.187 +#define SDL_VIDEO_RENDER_OGL 1
   1.188 +#endif
   1.189 +#ifndef SDL_VIDEO_OPENGL
   1.190 +#define SDL_VIDEO_OPENGL 1
   1.191 +#endif
   1.192 +#ifndef SDL_VIDEO_OPENGL_GLX
   1.193 +#define SDL_VIDEO_OPENGL_GLX 1
   1.194 +#endif
   1.195 +#ifndef SDL_LOADSO_DLOPEN
   1.196 +#define SDL_LOADSO_DLOPEN 1
   1.197 +#endif
   1.198 +#ifndef SDL_AUDIO_DRIVER_ALSA
   1.199 +#define SDL_AUDIO_DRIVER_ALSA 1
   1.200 +#endif
   1.201 +#ifndef SDL_AUDIO_DRIVER_ALSA_DYNAMIC
   1.202 +#define SDL_AUDIO_DRIVER_ALSA_DYNAMIC "libasound.so"
   1.203 +#endif
   1.204 +#ifndef SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC
   1.205 +#define SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC "libpulse-simple.so"
   1.206 +#endif
   1.207 +#ifndef SDL_AUDIO_DRIVER_PULSEAUDIO
   1.208 +#define SDL_AUDIO_DRIVER_PULSEAUDIO 1
   1.209 +#endif
   1.210 +#ifndef SDL_AUDIO_DRIVER_ESD
   1.211 +#define SDL_AUDIO_DRIVER_ESD 1
   1.212 +#endif
   1.213 +#ifndef SDL_AUDIO_DRIVER_ESD_DYNAMIC
   1.214 +#define SDL_AUDIO_DRIVER_ESD_DYNAMIC "libesd.so"
   1.215 +#endif
   1.216 +#ifndef SDL_AUDIO_DRIVER_NAS
   1.217 +#define SDL_AUDIO_DRIVER_NAS 1
   1.218 +#endif
   1.219 +#ifndef SDL_AUDIO_DRIVER_NAS_DYNAMIC
   1.220 +#define SDL_AUDIO_DRIVER_NAS_DYNAMIC "libaudio.so"
   1.221 +#endif
   1.222 +#ifndef SDL_AUDIO_DRIVER_OSS
   1.223 +#define SDL_AUDIO_DRIVER_OSS 1
   1.224 +#endif
   1.225 +#ifndef SDL_VIDEO_DRIVER_X11_XINERAMA
   1.226 +#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
   1.227 +#endif
   1.228 +#ifndef SDL_VIDEO_DRIVER_X11
   1.229 +#define SDL_VIDEO_DRIVER_X11 1
   1.230 +#endif
   1.231 +#ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT
   1.232 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "libXext.so"
   1.233 +#endif
   1.234 +#ifndef SDL_VIDEO_DRIVER_X11_XCURSOR
   1.235 +#define SDL_VIDEO_DRIVER_X11_XCURSOR 1
   1.236 +#endif
   1.237 +#ifndef SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
   1.238 +#define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1
   1.239 +#endif
   1.240 +#ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2
   1.241 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "libXi.so"
   1.242 +#endif
   1.243 +#ifndef SDL_VIDEO_DRIVER_X11_XVIDMODE
   1.244 +#define SDL_VIDEO_DRIVER_X11_XVIDMODE 1
   1.245 +#endif
   1.246 +#ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA
   1.247 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "libXinerama.so"
   1.248 +#endif
   1.249 +#ifndef SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY
   1.250 +#define SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY 1
   1.251 +#endif
   1.252 +#ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC
   1.253 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC "libX11.so"
   1.254 +#endif
   1.255 +#ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS
   1.256 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "libXss.so"
   1.257 +#endif
   1.258 +#ifndef SDL_VIDEO_DRIVER_X11_XINPUT2
   1.259 +#define SDL_VIDEO_DRIVER_X11_XINPUT2 1
   1.260 +#endif
   1.261 +#ifndef SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS
   1.262 +#define SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1
   1.263 +#endif
   1.264 +#ifndef SDL_VIDEO_DRIVER_X11_XSCRNSAVER
   1.265 +#define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
   1.266 +#endif
   1.267 +#ifndef SDL_VIDEO_DRIVER_X11_XSHAPE
   1.268 +#define SDL_VIDEO_DRIVER_X11_XSHAPE 1
   1.269 +#endif
   1.270 +#ifndef SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
   1.271 +#define SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH 1
   1.272 +#endif
   1.273 +#ifndef SDL_VIDEO_DRIVER_X11_XRANDR
   1.274 +#define SDL_VIDEO_DRIVER_X11_XRANDR 1
   1.275 +#endif
   1.276 +#ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE
   1.277 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "libXxf86vm.so"
   1.278 +#endif
   1.279 +#ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR
   1.280 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR "libXcursor.so"
   1.281 +#endif
   1.282 +#ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR
   1.283 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "libXrandr.so"
   1.284 +#endif
   1.285 +#ifndef SDL_INPUT_LINUXEV
   1.286 +#define SDL_INPUT_LINUXEV 1
   1.287 +#endif
   1.288 +#ifndef SDL_HAPTIC_LINUX
   1.289 +#define SDL_HAPTIC_LINUX 1
   1.290 +#endif
   1.291 +#ifndef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX
   1.292 +#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
   1.293 +#endif
   1.294 +#ifndef SDL_JOYSTICK_LINUX
   1.295 +#define SDL_JOYSTICK_LINUX 1
   1.296 +#endif
   1.297 +#ifndef SDL_THREAD_PTHREAD
   1.298 +#define SDL_THREAD_PTHREAD 1
   1.299 +#endif
   1.300 +#ifndef SDL_POWER_LINUX
   1.301 +#define SDL_POWER_LINUX 1
   1.302 +#endif
   1.303 +#ifndef SDL_TIMER_UNIX
   1.304 +#define SDL_TIMER_UNIX 1
   1.305 +#endif
   1.306 +#ifndef SDL_FILESYSTEM_UNIX
   1.307 +#define SDL_FILESYSTEM_UNIX 1
   1.308 +#endif
   1.309 +
   1.310 +/* Enable assembly routines */
   1.311 +#define SDL_ASSEMBLY_ROUTINES 1
   1.312 +/* #undef SDL_ALTIVEC_BLITTERS */
   1.313 +
   1.314 +#endif /* _SDL_config_h */