[libvirt] [PATCH 1/2] configure: Improve --with-init-script=check
Andrea Bolognani
abologna at redhat.com
Fri Apr 29 09:21:43 UTC 2016
On Fri, 2016-04-29 at 09:14 +0200, Ján Tomko wrote:
> > diff --git a/configure.ac b/configure.ac
> > index de5f430..4b92e85 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -647,10 +647,19 @@ case "$with_init_script" in
> > none)
> > ;;
> > check)
> > - if test "$cross_compiling" != yes && test -f /etc/redhat-release; then
> > + if test "$cross_compiling" = yes
> > + then
>
> We put "then" on the same line as "if" elsewhere in the file.
We actually seem to be using both...
Having "then" on the same line is closer to what out C code looks
like though, so agreed. I'll change it.
--
Andrea Bolognani
Software Engineer - Virtualization Team
More information about the libvir-list
mailing list