From 959e84b3cf6713b533475b9b9cf07dd13ac6669a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 31 Jul 2012 16:56:13 +0200 Subject: easy_e17.sh: add --autogen_global option --- easy_e17.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/easy_e17.sh b/easy_e17.sh index d21f0f2..353a9ee 100755 --- a/easy_e17.sh +++ b/easy_e17.sh @@ -72,6 +72,7 @@ ignore_dirs_re="^(devs|packaging|plugins|src|web|DOCS|E16|FORMATTING|MARKETING|T ignore_dirs="devs packaging web DOCS E16 FORMATTING MARKETING THEMES TEST" package_args="" # evas:make_only,emotion:clean autogen_args="" # evas:--enable-gl-x11 +autogen_global="" # --disable-doc linux_distri="" # if your distribution is wrongly detected, define it here nice_level=0 # nice level (19 == low, -20 == high) os=$(uname) # operating system @@ -241,6 +242,8 @@ function help () echo " ccache if available" echo " --threads= = 'make' can use threads, recommended on" echo " smp systems (default: 2 threads)" + echo " --autogen_global=+,. = pass some options to autogen:" + echo " +" echo " --autogen_args=:+,. = pass some options to autogen:" echo " :+,:+..." echo " --package_args=:+,. = pass package specific options:" @@ -451,6 +454,12 @@ function parse_args () fi autogen_args="$value" ;; + --autogen_global) + if [ -z "$value" ]; then + wrong "Missing value for argument '$option'!" + fi + autogen_global="$value" + ;; --package_args) if [ -z "$value" ]; then wrong "Missing value for argument '$option'!" @@ -1129,6 +1138,7 @@ function compile () args="$args `echo $app_arg | cut -d':' -f2- | tr -s '+' ' '`" fi done + args="$args $autogen_global" if [ "$name" == "ewebkit" ]; then if [ $package_make_only != 1 ] || [ $package_clean -gt 1 ] || [ ! -e "$ewk_build_dir/Makefile" ]; then run_command "$name" "$path" "cmake" "cmake : " "$mode" "$ewk_build_cmd" -- cgit v1.1-2-g2b99