[PATCH 1/5] configure: Check for SDL_JoystickRumble presence.

Alexandre Julliard julliard at winehq.org
Fri Sep 24 04:42:10 CDT 2021


Rémi Bernon <rbernon at codeweavers.com> writes:

> diff --git a/configure.ac b/configure.ac
> index 15b7c2add2a..4d87d516bd1 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1701,7 +1701,9 @@ if test "x$with_sdl" != "xno"
>  then
>      WINE_PACKAGE_FLAGS(SDL2,[sdl2],[-lSDL2],,,
>          [AC_CHECK_HEADERS([SDL.h],
> -            [WINE_CHECK_SONAME(SDL2,SDL_Init,,,[$SDL2_LIBS],[[libSDL2-2.0*]])])])
> +            [WINE_CHECK_SONAME(SDL2,SDL_Init,,,[$SDL2_LIBS],[[libSDL2-2.0*]])])
> +             WINE_CHECK_LIB_FUNCS([SDL_JoystickRumble], [$SDL2_LIBS])

This should be checked at run-time, the same way we handle
SDL_JoystickGetVendor etc.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list