From b76602dcf22ea0dd89560142d7a4d00c928f5abe Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 21 Nov 2017 06:22:13 +0000 Subject: [PATCH] RTEMS: Enable some libstdc++ features libstdc++/ * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add rtems*. (GLIBCXX_ENABLE_FILESYSTEM_TS): Likewise. * configure: Regenerate. From-SVN: r254985 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/acinclude.m4 | 5 ++++- libstdc++-v3/configure | 5 ++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 40f0076002c..f4fac7520b0 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2017-11-21 Sebastian Huber + + * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add rtems*. + (GLIBCXX_ENABLE_FILESYSTEM_TS): Likewise. + * configure: Regenerate. + 2017-11-20 François Dumont * include/bits/streambuf_iterator.h (istreambuf_iterator<>): Declare diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 1935bd0fd9f..3bd669a4cc8 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -1422,7 +1422,7 @@ AC_DEFUN([GLIBCXX_ENABLE_LIBSTDCXX_TIME], [ ac_has_nanosleep=yes ac_has_sched_yield=yes ;; - freebsd*|netbsd*|dragonfly*) + freebsd*|netbsd*|dragonfly*|rtems*) ac_has_clock_monotonic=yes ac_has_clock_realtime=yes ac_has_nanosleep=yes @@ -4294,6 +4294,9 @@ AC_DEFUN([GLIBCXX_ENABLE_FILESYSTEM_TS], [ gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu) enable_libstdcxx_filesystem_ts=yes ;; + rtems*) + enable_libstdcxx_filesystem_ts=yes + ;; solaris*) enable_libstdcxx_filesystem_ts=yes ;; diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 2ae77c9c932..f5798d3a603 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -20568,7 +20568,7 @@ $as_echo "$glibcxx_glibc217" >&6; } ac_has_nanosleep=yes ac_has_sched_yield=yes ;; - freebsd*|netbsd*|dragonfly*) + freebsd*|netbsd*|dragonfly*|rtems*) ac_has_clock_monotonic=yes ac_has_clock_realtime=yes ac_has_nanosleep=yes @@ -79998,6 +79998,9 @@ $as_echo_n "checking whether to build Filesystem TS support... " >&6; } gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu) enable_libstdcxx_filesystem_ts=yes ;; + rtems*) + enable_libstdcxx_filesystem_ts=yes + ;; solaris*) enable_libstdcxx_filesystem_ts=yes ;; -- 2.30.2