]> git.pld-linux.org Git - packages/mplayer.git/blame - mplayer-check-byteswap.patch
- old live patch replaced by live555-async patch from mplayer ml (port to async RTSPC...
[packages/mplayer.git] / mplayer-check-byteswap.patch
CommitLineData
30cfc911
ER
1--- MPlayer-1.0rc2/configure~ 2008-02-07 13:58:05.000000000 +0200
2+++ MPlayer-1.0rc2/configure 2008-02-07 13:58:10.395099351 +0200
3@@ -2998,6 +2998,21 @@
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+
22 echocheck "mman.h"
23 cat > $TMPC << EOF
24 #include <sys/types.h>
9a0e7852 25@@ -8568,6 +8568,7 @@
26 $def_alsa_asoundlib_h
27 $def_altivec_h
28 $def_malloc_h
73559091 29+$def_byteswap_h
9a0e7852 30 $def_mman_h
31 $def_mman_has_map_failed
32 $def_soundcard_h
This page took 0.028579 seconds and 4 git commands to generate.