123 for conf_option |
123 for conf_option |
124 do |
124 do |
125 case $conf_option in |
125 case $conf_option in |
126 --openjdk-target=*) |
126 --openjdk-target=*) |
127 conf_openjdk_target=`expr "X$conf_option" : '[^=]*=\(.*\)'` |
127 conf_openjdk_target=`expr "X$conf_option" : '[^=]*=\(.*\)'` |
128 continue ;; |
128 ;; |
129 --debug-configure) |
129 --debug-configure) |
130 if test "x$conf_debug_configure" != xrecursive; then |
130 if test "x$conf_debug_configure" != xrecursive; then |
131 conf_debug_configure=true |
131 conf_debug_configure=true |
132 export conf_debug_configure |
132 export conf_debug_configure |
133 fi |
133 fi |
134 continue ;; |
134 ;; |
|
135 [^-]*=*) |
|
136 # Add name of variable to CONFIGURE_OVERRIDDEN_VARIABLES list inside !...!. |
|
137 conf_env_var=`expr "x$conf_option" : 'x\([^=]*\)='` |
|
138 CONFIGURE_OVERRIDDEN_VARIABLES="$CONFIGURE_OVERRIDDEN_VARIABLES!$conf_env_var!" |
|
139 # ... and then process argument as usual |
|
140 conf_processed_arguments=("${conf_processed_arguments[@]}" "$conf_option") |
|
141 ;; |
135 *) |
142 *) |
136 conf_processed_arguments=("${conf_processed_arguments[@]}" "$conf_option") ;; |
143 conf_processed_arguments=("${conf_processed_arguments[@]}" "$conf_option") |
|
144 ;; |
137 esac |
145 esac |
138 |
146 |
139 case $conf_option in |
147 case $conf_option in |
140 -build | --build | --buil | --bui | --bu |-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
148 -build | --build | --buil | --bui | --bu |-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
141 conf_legacy_crosscompile="$conf_legacy_crosscompile $conf_option" ;; |
149 conf_legacy_crosscompile="$conf_legacy_crosscompile $conf_option" ;; |
214 --debug-configure Run the configure script with additional debug |
222 --debug-configure Run the configure script with additional debug |
215 logging enabled. |
223 logging enabled. |
216 |
224 |
217 Please be aware that, when cross-compiling, the OpenJDK configure script will |
225 Please be aware that, when cross-compiling, the OpenJDK configure script will |
218 generally use 'target' where autoconf traditionally uses 'host'. |
226 generally use 'target' where autoconf traditionally uses 'host'. |
|
227 |
|
228 Also note that variables must be passed on the command line. Variables in the |
|
229 environment will generally be ignored, unlike traditional autoconf scripts. |
219 EOT |
230 EOT |
220 fi |
231 fi |
221 else |
232 else |
222 echo configure exiting with result code $conf_result_code |
233 echo configure exiting with result code $conf_result_code |
223 fi |
234 fi |