aboutsummaryrefslogtreecommitdiff
path: root/net/meson.build
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-10-28 20:59:08 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-11-02 15:57:28 +0100
commiteea9453a016b622f74898809f53e0ca85961cd80 (patch)
treeaa4bb73dbdc8ca6d8b4bebe6c4b1eff942fbcc0b /net/meson.build
parent6ed3e1482b4e373195bea36bbeba59d6fe76a999 (diff)
Move the l2tpv3 test from configure to meson.build
And while we're at it, also provide a proper entry for this feature in meson_options.txt, so that people who don't need it have a knob to disable this feature. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20211028185910.1729744-3-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/meson.build')
-rw-r--r--net/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/meson.build b/net/meson.build
index 94383e7460..847bc2ac85 100644
--- a/net/meson.build
+++ b/net/meson.build
@@ -18,7 +18,9 @@ softmmu_ss.add(files(
softmmu_ss.add(when: 'CONFIG_TCG', if_true: files('filter-replay.c'))
-softmmu_ss.add(when: 'CONFIG_L2TPV3', if_true: files('l2tpv3.c'))
+if have_l2tpv3
+ softmmu_ss.add(files('l2tpv3.c'))
+endif
softmmu_ss.add(when: slirp, if_true: files('slirp.c'))
softmmu_ss.add(when: vde, if_true: files('vde.c'))
if have_netmap