Check for new SDL_image and SDL_ttf labels. (Thanks Shard!)

This commit is contained in:
William Kendrick 2005-01-04 02:28:23 +00:00
parent 15a1c6a9b2
commit 9571208ef1

View file

@ -234,6 +234,7 @@ extern char* g_win32_getlocale(void);
#endif
#include "SDL_image.h"
#ifndef _SDL_IMAGE_H
#ifndef _IMG_h
#error "---------------------------------------------------"
#error "If you installed SDL_image from a package, be sure"
@ -241,8 +242,10 @@ extern char* g_win32_getlocale(void);
#error "(e.g., 'libsdl-image1.2-devel.rpm')"
#error "---------------------------------------------------"
#endif
#endif
#include "SDL_ttf.h"
#ifndef _SDL_TTF_h
#ifndef _SDLttf_h
#error "---------------------------------------------------"
#error "If you installed SDL_ttf from a package, be sure"
@ -250,6 +253,7 @@ extern char* g_win32_getlocale(void);
#error "(e.g., 'libsdl-ttf1.2-devel.rpm')"
#error "---------------------------------------------------"
#endif
#endif
#ifndef NOSOUND
#include "SDL_mixer.h"