public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Eric Botcazou <ebotcazou@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-1036] Fix typo and weird syntax in configure script
Date: Tue, 25 May 2021 10:13:37 +0000 (GMT)	[thread overview]
Message-ID: <20210525101337.B7A003938C12@sourceware.org> (raw)

https://gcc.gnu.org/g:4b1987f8ad382a6cd0e2df3a9882b65ce8122fba

commit r12-1036-g4b1987f8ad382a6cd0e2df3a9882b65ce8122fba
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Tue May 25 12:12:08 2021 +0200

    Fix typo and weird syntax in configure script
    
    c++tools/
            * configure.ac (--enable-maintainer-mode): Fix typo and weird syntax.
            * configure: Regenerate.

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

diff --git a/c++tools/configure b/c++tools/configure
index 3f511b2dbee..a288f7abe5d 100755
--- a/c++tools/configure
+++ b/c++tools/configure
@@ -2978,9 +2978,9 @@ else
 fi
 
 case "$enable_maintainer_mode" in
-  ("yes") maintainer_mode=yes ;;
-  ("no") maintainer=no ;;
-  (*) as_fn_error $? "unknown maintainer mode $enable_maintainer_mode" "$LINENO" 5 ;;
+  yes) maintainer_mode=yes ;;
+  no) maintainer_mode=no ;;
+  *) as_fn_error $? "unknown maintainer mode $enable_maintainer_mode" "$LINENO" 5 ;;
 esac
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking maintainer-mode" >&5
 $as_echo_n "checking maintainer-mode... " >&6; }
diff --git a/c++tools/configure.ac b/c++tools/configure.ac
index 1b08f7575b6..70fcb641db9 100644
--- a/c++tools/configure.ac
+++ b/c++tools/configure.ac
@@ -58,9 +58,9 @@ AS_HELP_STRING([--enable-maintainer-mode],
 [enable maintainer mode.  Add rules to rebuild configurey bits]),,
 [enable_maintainer_mode=no])
 case "$enable_maintainer_mode" in
-  ("yes") maintainer_mode=yes ;;
-  ("no") maintainer=no ;;
-  (*) AC_MSG_ERROR([unknown maintainer mode $enable_maintainer_mode]) ;;
+  yes) maintainer_mode=yes ;;
+  no) maintainer_mode=no ;;
+  *) AC_MSG_ERROR([unknown maintainer mode $enable_maintainer_mode]) ;;
 esac
 AC_MSG_CHECKING([maintainer-mode])
 AC_MSG_RESULT([$maintainer_mode])


                 reply	other threads:[~2021-05-25 10:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210525101337.B7A003938C12@sourceware.org \
    --to=ebotcazou@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).