Mercurial > mplayer.hg
comparison configure @ 26759:8eff880f638c
cosmetics: Remove useless parentheses from return statements.
author | diego |
---|---|
date | Fri, 16 May 2008 09:42:28 +0000 |
parents | b898ca14e114 |
children | c13288eeb9f6 |
comparison
equal
deleted
inserted
replaced
26758:9fb1d2c3dbd4 | 26759:8eff880f638c |
---|---|
1563 cat > $TMPC <<EOF | 1563 cat > $TMPC <<EOF |
1564 #include <signal.h> | 1564 #include <signal.h> |
1565 void catch() { exit(1); } | 1565 void catch() { exit(1); } |
1566 int main(void) { | 1566 int main(void) { |
1567 signal(SIGILL, catch); | 1567 signal(SIGILL, catch); |
1568 __asm__ __volatile__ ("$3":::"memory");return(0); | 1568 __asm__ __volatile__ ("$3":::"memory"); return 0; |
1569 } | 1569 } |
1570 EOF | 1570 EOF |
1571 | 1571 |
1572 if cc_check && tmp_run ; then | 1572 if cc_check && tmp_run ; then |
1573 eval _$2=yes | 1573 eval _$2=yes |
4510 #include <png.h> | 4510 #include <png.h> |
4511 #include <string.h> | 4511 #include <string.h> |
4512 int main(void) { | 4512 int main(void) { |
4513 printf("png.h : %s\n", PNG_LIBPNG_VER_STRING); | 4513 printf("png.h : %s\n", PNG_LIBPNG_VER_STRING); |
4514 printf("libpng: %s\n", png_libpng_ver); | 4514 printf("libpng: %s\n", png_libpng_ver); |
4515 return (strcmp(PNG_LIBPNG_VER_STRING, png_libpng_ver)); | 4515 return strcmp(PNG_LIBPNG_VER_STRING, png_libpng_ver); |
4516 } | 4516 } |
4517 EOF | 4517 EOF |
4518 if cc_check -lpng -lz $_ld_lm ; then | 4518 if cc_check -lpng -lz $_ld_lm ; then |
4519 if tmp_run ; then | 4519 if tmp_run ; then |
4520 _png=yes | 4520 _png=yes |