mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
configure: misc whitespace cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32278 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ed97d9cfab
commit
4bf35fe2ba
32
configure
vendored
32
configure
vendored
@ -2331,8 +2331,10 @@ fi
|
||||
echocheck "byte order"
|
||||
if test "$_big_endian" = auto ; then
|
||||
cat > $TMPC <<EOF
|
||||
short ascii_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|'B'),
|
||||
(('i'<<8)|'g'),(('E'<<8)|'n'),(('d'<<8)|'i'),(('a'<<8)|'n'),0};
|
||||
short ascii_name[] = {
|
||||
(('M' << 8) | 'P'), (('l' << 8) | 'a'), (('y' << 8) | 'e'),
|
||||
(('r' << 8) | 'B'), (('i' << 8) | 'g'), (('E' << 8) | 'n'),
|
||||
(('d' << 8) | 'i'), (('a' << 8) | 'n'), 0 };
|
||||
int main(void) { return (long)ascii_name; }
|
||||
EOF
|
||||
if cc_check ; then
|
||||
@ -3158,9 +3160,7 @@ fi
|
||||
echocheck "int_fastXY_t in inttypes.h"
|
||||
cat > $TMPC << EOF
|
||||
#include <inttypes.h>
|
||||
int main(void) {
|
||||
volatile int_fast16_t v= 0;
|
||||
return v; }
|
||||
int main(void) { volatile int_fast16_t v = 0; return v; }
|
||||
EOF
|
||||
_fast_inttypes=no
|
||||
cc_check && _fast_inttypes=yes
|
||||
@ -3714,11 +3714,7 @@ fi #if sunos
|
||||
echocheck "sys/sysinfo.h"
|
||||
cat > $TMPC << EOF
|
||||
#include <sys/sysinfo.h>
|
||||
int main(void) {
|
||||
struct sysinfo s_info;
|
||||
sysinfo(&s_info);
|
||||
return 0;
|
||||
}
|
||||
int main(void) { struct sysinfo s_info; sysinfo(&s_info); return 0; }
|
||||
EOF
|
||||
_sys_sysinfo=no
|
||||
cc_check && _sys_sysinfo=yes
|
||||
@ -3796,11 +3792,7 @@ if test "$_apple_ir" = auto ; then
|
||||
cat > $TMPC <<EOF
|
||||
#include <linux/types.h>
|
||||
#include <linux/input.h>
|
||||
int main(void) {
|
||||
struct input_event ev;
|
||||
struct input_id id;
|
||||
return 0;
|
||||
}
|
||||
int main(void) { struct input_event ev; struct input_id id; return 0; }
|
||||
EOF
|
||||
cc_check && _apple_ir=yes
|
||||
fi
|
||||
@ -5622,10 +5614,7 @@ if test "$_bluray" = auto ; then
|
||||
cat > $TMPC << EOF
|
||||
#include <stdlib.h>
|
||||
#include <libbluray/bluray.h>
|
||||
int main(void) {
|
||||
BLURAY_TITLE_INFO *i = bd_get_title_info(NULL, 0);
|
||||
return 0;
|
||||
}
|
||||
int main(void) { BLURAY_TITLE_INFO *i = bd_get_title_info(NULL, 0); return 0; }
|
||||
EOF
|
||||
compile_check $TMPC -lbluray && _bluray=yes
|
||||
fi
|
||||
@ -6408,10 +6397,7 @@ echocheck "LADSPA plugin support"
|
||||
if test "$_ladspa" = auto ; then
|
||||
cat > $TMPC <<EOF
|
||||
#include <ladspa.h>
|
||||
int main(void) {
|
||||
LADSPA_Descriptor ld = {0};
|
||||
return 0;
|
||||
}
|
||||
int main(void) { LADSPA_Descriptor ld = {0}; return 0; }
|
||||
EOF
|
||||
_ladspa=no
|
||||
cc_check && _ladspa=yes
|
||||
|
Loading…
Reference in New Issue
Block a user