[vlc-devel] [PATCH] configure: Detect bswap* functions

Kamil Rytarowski n54 at gmx.com
Mon Mar 5 09:05:34 CET 2018


On 27.02.2018 05:30, Kamil Rytarowski wrote:
> On 27.02.2018 05:20, Kamil Rytarowski wrote:
>> Attempt to detect bswap16, bswap32 and bswap64 on a target OS.
>>
>> Use a generic approach with AC_LINK_IFELSE() and AC_LANG_PROGRAM()
>> to detect these functions, because their symbols can be mangled in libc.
>>
>> This is required for the NetBSD case:
>>  - bswap16's symbol in the libc is renamed to __bswap16,
>>  - bswap32's symbol renamed to __bswap32,
>>  - bswap64's symbol not renamed and kept as bswap64.
>>
>> This revision corrects build failure on NetBSD.
>> ---
> 
> Please disregard this version. There was a mistake, gpatch(1) has
> applied #endif in a wrong place.
> 
> v2 ships with a corrected patch.
> 
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 

Ping

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 850 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180305/b7981c28/attachment.sig>


More information about the vlc-devel mailing list