diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2013-03-06 17:15:50 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-03-09 14:33:54 +0100 |
commit | 2eaa3663fda750dac66d41fe8541a8744d5563a4 (patch) | |
tree | 0fd49b1aaf4d21ad0ffdd6b5df2e4c0c5c4e0a5f /configure | |
parent | adfa53d67c7a3318157ea9d95e8bdcfb77139452 (diff) | |
download | ffmpeg-2eaa3663fda750dac66d41fe8541a8744d5563a4.tar.gz |
avplay: enable only when SDL 1.2 is found
SDL 2 is API incompatible.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1301,7 +1301,6 @@ HAVE_LIST=" rdtsc sched_getaffinity sdl - sdl_video_size SetConsoleTextAttribute setmode setrlimit @@ -3596,8 +3595,8 @@ fi if check_pkg_config sdl SDL_events.h SDL_PollEvent; then check_cpp_condition SDL.h "(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) >= 0x010201" $sdl_cflags && - enable sdl && - check_struct SDL.h SDL_VideoInfo current_w $sdl_cflags && enable sdl_video_size + check_cpp_condition SDL.h "(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) < 0x010300" $sdl_cflags && + enable sdl fi texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html |