On Sun, Oct 07, 2007 at 06:18:27PM -0400, Jim Paris wrote:
> > +  if test $check_gcc = "no" ; then
> > +    if gcc -v 2>&1 | grep -q 'gcc *version *4\.[0-3]\.[0-9]'; then
> > +      echo "#define USE_GCC4 1" >> $config_h
> > +    fi
> > +  fi
> 
> Something like
> 
> #if __GNUC__ >= 4
> 
> in the code would be simpler.

really good idea; and also as a side effect makes the patches independent as
there is no need to have that qemu's configure glue anymore.

Carlo

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to