# HG changeset patch # User thib # Date 1236535612 0 # Node ID b76a8da75ec32035ddd624cb8f907ad249c77ad4 # Parent f1fbe5b37a1e6f21b466b0c49aa2d729ab8f9366 * Check for SDL_mixer and SDL_gfx diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -97,6 +97,13 @@ AM_PATH_SDL() AC_SUBST(SDL_CFLAGS) AC_SUBST(SDL_LIBS) +dnl check for sdl_gfx and sdl_mixer + +AC_CHECK_LIB(SDL_gfx, rotozoomSurfaceXY,, + AC_MSG_ERROR(This program cannot be build without SDL_gfx)) +AC_CHECK_LIB(SDL_mixer, Mix_OpenAudio,, + AC_MSG_ERROR(This program cannot be build without SDL_mixer)) + dnl SMPEG & MAD config AM_PATH_SMPEG() AC_SUBST(SMPEG_CFLAGS)