Gaetan Nadon <[email protected]> writes:
> From: tom fogal <[email protected]>
> 
> This adds an "--confflags" option which will pass its argument on
> to every configure (or autogen.sh) script that build.sh runs.
> 
> Using this option overrides the existing value of CONFFLAGS
> env variable picked-up from the shell environment.

LGTM.

  Reviewed-by: Tom Fogal <[email protected]>

No need to credit me for the patch though, it's obviously much
different now :)

-tom

> Signed-off-by: Gaetan Nadon <[email protected]>
> ---
>  build.sh |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/build.sh b/build.sh
> index 1111e50..f0296e4 100755
> --- a/build.sh
> +++ b/build.sh
> @@ -975,6 +975,7 @@ usage() {
>      echo "  --check     Run make check in addition \"all install\""
>      echo "  --clone     Clone non-existing repositories (uses \$GITROOT if s
> et)"
>      echo "  --cmd <cmd> Execute arbitrary git, gmake, or make command <cmd>"
> +    echo "  --confflags <options> Pass options to autgen.sh/configure"
>      echo "  --modfile <file> Only process the module/components specified in
>  <file>"
>      echo ""
>      echo "Usage: $basename -L"
> @@ -1170,6 +1171,10 @@ do
>               ;;
>       esac
>       ;;
> +    --confflags)
> +     shift
> +     CONFFLAGS=$1
> +     ;;
>      --modfile)
>       required_arg $1 $2
>       shift
> -- 
> 1.6.0.4
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to