Mercurial > mplayer.hg
changeset 32716:72dfebf10aff
cosmetics: Move header_check helper function.
author | diego |
---|---|
date | Thu, 20 Jan 2011 11:21:34 +0000 |
parents | d78209361383 |
children | 465b9f294519 |
files | configure |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Thu Jan 20 10:23:06 2011 +0000 +++ b/configure Thu Jan 20 11:21:34 2011 +0000 @@ -73,6 +73,15 @@ compile_check $TMPC $@ } +header_check() { + cat > $TMPC << EOF +#include <$1> +int main(void) { return 0; } +EOF + shift + compile_check $TMPC $@ +} + statement_check() { cat > $TMPC << EOF #include <$1> @@ -93,15 +102,6 @@ compile_check $TMPC $@ } -header_check() { - cat > $TMPC << EOF -#include <$1> -int main(void) { return 0; } -EOF - shift - compile_check $TMPC $@ -} - inline_asm_check() { cat > $TMPC << EOF int main(void) { __asm__ volatile ($1); return 0; }