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

Rémi Bernon rbernon at codeweavers.com
Fri Sep 24 04:42:56 CDT 2021


On 9/24/21 11:42 AM, Alexandre Julliard wrote:
> 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.
> 

Ah okay I wondered if that was on purpose or missing from configure, 
I'll resend.
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list