--- libstdc++-v3/acinclude.m4.orig 2020-03-04 19:30:03.000000000 +1100 +++ libstdc++-v3/acinclude.m4 2020-09-09 22:31:09.711684000 +1000 @@ -1425,7 +1425,7 @@ ac_has_nanosleep=yes ac_has_sched_yield=yes ;; - freebsd*|netbsd*|dragonfly*|rtems*) + bsdsunix*|freebsd*|netbsd*|dragonfly*|rtems*) ac_has_clock_monotonic=yes ac_has_clock_realtime=yes ac_has_nanosleep=yes @@ -2419,7 +2419,7 @@ darwin*) enable_clocale_flag=darwin ;; - dragonfly* | freebsd*) + bsdsunix* | dragonfly* | freebsd*) enable_clocale_flag=dragonfly ;; openbsd*) @@ -2515,7 +2515,7 @@ ;; dragonfly) - AC_MSG_RESULT(dragonfly or freebsd) + AC_MSG_RESULT(dragonfly, bsdsunix or freebsd) CLOCALE_H=config/locale/dragonfly/c_locale.h CLOCALE_CC=config/locale/dragonfly/c_locale.cc @@ -4290,7 +4290,7 @@ fi if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then case "${target_os}" in - freebsd*|netbsd*|openbsd*|dragonfly*|darwin*) + bsdsunix*|freebsd*|netbsd*|openbsd*|dragonfly*|darwin*) enable_libstdcxx_filesystem_ts=yes ;; gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)