Skip to content

automation: adapt build_from_source to use meson

Fernando Fernández Mancera requested to merge ff/automation_meson into automation

Summary

Adapt the the build-from-source.sh script to use meson or autotools depending on the version. In essence, if it lower than 1.47 then autotools, otherwise meson.

Purpose

Autotools is deprecated and we should move to meson by default ASAP.

Checklist

Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:

  • the subject for all commits is concise and explicative
  • the source is properly formatted
  • any relevant documentation is up to date
  • you have added unit tests if applicable
  • the NEWS file is updated when the change deserves to be mentioned, for example for new features, behavior changes, API deprecations, etc.

Merge request reports