[Spice-devel] [usbredir PATCH 3/6] autogen.sh: do not run ./configure if env variable NOCONFIGURE is defined
Christophe Fergeau
cfergeau at redhat.com
Thu May 3 08:41:11 PDT 2012
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:
> ---
> 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
> --
> 1.7.7.6
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120503/0013206c/attachment.pgp>
More information about the Spice-devel
mailing list