diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index dba4af68492f..a5f2cafdc3e8 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,11 @@
+2010-04-06 Matthias Klose
+
+ * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Show test result.
+ * configure: Regenerate.
+ * doc/xml/manual/configure.xml, doc/html/manual/configure.html:
+ Document --enable-libstdcxx-time as the short form for
+ --enable-libstdcxx-time=yes.
+
2010-04-03 Paolo Carlini
* include/bits/basic_string.h: Fix pasto in comment.
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index 94b53b89e770..f54517f200aa 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -1075,8 +1075,9 @@ AC_DEFUN([GLIBCXX_ENABLE_LIBSTDCXX_TIME], [
CXXFLAGS="$CXXFLAGS -fno-exceptions"
ac_save_LIBS="$LIBS"
- ac_has_clock_monotonic=no;
- ac_has_clock_realtime=no;
+ ac_has_clock_monotonic=no
+ ac_has_clock_realtime=no
+ AC_MSG_RESULT($enable_libstdcxx_time)
if test x"$enable_libstdcxx_time" != x"no"; then
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index ed611d66d127..dc77c0d7c1f9 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -18860,8 +18860,10 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
CXXFLAGS="$CXXFLAGS -fno-exceptions"
ac_save_LIBS="$LIBS"
- ac_has_clock_monotonic=no;
- ac_has_clock_realtime=no;
+ ac_has_clock_monotonic=no
+ ac_has_clock_realtime=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
+$as_echo "$enable_libstdcxx_time" >&6; }
if test x"$enable_libstdcxx_time" != x"no"; then
diff --git a/libstdc++-v3/doc/html/manual/configure.html b/libstdc++-v3/doc/html/manual/configure.html
index d7cde522e825..c5ee8c3b546a 100644
--- a/libstdc++-v3/doc/html/manual/configure.html
+++ b/libstdc++-v3/doc/html/manual/configure.html
@@ -187,8 +187,8 @@
freestanding environment, in which only a
minimal set of headers are provided. This option builds such an
environment.
-
--enable-clock-gettime
This is an abbreviated form of
- '--enable-clock-gettime=yes'
(described next).
+
--enable-libstdcxx-time
This is an abbreviated form of
+ '--enable-libstdcxx-time=yes'
(described next).
--enable-libstdcxx-time=OPTION
Enables link-type checks for the availability of the
clock_gettime clocks, used in the implementation of [time.clock],
and of the nanosleep and sched_yield functions, used in the
diff --git a/libstdc++-v3/doc/xml/manual/configure.xml b/libstdc++-v3/doc/xml/manual/configure.xml
index 26d7d51c2c16..8cca56cd8280 100644
--- a/libstdc++-v3/doc/xml/manual/configure.xml
+++ b/libstdc++-v3/doc/xml/manual/configure.xml
@@ -324,9 +324,9 @@
- --enable-clock-gettime
+ --enable-libstdcxx-time
This is an abbreviated form of
- '--enable-clock-gettime=yes'
(described next).
+ '--enable-libstdcxx-time=yes'
(described next).