From cd4ee59633bf5ed783b021080c6dc9637fbf17f0 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 31 Dec 2017 13:04:34 +0000 Subject: rdisc: enable rdisc server by default For some reason this was overlooked when meson build improvements happen. Signed-off-by: Sami Kerola --- meson.build | 7 +++++++ meson_options.txt | 3 +++ 2 files changed, 10 insertions(+) diff --git a/meson.build b/meson.build index b063934..54fdc71 100644 --- a/meson.build +++ b/meson.build @@ -96,6 +96,13 @@ build_traceroute6 = get_option('BUILD_TRACEROUTE6') build_mans = get_option('BUILD_MANS') +if build_rinfod == true + opt = get_option('ENABLE_RDISC_SERVER') + if opt == true + conf.set('RDISC_SERVER', 1, description : 'If set build rdisc server.') + endif +endif + build_ninfod = get_option('BUILD_NINFOD') if build_ninfod == true if cc.has_header('stdio.h') and cc.has_header('stdlib.h') and cc.has_header('stddef.h') diff --git a/meson_options.txt b/meson_options.txt index e6a577f..3cb3dcc 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -22,6 +22,9 @@ option('BUILD_RARPD', type : 'boolean', value : true, option('BUILD_RDISC', type : 'boolean', value : true, description : 'Build rinfod') +option('ENABLE_RDISC_SERVER', type : 'boolean', value : true, + description : 'Enable rinfod server code') + option('BUILD_TFTPD', type : 'boolean', value : true, description : 'Build tftpd') -- cgit v1.2.1