[Mesa-dev] [PATCH] autotools: Deprecate the use of autotools

Jason Ekstrand jason at jlekstrand.net
Fri Jan 11 22:17:23 UTC 2019


On Fri, Jan 11, 2019 at 4:11 PM Matt Turner <mattst88 at gmail.com> wrote:

> From: Gert Wollny <gw.fossdev at 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 <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: Jason Ekstrand <jason at jlekstrand.net>
> Acked-by: Rob Clark <robdclark at gmail.com>
> Acked-by: Marek Olšák <marek.olsak at amd.com>
> 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>
> ---
> 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.)
>

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.

--Jason


>
>  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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190111/8465696c/attachment-0001.html>


More information about the mesa-dev mailing list