./configure issues with SDL_image and other libs

Hello,

I’m trying to compile SDL_image under Linux.

I get this error with ./configure:

./configure: line 12846: syntax error near unexpected token $SDL_VERSION,' ./configure: line 12846:AM_PATH_SDL2($SDL_VERSION,’

(happens with SDL_ttf)

With SDL_net it actually happens when “make”:

configure.in:113: error: possibly undefined macro: AM_PATH_SDL2
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.

I’ve always avoided using autotools in favor of Cmake, so I’m a bit lost
here.

Thank you,

?lvaro

Have you executed autogen.sh before configure?
Cause it’s pretty easy to forget it sometimes.

Indeed I did forget it :wink:
Thanks!!On Wed, Apr 10, 2013 at 7:34 PM, Aggelos Kolaitis wrote:

Have you executed autogen.sh before configure?
Cause it’s pretty easy to forget it sometimes.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org