|
|
| version 1.30, 2012/02/05 00:01:40 | version 1.31, 2012/02/05 00:06:08 |
|---|---|
| Line 110 AC_SUBST(GTK_LIBS) | Line 110 AC_SUBST(GTK_LIBS) |
| AC_DEFINE(USE_GTK2,1,[Define to 1 if you have the GTK+-2 library.]) | AC_DEFINE(USE_GTK2,1,[Define to 1 if you have the GTK+-2 library.]) |
| dnl | dnl |
| dnl Checks for SDL | dnl Checks for SDL and SDL_mixer |
| dnl | dnl |
| if test x"$enable_sdl" = "xyes"; then | if test x"$enable_sdl" = "xyes"; then |
| AM_PATH_SDL(1.2.0) | AM_PATH_SDL(1.2.0) |
| if test x"$no_sdl" != "xyes"; then | if test x"$no_sdl" != "xyes"; then |
| AC_DEFINE(USE_SDLAUDIO,,[Define if you have the SDL library.]) | AC_DEFINE(USE_SDLAUDIO,,[Define if you have the SDL library.]) |
| if test x"$enable_sdlmixer" = "xyes"; then | |
| AC_CHECK_LIB(SDL_mixer,Mix_OpenAudio, | |
| AC_DEFINE(USE_SDLMIXER,,[Define if you have the SDL_mixer library.]) | |
| SDL_LIBS="$SDL_LIBS -lSDL_mixer",,$SDL_LIBS) | |
| fi | |
| fi | fi |
| fi | fi |
| dnl | |
| dnl Checks for SDL_mixer | |
| dnl | |
| if test x"$enable_sdlmixer" = "xyes"; then | |
| if test x"$no_sdl" != "xyes"; then | |
| AC_CHECK_LIB(SDL_mixer,Mix_OpenAudio, | |
| AC_DEFINE(USE_SDLMIXER,,[Define if you have the SDL_mixer library.]) | |
| SDL_LIBS="$SDL_LIBS -lSDL_mixer",,$SDL_LIBS) | |
| fi | |
| fi | |
| dnl | dnl |
| dnl Checks for XF86VidMode extension | dnl Checks for XF86VidMode extension |