]> git.pld-linux.org Git - packages/mplayer.git/blame - mplayer-check-byteswap.patch
- release 6 (libvpx 1.14)
[packages/mplayer.git] / mplayer-check-byteswap.patch
CommitLineData
24bfe2fa
JB
1--- MPlayer-1.5/configure.orig 2023-04-11 20:43:22.582368374 +0200
2+++ MPlayer-1.5/configure 2023-04-11 20:44:20.978718680 +0200
3@@ -4193,6 +4193,21 @@ fi
30cfc911
ER
4 echores "$_alloca"
5
6
7+echocheck "byteswap.h"
8+cat > $TMPC << EOF
9+#include <byteswap.h>
10+int main(void) { (void) bswap_16(0); (void) bswap_32(0); (void) bswap_64(0); return 0; }
11+EOF
12+_byteswap=no
13+cc_check && _byteswap=yes
14+if cc_check ; then
73559091 15+ def_byteswap_h='#define HAVE_BYTESWAP_H 1'
30cfc911 16+else
73559091 17+ def_byteswap_h='#undef HAVE_BYTESWAP_H'
30cfc911
ER
18+fi
19+echores "$_byteswap"
20+
21+
b4c9d1de
JB
22 echocheck "fastmemcpy"
23 if test "$_fastmemcpy" = yes ; then
24 def_fastmemcpy='#define CONFIG_FASTMEMCPY 1'
24bfe2fa
JB
25@@ -9164,6 +9179,7 @@ $def_sys_uio_h
26 /* system headers */
b4c9d1de 27 $def_alloca_h
9a0e7852 28 $def_altivec_h
73559091 29+$def_byteswap_h
24bfe2fa 30 $def_malloc_h
9a0e7852 31 $def_mman_h
32 $def_mman_has_map_failed
This page took 0.190519 seconds and 4 git commands to generate.