--- a/common/autoconf/source-dirs.m4 Wed Dec 07 16:08:23 2016 +0100
+++ b/common/autoconf/source-dirs.m4 Thu Dec 08 16:18:03 2016 +0100
@@ -62,27 +62,9 @@
[
BUILD_OUTPUT="$OUTPUT_ROOT"
AC_SUBST(BUILD_OUTPUT)
+ JDK_OUTPUTDIR="$OUTPUT_ROOT/jdk"
- HOTSPOT_DIST="$OUTPUT_ROOT/hotspot/dist"
- BUILD_HOTSPOT=true
- AC_SUBST(HOTSPOT_DIST)
- AC_SUBST(BUILD_HOTSPOT)
- AC_ARG_WITH(import-hotspot, [AS_HELP_STRING([--with-import-hotspot],
- [import hotspot binaries from this jdk image or hotspot build dist dir instead of building from source])])
- if test "x$with_import_hotspot" != x; then
- CURDIR="$PWD"
- cd "$with_import_hotspot"
- HOTSPOT_DIST="`pwd`"
- cd "$CURDIR"
- if ! (test -d $HOTSPOT_DIST/lib && test -d $HOTSPOT_DIST/jre/lib); then
- AC_MSG_ERROR([You have to import hotspot from a full jdk image or hotspot build dist dir!])
- fi
- AC_MSG_CHECKING([if hotspot should be imported])
- AC_MSG_RESULT([yes from $HOTSPOT_DIST])
- BUILD_HOTSPOT=false
- fi
-
- JDK_OUTPUTDIR="$OUTPUT_ROOT/jdk"
+ BASIC_DEPRECATED_ARG_WITH(import_hotspot)
])
################################################################################