From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1285) id B7A003938C12; Tue, 25 May 2021 10:13:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B7A003938C12 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Eric Botcazou To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-1036] Fix typo and weird syntax in configure script X-Act-Checkin: gcc X-Git-Author: Eric Botcazou X-Git-Refname: refs/heads/master X-Git-Oldrev: 45d5c4769a40447885ece0cf001933874af9daa1 X-Git-Newrev: 4b1987f8ad382a6cd0e2df3a9882b65ce8122fba Message-Id: <20210525101337.B7A003938C12@sourceware.org> Date: Tue, 25 May 2021 10:13:37 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2021 10:13:38 -0000 https://gcc.gnu.org/g:4b1987f8ad382a6cd0e2df3a9882b65ce8122fba commit r12-1036-g4b1987f8ad382a6cd0e2df3a9882b65ce8122fba Author: Eric Botcazou 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])