public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7642] top-level: Fix comment about --enable-libstdcxx in configure
@ 2022-03-14 13:09 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-03-14 13:09 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:67a1cb2ad16ff9ff5a7dc4532d0e0fe98be42382

commit r12-7642-g67a1cb2ad16ff9ff5a7dc4532d0e0fe98be42382
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Mar 11 18:33:40 2022 +0000

    top-level: Fix comment about --enable-libstdcxx in configure
    
    The custom option for enabling/disabling libstdc++ is not spelled the
    same as the directory name:
    
    AC_ARG_ENABLE(libstdcxx,
    AS_HELP_STRING([--disable-libstdcxx],
      [do not build libstdc++-v3 directory])
    
    The comment referring to it later use the wrong name.
    
    ChangeLog:
    
            * configure.ac: Fix incorrect option in comment.
            * configure: Regenerate.

Diff:
---
 configure    | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 9c2d7df1bb2..f7e0fa46c9c 100755
--- a/configure
+++ b/configure
@@ -3390,7 +3390,7 @@ case "${target}" in
 esac
 
 # Disable libstdc++-v3 for some systems.
-# Allow user to override this if they pass --enable-libstdc++-v3
+# Allow user to override this if they pass --enable-libstdcxx
 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
   case "${target}" in
     *-*-vxworks*)
diff --git a/configure.ac b/configure.ac
index 68cc5cc31fe..434b1a267a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -649,7 +649,7 @@ case "${target}" in
 esac
 
 # Disable libstdc++-v3 for some systems.
-# Allow user to override this if they pass --enable-libstdc++-v3
+# Allow user to override this if they pass --enable-libstdcxx
 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
   case "${target}" in
     *-*-vxworks*)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-14 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-14 13:09 [gcc r12-7642] top-level: Fix comment about --enable-libstdcxx in configure Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).