# HG changeset patch # User diego # Date 1295522494 0 # Node ID 72dfebf10aff7b2ede513f0b097d0f65f53e98cb # Parent d7820936138313cfd8308353995d3a44f0b58603 cosmetics: Move header_check helper function. diff -r d78209361383 -r 72dfebf10aff configure --- 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; }