Switched back to configure generating SDL_config.h

It was very confusing to have configure generate an SDL_config.h and then not have it be used when building on Mac OS X or Windows.  I'll just have to remember to use SDL_config_windows.h when building official releases that are supposed to be ABI compatible with Visual Studio.

--HG--
rename : include/SDL_config_generated.h.in => include/SDL_config.h.in
This commit is contained in:
Sam Lantinga 2012-01-19 01:55:51 -05:00
parent a49a88676f
commit 5546f5ad65
6 changed files with 17 additions and 26 deletions

View file

@ -40,13 +40,12 @@
#elif defined(__NINTENDODS__)
#include "SDL_config_nintendods.h"
#else
#ifdef MINIMAL_CONFIG_H
/* This is a minimal configuration just to get SDL running on new platforms */
#include "SDL_config_minimal.h"
#else
/* This is generated by configure for your platform */
#include "SDL_config_generated.h"
#endif
#endif /* platform config */
#ifdef USING_GENERATED_CONFIG_H
#error Wrong SDL_config.h, check your include path?
#endif
#endif /* _SDL_config_h */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/
#ifndef _SDL_config_generated_h
#define _SDL_config_generated_h
#ifndef _SDL_config_h
#define _SDL_config_h
/**
* \file SDL_config.h.in
@ -297,4 +297,4 @@
#undef SDL_ASSEMBLY_ROUTINES
#undef SDL_ALTIVEC_BLITTERS
#endif /* _SDL_config_generated_h */
#endif /* _SDL_config_h */