mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00
8279834: Alpine Linux fails to build when --with-source-date enabled
Reviewed-by: erikj
This commit is contained in:
parent
08e14c605e
commit
9e0244762c
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -356,9 +356,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
|
||||||
fi
|
fi
|
||||||
AC_SUBST(IS_GNU_TIME)
|
AC_SUBST(IS_GNU_TIME)
|
||||||
|
|
||||||
# Check if it's GNU date
|
# Check if it's a GNU date compatible version
|
||||||
AC_MSG_CHECKING([if date is the GNU version])
|
AC_MSG_CHECKING([if date is a GNU compatible version])
|
||||||
check_date=`$DATE --version 2>&1 | $GREP GNU`
|
check_date=`$DATE --version 2>&1 | $GREP "GNU\|BusyBox"`
|
||||||
if test "x$check_date" != x; then
|
if test "x$check_date" != x; then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
IS_GNU_DATE=yes
|
IS_GNU_DATE=yes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue