< prev index next >
make/autoconf/boot-jdk.m4
Print this page
rev 48224 : 8193189: Allow --boot-jdk to accept a .tar.gz compressed JDK image
*** 100,111 ****
# Test: Is bootjdk explicitly set by command line arguments?
AC_DEFUN([BOOTJDK_CHECK_ARGUMENTS],
[
if test "x$with_boot_jdk" != x; then
! BOOT_JDK=$with_boot_jdk
! BOOT_JDK_FOUND=maybe
AC_MSG_NOTICE([Found potential Boot JDK using configure arguments])
fi
])
# Test: Is $JAVA_HOME set?
--- 100,126 ----
# Test: Is bootjdk explicitly set by command line arguments?
AC_DEFUN([BOOTJDK_CHECK_ARGUMENTS],
[
if test "x$with_boot_jdk" != x; then
! if test -d "$with_boot_jdk"; then
! BOOT_JDK=$with_boot_jdk
! BOOT_JDK_FOUND=maybe
! else
! case "$with_boot_jdk" in
! *.tar.gz )
! BOOT_JDK=$CONFIGURESUPPORT_OUTPUTDIR/boot-jdk
! BOOT_JDK_FOUND=maybe
!
! $MKDIR $BOOT_JDK
! $TAR xzf $with_boot_jdk -C $BOOT_JDK --strip-components=1
! ;;
! * )
! BOOT_JDK_FOUND=no
! ;;
! esac
! fi
AC_MSG_NOTICE([Found potential Boot JDK using configure arguments])
fi
])
# Test: Is $JAVA_HOME set?
< prev index next >