From: Martin Liska Date: Wed, 29 Mar 2023 12:52:42 +0000 (+0200) Subject: configure: deprecate --enable-link-mutex option X-Git-Tag: basepoints/gcc-14~278 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8b2766e87dbf0d20808bc92d8e6ee7f876d19ab2;p=thirdparty%2Fgcc.git configure: deprecate --enable-link-mutex option PR bootstrap/109310 gcc/ChangeLog: * configure.ac: Emit a warning for deprecated option --enable-link-mutex. * configure: Regenerate. --- diff --git a/gcc/configure b/gcc/configure index 150865785334..88213d855d5d 100755 --- a/gcc/configure +++ b/gcc/configure @@ -31468,6 +31468,8 @@ $as_echo "$do_link_mutex" >&6; } if test "$do_link_mutex" = "yes"; then DO_LINK_MUTEX=true + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead" >&5 +$as_echo "$as_me: WARNING: --enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead" >&2;} else DO_LINK_MUTEX=false fi diff --git a/gcc/configure.ac b/gcc/configure.ac index 120151c474a7..b56036d298c9 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -7013,6 +7013,7 @@ AC_MSG_RESULT($do_link_mutex) if test "$do_link_mutex" = "yes"; then DO_LINK_MUTEX=true + AC_MSG_WARN([--enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead]) else DO_LINK_MUTEX=false fi