Mesa (master): autotools: Deprecate the use of autotools
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jan 16 17:52:53 UTC 2019
Module: Mesa
Branch: master
Commit: e68777c87ceed02ab199b32f941778c3cf97c794
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e68777c87ceed02ab199b32f941778c3cf97c794
Author: Gert Wollny <gw.fossdev at gmail.com>
Date: Sun Dec 16 12:23:52 2018 +0100
autotools: Deprecate the use of autotools
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 <imirkin at alum.mit.edu>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
Acked-by: Kenneth Graunke <kenneth at whitecape.org>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Acked-by: Rob Clark <robdclark at gmail.com>
Acked-by: Jason Ekstrand <jason at jlekstrand.net>
Acked-by: Marek Olšák <marek.olsak at amd.com>
Acked-by: Kristian H. Kristensen <hoegsberg at chromium.org>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
---
configure.ac | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/configure.ac b/configure.ac
index e4d20054d5..c7473d77ef 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
More information about the mesa-commit
mailing list