From e68777c87ceed02ab199b32f941778c3cf97c794 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Sun, 16 Dec 2018 12:23:52 +0100 Subject: [PATCH] autotools: Deprecate the use of autotools MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Acked-by: Eric Engestrom Acked-by: Kenneth Graunke Acked-by: Lionel Landwerlin Acked-by: Rob Clark Acked-by: Jason Ekstrand Acked-by: Marek Olšák Acked-by: Kristian H. Kristensen Reviewed-by: Christian Gmeiner Reviewed-by: Matt Turner Reviewed-by: Eric Anholt Signed-off-by: Gert Wollny --- 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.30.2