comparison configure.ac @ 34:b76a8da75ec3

* Check for SDL_mixer and SDL_gfx
author thib
date Sun, 08 Mar 2009 18:06:52 +0000
parents f45da03ca631
children f88d47a4bf87
comparison
equal deleted inserted replaced
33:f1fbe5b37a1e 34:b76a8da75ec3
95 dnl SDL config 95 dnl SDL config
96 AM_PATH_SDL() 96 AM_PATH_SDL()
97 AC_SUBST(SDL_CFLAGS) 97 AC_SUBST(SDL_CFLAGS)
98 AC_SUBST(SDL_LIBS) 98 AC_SUBST(SDL_LIBS)
99 99
100 dnl check for sdl_gfx and sdl_mixer
101
102 AC_CHECK_LIB(SDL_gfx, rotozoomSurfaceXY,,
103 AC_MSG_ERROR(This program cannot be build without SDL_gfx))
104 AC_CHECK_LIB(SDL_mixer, Mix_OpenAudio,,
105 AC_MSG_ERROR(This program cannot be build without SDL_mixer))
106
100 dnl SMPEG & MAD config 107 dnl SMPEG & MAD config
101 AM_PATH_SMPEG() 108 AM_PATH_SMPEG()
102 AC_SUBST(SMPEG_CFLAGS) 109 AC_SUBST(SMPEG_CFLAGS)
103 AC_SUBST(SMPEG_LIBS) 110 AC_SUBST(SMPEG_LIBS)
104 if test X"$SMPEG_LIBS" = X ; then 111 if test X"$SMPEG_LIBS" = X ; then