--- aconfigure.orig 2015-05-27 15:13:45.464621218 +0900 +++ aconfigure 2015-05-27 15:14:19.198622022 +0900 @@ -6642,7 +6642,7 @@ if test "x$SDL_CONFIG" = "x"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 $as_echo "not found" >&6; } - elif (sh -c "$SDL_CONFIG --version" | grep -e '^1\.3' -e '^2\.') then + elif (sh -c "$SDL_CONFIG --version" | grep -e '^1\.3' -e '^2\.' -e '^1\.2\.15' ) then ac_sdl_cflags=`$SDL_CONFIG --cflags`