From: Eric Botcazou Date: Tue, 25 May 2021 10:12:08 +0000 (+0200) Subject: Fix typo and weird syntax in configure script X-Git-Tag: releases/gcc-11.2.0~336 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41a5fc2a394ec42fac56dd8d818de1450d763e33;p=thirdparty%2Fgcc.git Fix typo and weird syntax in configure script c++tools/ * configure.ac (--enable-maintainer-mode): Fix typo and weird syntax. * configure: Regenerate. --- diff --git a/c++tools/configure b/c++tools/configure index 3f511b2dbee0..a288f7abe5da 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 5771f2ace687..c8f852091888 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])