From: Gert Wollny <gw.foss...@gmail.com> Since Meson will eventually be the only build system deprecate autotools now. It can still be used by invoking configure with the flag --enable-autotools
NAKed-by: Ilia Mirkin <imir...@alum.mit.edu> Acked-by: Eric Engestrom <eric.engest...@intel.com> Acked-by: Kenneth Graunke <kenn...@whitecape.org> Acked-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Acked-by: Jason Ekstrand <ja...@jlekstrand.net> Acked-by: Rob Clark <robdcl...@gmail.com> Acked-by: Marek Olšák <marek.ol...@amd.com> Reviewed-by: Christian Gmeiner <christian.gmei...@gmail.com> Reviewed-by: Matt Turner <matts...@gmail.com> Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by: Gert Wollny <gw.foss...@gmail.com> --- I think there's support for overriding the sole objection to this patch. To confirm: (1) The plan is to remove Autotools, perhaps after the 19.0 release (2) This patch's purpose is to ensure that everyone knows that Autotools will be going away (think: people who build Mesa as part of an automated process and wouldn't notice a deprecation warning unless it requires some action from them) (3) We expect all reasonable concerns about Meson to be resolved before Autotools is removed (e.g., reconfiguration problems, retrieving configuration command line, configuration status output, etc.) configure.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configure.ac b/configure.ac index e4d20054d5f..c7473d77eff 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,19 @@ mingw*) ;; esac +AC_ARG_ENABLE(autotools, + [AS_HELP_STRING([--enable-autotools], + [Enable the use of this autotools based build configuration])], + [enable_autotools=$enableval], [enable_autotools=no]) + +if test "x$enable_autotools" != "xyes" ; then + AC_MSG_ERROR([the autotools build system has been deprecated in favour of + meson and will be removed eventually. For instructions on how to use meson + see https://www.mesa3d.org/meson.html. + If you still want to use the autotools build, then add --enable-autotools + to the configure command line.]) +fi + # Support silent build rules, requires at least automake-1.11. Disable # by either passing --disable-silent-rules to configure or passing V=1 # to make -- 2.19.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev