[Spice-devel] [usbredir PATCH 3/6] autogen.sh: do not run ./configure if env variable NOCONFIGURE is defined

2012-05-03 Thread Uri Lublin
--- autogen.sh |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/autogen.sh b/autogen.sh index 52083e5..568f718 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,4 +1,6 @@ #!/bin/sh autoreconf -fi -./configure $@ +if [ -z $NOCONFIGURE ]; then +./configure $@ +fi --

Re: [Spice-devel] [usbredir PATCH 3/6] autogen.sh: do not run ./configure if env variable NOCONFIGURE is defined

2012-05-03 Thread Christophe Fergeau
ACK on this one, you could even copy what spice-gtk is doing which allows to run autogen.sh outside of builddir: srcdir=`dirname $0` test -z $srcdir srcdir=. if [ -z $NOCONFIGURE ]; then $srcdir/configure $@ fi Christophe On Thu, May 03, 2012 at 06:04:36PM +0300, Uri Lublin wrote: ---