[PATCH] configure: use SDL2_LIBS if set