3780 # definitions. It is replaced with custom functionality when building |
3780 # definitions. It is replaced with custom functionality when building |
3781 # custom sources. |
3781 # custom sources. |
3782 #CUSTOM_AUTOCONF_INCLUDE |
3782 #CUSTOM_AUTOCONF_INCLUDE |
3783 |
3783 |
3784 # Do not change or remove the following line, it is needed for consistency checks: |
3784 # Do not change or remove the following line, it is needed for consistency checks: |
3785 DATE_WHEN_GENERATED=1370333982 |
3785 DATE_WHEN_GENERATED=1370334570 |
3786 |
3786 |
3787 ############################################################################### |
3787 ############################################################################### |
3788 # |
3788 # |
3789 # Initialization / Boot-strapping |
3789 # Initialization / Boot-strapping |
3790 # |
3790 # |
16175 |
16175 |
16176 |
16176 |
16177 # Check whether --with-jtreg was given. |
16177 # Check whether --with-jtreg was given. |
16178 if test "${with_jtreg+set}" = set; then : |
16178 if test "${with_jtreg+set}" = set; then : |
16179 withval=$with_jtreg; |
16179 withval=$with_jtreg; |
16180 fi |
16180 else |
16181 |
16181 with_jtreg=no |
16182 |
16182 fi |
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JTReg Regression Test Harness" >&5 |
16183 |
16184 $as_echo_n "checking for JTReg Regression Test Harness... " >&6; } |
16184 |
16185 |
16185 if test "x$with_jtreg" = xno; then |
16186 if test "x$with_jtreg" != x; then |
16186 # jtreg disabled |
16187 JT_HOME="$with_jtreg" |
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jtreg" >&5 |
|
16188 $as_echo_n "checking for jtreg... " >&6; } |
|
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
16190 $as_echo "no" >&6; } |
|
16191 else |
|
16192 if test "x$with_jtreg" != xyes; then |
|
16193 # with path specified. |
|
16194 JT_HOME="$with_jtreg" |
|
16195 fi |
|
16196 |
|
16197 if test "x$JT_HOME" != x; then |
|
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jtreg" >&5 |
|
16199 $as_echo_n "checking for jtreg... " >&6; } |
|
16200 |
|
16201 # use JT_HOME enviroment var. |
16188 |
16202 |
16189 if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then |
16203 if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then |
16190 |
16204 |
16191 # Input might be given as Windows format, start by converting to |
16205 # Input might be given as Windows format, start by converting to |
16192 # unix format. |
16206 # unix format. |
16305 fi |
16319 fi |
16306 |
16320 |
16307 JT_HOME="`cd "$path"; $THEPWDCMD -L`" |
16321 JT_HOME="`cd "$path"; $THEPWDCMD -L`" |
16308 fi |
16322 fi |
16309 |
16323 |
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JT_HOME" >&5 |
16324 |
16311 $as_echo "$JT_HOME" >&6; } |
16325 # jtreg win32 script works for everybody |
16312 |
16326 JTREGEXE="$JT_HOME/win32/bin/jtreg" |
16313 # jtreg win32 script works for everybody |
16327 |
16314 JTREGEXE="$JT_HOME/win32/bin/jtreg" |
16328 if test ! -f "$JTREGEXE"; then |
16315 if test ! -f "$JTREGEXE"; then |
16329 as_fn_error $? "JTReg executable does not exist: $JTREGEXE" "$LINENO" 5 |
16316 as_fn_error $? "JTReg executable does not exist: $JTREGEXE" "$LINENO" 5 |
16330 fi |
16317 fi |
16331 |
16318 else |
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JTREGEXE" >&5 |
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16333 $as_echo "$JTREGEXE" >&6; } |
|
16334 else |
|
16335 # try to find jtreg on path |
|
16336 |
|
16337 for ac_prog in jtreg |
|
16338 do |
|
16339 # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
16340 set dummy $ac_prog; ac_word=$2 |
|
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
16342 $as_echo_n "checking for $ac_word... " >&6; } |
|
16343 if test "${ac_cv_path_JTREGEXE+set}" = set; then : |
|
16344 $as_echo_n "(cached) " >&6 |
|
16345 else |
|
16346 case $JTREGEXE in |
|
16347 [\\/]* | ?:[\\/]*) |
|
16348 ac_cv_path_JTREGEXE="$JTREGEXE" # Let the user override the test with a path. |
|
16349 ;; |
|
16350 *) |
|
16351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
16352 for as_dir in $PATH |
|
16353 do |
|
16354 IFS=$as_save_IFS |
|
16355 test -z "$as_dir" && as_dir=. |
|
16356 for ac_exec_ext in '' $ac_executable_extensions; do |
|
16357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
16358 ac_cv_path_JTREGEXE="$as_dir/$ac_word$ac_exec_ext" |
|
16359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
16360 break 2 |
|
16361 fi |
|
16362 done |
|
16363 done |
|
16364 IFS=$as_save_IFS |
|
16365 |
|
16366 ;; |
|
16367 esac |
|
16368 fi |
|
16369 JTREGEXE=$ac_cv_path_JTREGEXE |
|
16370 if test -n "$JTREGEXE"; then |
|
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JTREGEXE" >&5 |
|
16372 $as_echo "$JTREGEXE" >&6; } |
|
16373 else |
|
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16320 $as_echo "no" >&6; } |
16375 $as_echo "no" >&6; } |
|
16376 fi |
|
16377 |
|
16378 |
|
16379 test -n "$JTREGEXE" && break |
|
16380 done |
|
16381 |
|
16382 |
|
16383 if test "x$JTREGEXE" = x; then |
|
16384 if test "xjtreg" = x; then |
|
16385 PROG_NAME=jtregexe |
|
16386 else |
|
16387 PROG_NAME=jtreg |
|
16388 fi |
|
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5 |
|
16390 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;} |
|
16391 as_fn_error $? "Cannot continue" "$LINENO" 5 |
|
16392 fi |
|
16393 |
|
16394 |
|
16395 JT_HOME="`$DIRNAME $JTREGEXE`" |
|
16396 fi |
16321 fi |
16397 fi |
16322 |
16398 |
16323 |
16399 |
16324 |
16400 |
16325 |
16401 |