< prev index next >

make/autoconf/basic.m4

Print this page
8248238: Adding Windows support to OpenJDK on AArch64

Summary: Adding Windows support for AArch64

Contributed-by: Ludovic Henry <luhenry@microsoft.com>, Monica Beckwith <monica.beckwith@microsoft.com>
Reviewed-by:


 283       fi
 284     fi
 285 
 286     # set SDKROOT too, Xcode tools will pick it up
 287     SDKROOT="$SYSROOT"
 288     AC_SUBST(SDKROOT)
 289   fi
 290 
 291   # Prepend the extra path to the global path
 292   UTIL_PREPEND_TO_PATH([PATH],$EXTRA_PATH)
 293 
 294   AC_MSG_CHECKING([for sysroot])
 295   AC_MSG_RESULT([$SYSROOT])
 296   AC_MSG_CHECKING([for toolchain path])
 297   AC_MSG_RESULT([$TOOLCHAIN_PATH])
 298   AC_MSG_CHECKING([for extra path])
 299   AC_MSG_RESULT([$EXTRA_PATH])
 300 ])
 301 
 302 ###############################################################################










 303 AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
 304 [
 305 
 306   AC_ARG_WITH(conf-name, [AS_HELP_STRING([--with-conf-name],
 307       [use this as the name of the configuration @<:@generated from important configuration options@:>@])],
 308       [ CONF_NAME=${with_conf_name} ])
 309 
 310   # Test from where we are running configure, in or outside of src root.
 311   AC_MSG_CHECKING([where to store configuration])
 312   if test "x$CONFIGURE_START_DIR" = "x$TOPDIR" \
 313       || test "x$CONFIGURE_START_DIR" = "x$CUSTOM_ROOT" \
 314       || test "x$CONFIGURE_START_DIR" = "x$TOPDIR/make/autoconf" \
 315       || test "x$CONFIGURE_START_DIR" = "x$TOPDIR/make" ; then
 316     # We are running configure from the src root.
 317     # Create a default ./build/target-variant-debuglevel output root.
 318     if test "x${CONF_NAME}" = x; then
 319       AC_MSG_RESULT([in default location])
 320       CONF_NAME="${OPENJDK_TARGET_OS}-${OPENJDK_TARGET_CPU}-${JVM_VARIANTS_WITH_AND}-${DEBUG_LEVEL}"
 321     else
 322       AC_MSG_RESULT([in build directory with custom name])




 283       fi
 284     fi
 285 
 286     # set SDKROOT too, Xcode tools will pick it up
 287     SDKROOT="$SYSROOT"
 288     AC_SUBST(SDKROOT)
 289   fi
 290 
 291   # Prepend the extra path to the global path
 292   UTIL_PREPEND_TO_PATH([PATH],$EXTRA_PATH)
 293 
 294   AC_MSG_CHECKING([for sysroot])
 295   AC_MSG_RESULT([$SYSROOT])
 296   AC_MSG_CHECKING([for toolchain path])
 297   AC_MSG_RESULT([$TOOLCHAIN_PATH])
 298   AC_MSG_CHECKING([for extra path])
 299   AC_MSG_RESULT([$EXTRA_PATH])
 300 ])
 301 
 302 ###############################################################################
 303 # Evaluates platform specific overrides for build devkit variables.
 304 # $1: Name of variable
 305 AC_DEFUN([BASIC_EVAL_BUILD_DEVKIT_VARIABLE],
 306 [
 307   if test "x[$]$1" = x; then
 308     eval $1="\${$1_${OPENJDK_BUILD_CPU}}"
 309   fi
 310 ])
 311 
 312 ###############################################################################
 313 AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
 314 [
 315 
 316   AC_ARG_WITH(conf-name, [AS_HELP_STRING([--with-conf-name],
 317       [use this as the name of the configuration @<:@generated from important configuration options@:>@])],
 318       [ CONF_NAME=${with_conf_name} ])
 319 
 320   # Test from where we are running configure, in or outside of src root.
 321   AC_MSG_CHECKING([where to store configuration])
 322   if test "x$CONFIGURE_START_DIR" = "x$TOPDIR" \
 323       || test "x$CONFIGURE_START_DIR" = "x$CUSTOM_ROOT" \
 324       || test "x$CONFIGURE_START_DIR" = "x$TOPDIR/make/autoconf" \
 325       || test "x$CONFIGURE_START_DIR" = "x$TOPDIR/make" ; then
 326     # We are running configure from the src root.
 327     # Create a default ./build/target-variant-debuglevel output root.
 328     if test "x${CONF_NAME}" = x; then
 329       AC_MSG_RESULT([in default location])
 330       CONF_NAME="${OPENJDK_TARGET_OS}-${OPENJDK_TARGET_CPU}-${JVM_VARIANTS_WITH_AND}-${DEBUG_LEVEL}"
 331     else
 332       AC_MSG_RESULT([in build directory with custom name])


< prev index next >