[PATCH modular 12/13] Add "confflags" option to pass custom config arguments.
tom fogal
tfogal at sci.utah.edu
Wed Dec 29 09:22:38 PST 2010
Gaetan Nadon <memsize at videotron.ca> writes:
> From: tom fogal <tfogal at sci.utah.edu>
>
> 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 <tfogal at alumni.unh.edu>
No need to credit me for the patch though, it's obviously much
different now :)
-tom
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
> 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
More information about the xorg-devel
mailing list