public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1036] Fix typo and weird syntax in configure script
@ 2021-05-25 10:13 Eric Botcazou
  0 siblings, 0 replies; only message in thread
From: Eric Botcazou @ 2021-05-25 10:13 UTC (permalink / raw)
  To: gcc-cvs

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])


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

only message in thread, other threads:[~2021-05-25 10:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 10:13 [gcc r12-1036] Fix typo and weird syntax in configure script Eric Botcazou

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).