This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[patch] Fix --enable-libstdcxx-time documentation, show configure result
- From: Matthias Klose <doko at ubuntu dot com>
- To: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 06 Apr 2010 02:43:44 +0200
- Subject: [patch] Fix --enable-libstdcxx-time documentation, show configure result
Noticed while looking at a developer request to build with this option enabled
for Debian. I see it's not enabled for Fedora either. Do other distributions
enable this by default?
Seen both on the trunk and the 4.4 branch.
Matthias
# DP: Fix --enable-libstdcxx-time documentation, show configure result.
2010-04-06 Matthias Klose <doko@ubuntu.com>
* acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Show test result.
* aclocal.m4, 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.
--- a/src/libstdc++-v3/acinclude.m4~ 2010-01-26 16:50:51.000000000 +0000
+++ b/src/libstdc++-v3/acinclude.m4 2010-04-05 23:13:22.524835350 +0000
@@ -1075,8 +1075,9 @@
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
--- a/src/libstdc++-v3/doc/xml/manual/configure.xml~ 2010-02-26 03:40:59.000000000 +0100
+++ b/src/libstdc++-v3/doc/xml/manual/configure.xml 2010-04-06 01:42:38.264836871 +0200
@@ -324,9 +324,9 @@
</para>
</listitem></varlistentry>
- <varlistentry><term><code>--enable-clock-gettime</code></term>
+ <varlistentry><term><code>--enable-libstdcxx-time</code></term>
<listitem><para>This is an abbreviated form of
- <code>'--enable-clock-gettime=yes'</code>(described next).
+ <code>'--enable-libstdcxx-time=yes'</code>(described next).
</para>
</listitem></varlistentry>
--- a/src/libstdc++-v3/doc/html/manual/configure.html~ 2010-01-06 10:37:57.000000000 +0100
+++ b/src/libstdc++-v3/doc/html/manual/configure.html 2010-04-06 01:42:20.413585844 +0200
@@ -187,8 +187,8 @@
<span class="emphasis"><em>freestanding</em></span> environment, in which only a
minimal set of headers are provided. This option builds such an
environment.
- </p></dd><dt><span class="term"><code class="code">--enable-clock-gettime</code></span></dt><dd><p>This is an abbreviated form of
- <code class="code">'--enable-clock-gettime=yes'</code>(described next).
+ </p></dd><dt><span class="term"><code class="code">--enable-libstdcxx-time</code></span></dt><dd><p>This is an abbreviated form of
+ <code class="code">'--enable-libstdcxx-time=yes'</code>(described next).
</p></dd><dt><span class="term"><code class="code">--enable-libstdcxx-time=OPTION</code></span></dt><dd><p>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