--- configure.in.old 2011-06-18 18:23:48.633605738 +0200 +++ configure.in 2011-06-18 18:26:26.910628408 +0200 @@ -33,7 +33,7 @@ ) CFLAGS="$SDL_CFLAGS $CFLAGS" - LIBS="$SDL_LIBS $LIBS" + LIBS="$SDL_LIBS $LIBS -lm" dnl Checks for header files. @@ -84,7 +84,7 @@ CFLAGS="$CFLAGS -Wall" AC_MSG_WARN(Disable Warning as Error Treatment) else - CFLAGS="$CFLAGS -Wall -Werror" + CFLAGS="$CFLAGS -Wall" fi