From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1285) id E06FC3938C00; Tue, 25 May 2021 10:16:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E06FC3938C00 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 r11-8466] Fix typo and weird syntax in configure script X-Act-Checkin: gcc X-Git-Author: Eric Botcazou X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: edd7bbe0e96a0d45d6ae142c5809ef1cae6c0999 X-Git-Newrev: 41a5fc2a394ec42fac56dd8d818de1450d763e33 Message-Id: <20210525101613.E06FC3938C00@sourceware.org> Date: Tue, 25 May 2021 10:16:13 +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:16:14 -0000 https://gcc.gnu.org/g:41a5fc2a394ec42fac56dd8d818de1450d763e33 commit r11-8466-g41a5fc2a394ec42fac56dd8d818de1450d763e33 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 5771f2ace68..c8f85209188 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])