From 7cbcdddb2d6a15f609730c9bd76eccf4aab5a7c6 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 18 Sep 2010 09:24:38 +0000 Subject: configure: minor cleanups cosmetics: Slightly shorten swab() check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32296 b3059339-0415-0410-9bf9-f77b7e298cf2 cosmetics: Slightly reformat a comment. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32297 b3059339-0415-0410-9bf9-f77b7e298cf2 cosmetics: Drop a bunch of unnecessary parentheses from big-endian check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32300 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'configure') diff --git a/configure b/configure index fbfb85cf76..305fa40ce5 100755 --- a/configure +++ b/configure @@ -115,9 +115,8 @@ EOF compile_check $TMPC $@ } -# this is a special check only to be -# used for broken headers that do not -# include all dependencies +# This is a special check only to be used for broken headers that do not +# include all dependencies. header_check_broken() { cat > $TMPC << EOF #include <$1> @@ -2332,9 +2331,8 @@ echocheck "byte order" if test "$_big_endian" = auto ; then cat > $TMPC < $TMPC << EOF #define _XOPEN_SOURCE 600 #include -int main(void) { - int a = 0, b = 0; - swab(&a, &b, 0); - return 0; -} +int main(void) { int a, b; swab(&a, &b, 0); return 0; } EOF _swab=no cc_check && _swab=yes -- cgit v1.2.3