--- configure.ac.orig 2008-09-08 12:57:35.000000000 -0400 +++ configure.ac 2008-09-08 12:58:50.000000000 -0400 @@ -268,6 +268,8 @@ AC_SEARCH_LIBS(glutGetModifiers, [ glut freeglut ]) if test "x$enable_sdl" = "xyes"; then AC_SEARCH_LIBS(SDL_Init, SDL) + CFLAGS="$CFLAGS `sdl-config --cflags`" + CXXFLAGS="$CXXFLAGS `sdl-config --cflags`" fi ;;