mirror of
https://github.com/darlinghq/darling-openjdk.git
synced 2024-11-23 04:19:43 +00:00
8235789: AC_REQUIRE: 'PLATFORM_EXTRACT_TARGET_AND_BUILD' was expanded before it was required
Reviewed-by: erikj
This commit is contained in:
parent
75acf956f1
commit
6bda51c28e
@ -561,12 +561,11 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
|
||||
PLATFORM_CHECK_DEPRECATION
|
||||
])
|
||||
|
||||
AC_DEFUN_ONCE([PLATFORM_CHECK_DEPRECATION],
|
||||
AC_DEFUN([PLATFORM_CHECK_DEPRECATION],
|
||||
[
|
||||
AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
|
||||
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
|
||||
|
||||
AC_REQUIRE([PLATFORM_EXTRACT_TARGET_AND_BUILD])
|
||||
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_CPU_ARCH" = xsparc; then
|
||||
if test "x$enable_deprecated_ports" = "xyes"; then
|
||||
AC_MSG_WARN([The Solaris and SPARC ports are deprecated and may be removed in a future release.])
|
||||
|
Loading…
Reference in New Issue
Block a user