As Sidney found, the configure.ac recognition stuff for configure.ac
seems broken. However, it seems broken beyond the wrong main(), in
that it includes SDL/SDL_ttf.h instead of just SDL_ttf.h.
I think including without the SDL/ prefix should always work, because
AC_SUBST(SDL_CFLAGS) is called beforehand, which should add a
-I/somewhere/include/SDL to the build line. At least that's what it
does for me.
The problem (for me) is that my /somewhere/include is not in the
search path, so looking for SDL/SDL_ttf.h fails. Also, ecl_font.cc
includes without the SDL/, so that should already work for everyone.
Any thoughts on this? (you can find out what the AC_SUBST line above
adds by running sdl-config --cflags)