On Fri, Feb 16, 2018 at 04:18:19PM +0100, Christophe de Dinechin wrote: > From: Christophe de Dinechin <dinechin@xxxxxxxxxx> > > Signed-off-by: Christophe de Dinechin <dinechin@xxxxxxxxxx> > --- > autogen.sh | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100755 autogen.sh > > diff --git a/autogen.sh b/autogen.sh > new file mode 100755 > index 0000000..afa3e39 > --- /dev/null > +++ b/autogen.sh This assumes you're running autogen.sh from the source tree. Many folks prefer todo a vpath builds, so it might be invoked from outside the source tree like mkdir build cd build ../autogen.sh > @@ -0,0 +1,9 @@ > +#!/bin/sh > + > +set -e # exit on errors srcdir=`dirname $0` test -z "$srcdir" && srcdir=. THEDIR=`pwd` cd $srcdir > + > +autoreconf --verbose --force --install cd $THEDIR > + > +if [ -z "$NOCONFIGURE" ]; then > + ./configure ${1+"$@"} $srcdir/configure .... > +fi would make it cope with VPATH builds. 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 :| _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel