<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Jan 11, 2019 at 4:11 PM Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Gert Wollny <<a href="mailto:gw.fossdev@gmail.com" target="_blank">gw.fossdev@gmail.com</a>><br>
<br>
Since Meson will eventually be the only build system deprecate autotools<br>
now. It can still be used by invoking configure with the flag<br>
  --enable-autotools<br>
<br>
NAKed-by: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu" target="_blank">imirkin@alum.mit.edu</a>><br>
Acked-by: Eric Engestrom <<a href="mailto:eric.engestrom@intel.com" target="_blank">eric.engestrom@intel.com</a>><br>
Acked-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org" target="_blank">kenneth@whitecape.org</a>><br>
Acked-by: Lionel Landwerlin <<a href="mailto:lionel.g.landwerlin@intel.com" target="_blank">lionel.g.landwerlin@intel.com</a>><br>
Acked-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net" target="_blank">jason@jlekstrand.net</a>><br>
Acked-by: Rob Clark <<a href="mailto:robdclark@gmail.com" target="_blank">robdclark@gmail.com</a>><br>
Acked-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com" target="_blank">marek.olsak@amd.com</a>><br>
Reviewed-by: Christian Gmeiner <<a href="mailto:christian.gmeiner@gmail.com" target="_blank">christian.gmeiner@gmail.com</a>><br>
Reviewed-by: Matt Turner <<a href="mailto:mattst88@gmail.com" target="_blank">mattst88@gmail.com</a>><br>
Reviewed-by: Eric Anholt <<a href="mailto:eric@anholt.net" target="_blank">eric@anholt.net</a>><br>
Signed-off-by: Gert Wollny <<a href="mailto:gw.fossdev@gmail.com" target="_blank">gw.fossdev@gmail.com</a>><br>
---<br>
I think there's support for overriding the sole objection to this patch.<br>
<br>
To confirm:<br>
<br>
    (1) The plan is to remove Autotools, perhaps after the 19.0 release<br>
<br>
    (2) This patch's purpose is to ensure that everyone knows that<br>
        Autotools will be going away (think: people who build Mesa as<br>
        part of an automated process and wouldn't notice a deprecation<br>
        warning unless it requires some action from them)<br>
<br>
    (3) We expect all reasonable concerns about Meson to be resolved<br>
        before Autotools is removed (e.g., reconfiguration problems,<br>
        retrieving configuration command line, configuration status<br>
        output, etc.)<br></blockquote><div><br></div><div>Do we have a tracker bug for these yet?  It'd be good to have one if we don't already so that we can keep track of the reasonable blocking issues.</div><div><br></div><div>--Jason<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
 <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> | 13 +++++++++++++<br>
 1 file changed, 13 insertions(+)<br>
<br>
diff --git a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
index e4d20054d5f..c7473d77eff 100644<br>
--- a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
+++ b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
@@ -52,6 +52,19 @@ mingw*)<br>
     ;;<br>
 esac<br>
<br>
+AC_ARG_ENABLE(autotools,<br>
+   [AS_HELP_STRING([--enable-autotools],<br>
+                   [Enable the use of this autotools based build configuration])],<br>
+   [enable_autotools=$enableval], [enable_autotools=no])<br>
+<br>
+if test "x$enable_autotools" != "xyes" ; then<br>
+    AC_MSG_ERROR([the autotools build system has been deprecated in favour of<br>
+    meson and will be removed eventually. For instructions on how to use meson<br>
+    see <a href="https://www.mesa3d.org/meson.html" rel="noreferrer" target="_blank">https://www.mesa3d.org/meson.html</a>.<br>
+    If you still want to use the autotools build, then add --enable-autotools<br>
+    to the configure command line.])<br>
+fi<br>
+<br>
 # Support silent build rules, requires at least automake-1.11. Disable<br>
 # by either passing --disable-silent-rules to configure or passing V=1<br>
 # to make<br>
-- <br>
2.19.2<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div></div>