OK, so this is what I did.
I commented the zlib check in the configure.ac (only one line), and now the configure step goes until the end without error.

But then when I'm running 'make' it just launches 'configure' again but don't compile anything.

(SDL2 compiles out of the box on both my linux and with mingw under cygwin, so it should be possible to achieve this)