201 ( . $conf_script_to_run "${conf_processed_arguments[@]}" ) 202 fi 203 204 conf_result_code=$? 205 ### 206 ### Post-processing 207 ### 208 209 if test $conf_result_code -eq 0; then 210 if test "x$conf_print_help" = xtrue; then 211 cat <<EOT 212 213 Additional (non-autoconf) OpenJDK Options: 214 --openjdk-target=TARGET cross-compile with TARGET as target platform 215 (i.e. the one you will run the resulting binary on). 216 Equivalent to --host=TARGET --target=TARGET 217 --build=<current platform> 218 --debug-configure Run the configure script with additional debug 219 logging enabled. 220 221 Please be aware that, when cross-compiling, the OpenJDK configure script will 222 generally use 'target' where autoconf traditionally uses 'host'. 223 224 Also note that variables must be passed on the command line. Variables in the 225 environment will generally be ignored, unlike traditional autoconf scripts. 226 EOT 227 fi 228 else 229 echo configure exiting with result code $conf_result_code 230 fi 231 232 exit $conf_result_code | 201 ( . $conf_script_to_run "${conf_processed_arguments[@]}" ) 202 fi 203 204 conf_result_code=$? 205 ### 206 ### Post-processing 207 ### 208 209 if test $conf_result_code -eq 0; then 210 if test "x$conf_print_help" = xtrue; then 211 cat <<EOT 212 213 Additional (non-autoconf) OpenJDK Options: 214 --openjdk-target=TARGET cross-compile with TARGET as target platform 215 (i.e. the one you will run the resulting binary on). 216 Equivalent to --host=TARGET --target=TARGET 217 --build=<current platform> 218 --debug-configure Run the configure script with additional debug 219 logging enabled. 220 221 EOT 222 223 # Print list of toolchains. This must be done by the autoconf script. 224 ( CONFIGURE_PRINT_TOOLCHAIN_LIST=true . $conf_script_to_run PRINTF=printf ) 225 226 cat <<EOT 227 228 Please be aware that, when cross-compiling, the OpenJDK configure script will 229 generally use 'target' where autoconf traditionally uses 'host'. 230 231 Also note that variables must be passed on the command line. Variables in the 232 environment will generally be ignored, unlike traditional autoconf scripts. 233 EOT 234 fi 235 else 236 echo configure exiting with result code $conf_result_code 237 fi 238 239 exit $conf_result_code |