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

Ilia Mirkin imirkin at alum.mit.edu
Wed Dec 19 17:19:36 UTC 2018


On Sun, Dec 16, 2018 at 6:24 AM Gert Wollny <gw.fossdev at gmail.com> wrote:
>
> 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
>
> Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>

In case it's not clear from the later discussion:

Strongly NAKed-by: Ilia Mirkin <imirkin at alum.mit.edu>

This should not be applied to the repository.

> ---
> IMO autotools should be properly deprecated prior it its removal, so here
> is a patch to do just that. I think autotools should be marked as deprecated
> for the 19.0 release and, depending on feedback, it could be removed with 19.1.
> Anyway, in the end it's up to the release team how to handle this.
>
> Best,
> Gert
>
>  configure.ac | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 9b437a252c..73f5978bb7 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