]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: Don't run Xen compile checks in subshells
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 2 Aug 2012 17:30:26 +0000 (18:30 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 4 Aug 2012 13:25:04 +0000 (13:25 +0000)
commit69deef089db0d2eb94b7adc6d6ac78a1cf0d5511
tree4e5a08174bcd94e3c4bcefb51ba42d3cbbb111f2
parentee785fed5dd035d4b12142cacec6d3c344426dec
configure: Don't run Xen compile checks in subshells

The Xen compile checks are currently run inside subshells. This
is unnecessary and has the effect that if do_cc() exits with
an error message then this only causes the subshell to exit,
not the whole of configure, which is confusing. Remove the
subshells, changing:
  if ( cat ; compile_prog ) ; then ...
to
  if cat && compile_prog ; then ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
configure