-# FIXME: Replace `main' with a function in `-lSDL_image':
-AC_CHECK_LIB([SDL_image], [main])
-# FIXME: Replace `main' with a function in `-lSDL_mixer':
-AC_CHECK_LIB([SDL_mixer], [main])
+AC_CHECK_LIB([SDL_image], [IMG_Load])
+AC_CHECK_LIB([SDL_mixer], [Mix_OpenAudio])