]> gcc.gnu.org Git - gcc.git/commitdiff
configure: deprecate --enable-link-mutex option
authorMartin Liska <mliska@suse.cz>
Wed, 29 Mar 2023 12:52:42 +0000 (14:52 +0200)
committerMartin Liska <mliska@suse.cz>
Wed, 29 Mar 2023 13:04:55 +0000 (15:04 +0200)
PR bootstrap/109310

gcc/ChangeLog:

* configure.ac: Emit a warning for deprecated option
--enable-link-mutex.
* configure: Regenerate.

gcc/configure
gcc/configure.ac

index 150865785334ab7cf9965931071ee7da28bbdb1a..88213d855d5da1e2a0a7d4d28b9d0e0cb6938290 100755 (executable)
@@ -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
index 120151c474a7fc6ba580e9a86de1f2211b198eb9..b56036d298c9f1e3d4be4cb17362cb1a7a2f705a 100644 (file)
@@ -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
This page took 0.088999 seconds and 5 git commands to generate.