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

Kamil Rytarowski n54 at gmx.com
Tue Feb 27 05:30:45 CET 2018

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.

-------------- 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/20180227/ed7332a0/attachment.sig>

More information about the vlc-devel mailing list