mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 09:33:30 +00:00
configure: Use SDL2_LIBS if set.
Fix by Andrew Eikum. Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
317d8c1674
commit
967e2622fb
2
configure
vendored
2
configure
vendored
|
@ -13925,7 +13925,7 @@ if ${ac_cv_lib_soname_SDL2+:} false; then :
|
||||||
$as_echo_n "(cached) " >&6
|
$as_echo_n "(cached) " >&6
|
||||||
else
|
else
|
||||||
ac_check_soname_save_LIBS=$LIBS
|
ac_check_soname_save_LIBS=$LIBS
|
||||||
LIBS="-lSDL2 $LIBS"
|
LIBS="-lSDL2 $SDL2_LIBS $LIBS"
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
|
|
||||||
|
|
|
@ -1629,7 +1629,7 @@ if test "x$with_sdl" != "xno"
|
||||||
then
|
then
|
||||||
WINE_PACKAGE_FLAGS(SDL2,[sdl2],[-lSDL2],,,
|
WINE_PACKAGE_FLAGS(SDL2,[sdl2],[-lSDL2],,,
|
||||||
[AC_CHECK_HEADERS([SDL2/SDL.h],
|
[AC_CHECK_HEADERS([SDL2/SDL.h],
|
||||||
[WINE_CHECK_SONAME(SDL2,SDL_Init,,,,[[libSDL2-2.0*]])])])
|
[WINE_CHECK_SONAME(SDL2,SDL_Init,,,[$SDL2_LIBS],[[libSDL2-2.0*]])])])
|
||||||
fi
|
fi
|
||||||
WINE_NOTICE_WITH(sdl,[test "x$ac_cv_lib_soname_SDL2" = "x"],
|
WINE_NOTICE_WITH(sdl,[test "x$ac_cv_lib_soname_SDL2" = "x"],
|
||||||
[libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.])
|
[libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.])
|
||||||
|
|
Loading…
Reference in a new issue