1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 20:25:17 +03:00
aports/testing/openjdk18/detect-busybox-date-as-gnu-date.patch
2022-04-28 07:27:27 +00:00

11 lines
353 B
Diff

--- old/make/autoconf/basic_tools.m4
+++ new/make/autoconf/basic_tools.m4
@@ -357,7 +357,7 @@
AC_SUBST(IS_GNU_TIME)
# Check if it's GNU date
- check_date=`$DATE --version 2>&1 | $GREP GNU`
+ check_date=`$DATE --version 2>&1 | $GREP GNU || $DATE --version 2>&1 | $GREP BusyBox`
if test "x$check_date" != x; then
IS_GNU_DATE=yes
else