[libvirt] [PATCH] autogen: Always abide --system
Eric Blake
eblake at redhat.com
Fri Jun 15 18:27:23 UTC 2012
On 06/15/2012 12:12 PM, Cole Robinson wrote:
> If we do ./autogen.sh && ./configure, then later try ./autogen.sh --system,
> configure isn't invoked with the requested params. Instead
> config.status --recheck is run.
>
> Signed-off-by: Cole Robinson <crobinso at redhat.com>
> ---
> autogen.sh | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/autogen.sh b/autogen.sh
> index f1591d8..53db06f 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -77,7 +77,7 @@ if test "x$OBJ_DIR" != x; then
> cd "$OBJ_DIR"
> fi
>
> -if test -z "$*" && test -f config.status; then
> +if test -z "$*" && test -z "$EXTRA_ARGS" && test -f config.status; then
> ./config.status --recheck
> else
> $srcdir/configure $EXTRA_ARGS "$@"
ACK. Cute way to allow one to reconfigure the tree with better parameters.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120615/0555b2ae/attachment-0001.sig>
More information about the libvir-list
mailing list