Re: [PATCH] autogen: Always abide --system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]