|
|
@@ -91,7 +91,9 @@ if test "x${ac_cv_my_have_sdl}" = xno; then |
|
|
|
[ac_cv_my_have_sdl_mixer="no"]) |
|
|
|
AC_CHECK_LIB(SDL2_image, main, |
|
|
|
[SDLIMAGE_LIBS="${SDLIMAGE_LIBS} -lSDL2_image"], |
|
|
|
[ac_cv_my_have_sdl_image="no"]) |
|
|
|
[AC_CHECK_LIB(SDL2_image_bmp-jpg-png, main, |
|
|
|
[SDLIMAGE_LIBS="${SDLIMAGE_LIBS} -lSDL2_image_bmp-jpg-png"], |
|
|
|
[ac_cv_my_have_sdl_image="no"])]) |
|
|
|
SDL_CFLAGS="${SDL_CFLAGS} ${SDLMIXER_CFLAGS} ${SDLIMAGE_CFLAGS}" |
|
|
|
SDL_LIBS="${SDL_LIBS} ${SDLMIXER_LIBS} ${SDLIMAGE_LIBS}" |
|
|
|
fi |
|
|
|