[libvirt] [PATCH] Allow NOCONFIGURE=1 to make autogen.sh skip ./configure

Martin Kletzander mkletzan at redhat.com
Fri Jun 22 07:10:02 UTC 2012


On 06/21/2012 03:59 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Sometimes it is useful to re-bootstrap libvirt without running
> through a ./configure invocation immediately. eg if you want
> to run ./configure for Mingw32 rather than native.
> ---
>  autogen.sh |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/autogen.sh b/autogen.sh
> index f1591d8..95598e2 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -70,6 +70,8 @@ if test -d .git; then
>      fi
>  fi
>  
> +test -n "$NOCONFIGURE" && exit 0
> +
>  cd "$THEDIR"
>  
>  if test "x$OBJ_DIR" != x; then
> 

This is useful, but there shouldn't be an output from lines 32 nor 35,36
in this case ("Running ./configure ...", "I am going to run ./configure
...")

Martin




More information about the libvir-list mailing list