diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2021-05-25 12:12:08 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2021-05-25 12:13:15 +0200 |
commit | 4b1987f8ad382a6cd0e2df3a9882b65ce8122fba (patch) | |
tree | 1f130745d63424257373d0986c7c5e30a65180e8 | |
parent | 45d5c4769a40447885ece0cf001933874af9daa1 (diff) | |
download | gcc-4b1987f8ad382a6cd0e2df3a9882b65ce8122fba.zip gcc-4b1987f8ad382a6cd0e2df3a9882b65ce8122fba.tar.gz gcc-4b1987f8ad382a6cd0e2df3a9882b65ce8122fba.tar.bz2 |
Fix typo and weird syntax in configure script
c++tools/
* configure.ac (--enable-maintainer-mode): Fix typo and weird syntax.
* configure: Regenerate.
-rwxr-xr-x | c++tools/configure | 6 | ||||
-rw-r--r-- | c++tools/configure.ac | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/c++tools/configure b/c++tools/configure index 3f511b2..a288f7a 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 1b08f75..70fcb64 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]) |