]> git.ipfire.org Git - thirdparty/systemd.git/commit - test/mkosi.default.networkd-test
Drop dependency on m4
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 16 May 2021 13:20:46 +0000 (15:20 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 19 May 2021 01:24:43 +0000 (10:24 +0900)
commit44ff8df77748124eb5c5f257eb585e9da26225d8
tree94dca4f697449dc22ce5e669e2cd7c63109b0fad
parent02fa218b24304b14a4df82974a730ca341d188fc
Drop dependency on m4

m4 was hugely popular in the past, because autotools, automake, flex, bison and
many other things used it. But nowadays it much less popular, and might not even
be installed in the buildroot. (m4 is small, so it doesn't make a big difference.)

(FWIW, Fedora dropped make from the buildroot now,
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot. I think it's
reasonable to assume that m4 will be dropped at some point too.)

The main reason to drop m4 is that the syntax is not very nice, and we should
minimize the number of different syntaxes that we use. We still have two
(configure_file() with @FOO@ and jinja2 templates with {{foo}} and the
pythonesque conditional expressions), but at least we don't need m4 (with
m4_dnl and `quotes').
.mkosi/mkosi.arch
.mkosi/mkosi.debian
.mkosi/mkosi.fedora
.mkosi/mkosi.opensuse
.mkosi/mkosi.ubuntu
README
meson.build
test/TEST-06-SELINUX/test.sh
test/mkosi.default.networkd-test
tools/meson-apply-m4.sh [deleted file]