mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 07:40:24 +00:00
configure: sdl aux fix
Fixed $sdl_ver_suffix used instead of $sdl_version - the former is "" for SDL1 - when testing _ttf and _mixer.
This commit is contained in:
@@ -1713,7 +1713,7 @@ fi
|
||||
if test $testcard2_req != no
|
||||
then
|
||||
TESTCARD2_OBJ="src/video_capture/testcard2.o"
|
||||
if test "$sdl_ver_suffix" -lt 3; then
|
||||
if test "$sdl_version" -lt 3; then
|
||||
PKG_CHECK_MODULES([SDL_TTF], [SDL${sdl_ver_suffix}_ttf],
|
||||
[FOUND_SDL_TTF=yes], [FOUND_SDL_TTF=no])
|
||||
else
|
||||
@@ -3340,7 +3340,7 @@ sdl_mixer=no
|
||||
|
||||
if test $sdl = yes && test $sdl_mixer_req != no
|
||||
then
|
||||
if test "$sdl_ver_suffix" -lt 3; then
|
||||
if test "$sdl_version" -lt 3; then
|
||||
PKG_CHECK_MODULES([SDL_MIXER], [SDL${sdl_ver_suffix}_mixer],
|
||||
[found_sdl_mixer=yes], [found_sdl_mixer=no])
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user