Try using
AC_CHECK_LIB(SDL_image, IMG_Load, [have_SDL_image=yes], , $SDL_LIBS)Timo, did this work?
Yes, perfectly.
I also noticed from some other source that after this check there was
also check ac check for header file, which I have not yet added to my
project.
– Timo Suoranta – @Timo_K_Suoranta –