common/autoconf/boot-jdk.m4
changeset 45835 5f3f7ae12356
parent 45051 676afd13dea5
equal deleted inserted replaced
45808:0389cfac44bb 45835:5f3f7ae12356
   316   AC_SUBST(BOOT_JDK_MODULAR)
   316   AC_SUBST(BOOT_JDK_MODULAR)
   317 
   317 
   318   AC_SUBST(JAVAC_FLAGS)
   318   AC_SUBST(JAVAC_FLAGS)
   319 
   319 
   320   # Check if the boot jdk is 32 or 64 bit
   320   # Check if the boot jdk is 32 or 64 bit
   321   if "$JAVA" -d64 -version > /dev/null 2>&1; then
   321   if "$JAVA" -version 2>&1 | $GREP -q "64-Bit"; then
   322     BOOT_JDK_BITS="64"
   322     BOOT_JDK_BITS="64"
   323   else
   323   else
   324     BOOT_JDK_BITS="32"
   324     BOOT_JDK_BITS="32"
   325   fi
   325   fi
   326   AC_MSG_CHECKING([if Boot JDK is 32 or 64 bits])
   326   AC_MSG_CHECKING([if Boot JDK is 32 or 64 bits])