On Fri, Mar 16, 2018 at 07:12:26PM +0100, Christian Borntraeger wrote: > Does it make sense to have something like > > diff --git a/configure b/configure > index 831ebf2..67d7ae3 100755 > --- a/configure > +++ b/configure > @@ -552,6 +552,10 @@ else > pwd_is_source_path="n" > fi > > +if test -f $source_path\/qemu-version.h -a $pwd_is_source_path = "n" ; then > +error_exit "source path contains a stale configuration, cannot build > outside" > +fi > +
Yeah that is a check that autoconf does commonly to detect this kind of mistake, so I think its good. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|