On 06/15/2012 02:27 PM, Eric Blake wrote:
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(a)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.
Thanks, pushed now.
- Cole