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

Jonathan Gray jsg at jsg.id.au
Sun Jan 13 07:44:18 UTC 2019


On Fri, Jan 11, 2019 at 02:11:28PM -0800, Matt Turner 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.)

As we can not depend on python to build Mesa in OpenBSD I will have to
go back to maintaining a local Mesa build system if autotools is removed.

If you are looking for feedback from distributions you should also
mention this on the mesa-maintainers list.

> 
>  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


More information about the mesa-dev mailing list