# HG changeset patch # User iive # Date 1306876514 0 # Node ID 8f7f69fd01d724771af5014c770f4e6bcd4ea062 # Parent fac64fecdb03a629fcaee52a5c20c2c125f8e15f Check if compiler is functioning properly before trying to test additional options. diff -r fac64fecdb03 -r 8f7f69fd01d7 configure --- a/configure Tue May 31 20:45:39 2011 +0000 +++ b/configure Tue May 31 21:15:14 2011 +0000 @@ -1679,6 +1679,10 @@ fi # icc test "$cc_fail" = yes && die "unsupported compiler version" +echocheck "working compiler" +cflag_check "" || die "Compiler is not functioning correctly. Check your installation and custom CFLAGS $CFLAGS ." +echo "yes" + if test -z "$_target" && x86 ; then cat > $TMPC << EOF int main(void) {