Skip to content

Commit 9e02447

Browse files
author
Andrew Leonard
committed
8279834: Alpine Linux fails to build when --with-source-date enabled
Reviewed-by: erikj
1 parent 08e14c6 commit 9e02447

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

make/autoconf/basic_tools.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -356,9 +356,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
356356
fi
357357
AC_SUBST(IS_GNU_TIME)
358358
359-
# Check if it's GNU date
360-
AC_MSG_CHECKING([if date is the GNU version])
361-
check_date=`$DATE --version 2>&1 | $GREP GNU`
359+
# Check if it's a GNU date compatible version
360+
AC_MSG_CHECKING([if date is a GNU compatible version])
361+
check_date=`$DATE --version 2>&1 | $GREP "GNU\|BusyBox"`
362362
if test "x$check_date" != x; then
363363
AC_MSG_RESULT([yes])
364364
IS_GNU_DATE=yes

0 commit comments

Comments
 (0)