# HG changeset patch # User diego # Date 1284663501 0 # Node ID 26f7bcb5fd7f70b7ab99ceb1c64c760956c02d1f # Parent 7773438f5abf3477346543ba3c314fe31d095cfc misc whitespace cosmetics diff -r 7773438f5abf -r 26f7bcb5fd7f configure --- a/configure Thu Sep 16 18:56:56 2010 +0000 +++ b/configure Thu Sep 16 18:58:21 2010 +0000 @@ -403,8 +403,8 @@ Video output: --disable-vidix disable VIDIX [for x86 *nix] --with-vidix-drivers[=*] list of VIDIX drivers to be compiled in - Available: cyberblade,ivtv,mach64,mga,mga_crtc2, - nvidia,pm2,pm3,radeon,rage128,s3,sis,unichrome + Available: cyberblade, ivtv, mach64, mga, mga_crtc2, + nvidia, pm2, pm3, radeon, rage128, s3, sis, unichrome --disable-vidix-pcidb disable VIDIX PCI device name database --enable-dhahelper enable VIDIX dhahelper support --enable-svgalib_helper enable VIDIX svgalib_helper support @@ -1785,7 +1785,7 @@ extcheck $_sse "sse" "xorps %%xmm0, %%xmm0" || _gcc3_ext="$_gcc3_ext -mno-sse" extcheck $_sse2 "sse2" "xorpd %%xmm0, %%xmm0" || _gcc3_ext="$_gcc3_ext -mno-sse2" extcheck $_ssse3 "ssse3" "pabsd %%xmm0, %%xmm0" - extcheck $_cmov "cmov" "cmovb %%eax,%%ebx" + extcheck $_cmov "cmov" "cmovb %%eax, %%ebx" echocheck "mtrr support" if test "$_mtrr" = kernel_check ; then @@ -2447,8 +2447,10 @@ echocheck "byte order" if test "$_big_endian" = auto ; then cat > $TMPC < $TMPC << EOF __attribute__((noinline)) static int foo3(int i1, int i2, int i3) { return i3; } -int main(void) { return foo3(1,2,3) == 3 ? 0 : 1; } +int main(void) { return foo3(1, 2, 3) == 3 ? 0 : 1; } EOF cc_check -O4 -mstackrealign && tmp_run && cflags_stackrealign=-mstackrealign test -z "$cflags_stackrealign" && cc_check -O4 -mstackrealign -fno-unit-at-a-time \ @@ -3403,9 +3405,7 @@ echocheck "int_fastXY_t in inttypes.h" cat > $TMPC << EOF #include -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 @@ -3443,7 +3443,7 @@ def_memalign='#define HAVE_MEMALIGN 1' else def_memalign='#define HAVE_MEMALIGN 0' - def_map_memalign='#define memalign(a,b) malloc(b)' + def_map_memalign='#define memalign(a, b) malloc(b)' darwin || def_memalign_hack='#define CONFIG_MEMALIGN_HACK 1' fi echores "$_memalign" @@ -3879,7 +3879,7 @@ #include #include #include -int main(void) {int nfds = 1; fd_set readfds; struct timeval timeout; select(nfds,&readfds,NULL,NULL,&timeout); return 0; } +int main(void) {int nfds = 1; fd_set readfds; struct timeval timeout; select(nfds, &readfds, NULL, NULL, &timeout); return 0; } EOF _posix_select=no def_posix_select='#undef HAVE_POSIX_SELECT' @@ -3969,11 +3969,7 @@ echocheck "sys/sysinfo.h" cat > $TMPC << EOF #include -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 @@ -4051,11 +4047,7 @@ cat > $TMPC < #include -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 @@ -4712,7 +4704,7 @@ aa_init(0, 0, 0); c = aa_autoinit(&aa_defparams); p = aa_getrenderparams(); -aa_autoinitkbd(c,0); +aa_autoinitkbd(c, 0); return 0; } EOF _aa=no @@ -5922,10 +5914,7 @@ cat > $TMPC << EOF #include #include -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 @@ -6789,10 +6778,7 @@ if test "$_ladspa" = auto ; then cat > $TMPC < -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 @@ -7796,7 +7782,7 @@ if (getenv("DISPLAY")) name=getenv("DISPLAY"); wsDisplay=XOpenDisplay(name); - if (!XShapeQueryExtension(wsDisplay,&eventbase,&errorbase)) + if (!XShapeQueryExtension(wsDisplay, &eventbase, &errorbase)) exitvar=1; XCloseDisplay(wsDisplay); return exitvar;