[PATCH modular 12/13] Add "confflags" option to pass custom config arguments.

Gaetan Nadon memsize at videotron.ca
Wed Dec 29 07:44:47 PST 2010


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.

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 set)"
     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