[Dnsmasq-discuss] dnsmasq compilation and dependencies: compilation macros and help
Kevin Darbyshire-Bryant
kevin at darbyshire-bryant.me.uk
Wed Jun 12 22:24:55 BST 2019
> On 12 Jun 2019, at 19:56, SALA MASSIMO <MASSIMO.SALA at ats-bg.it> wrote:
>
> Hi Geert
>
> Ehm ... I mistyped writing the email.
>
> I check my script:
> make COPTS="-DNO_AUTH -DNO_DHCP -DNO_INOTIFY -DNO_IPV6 -DNO_SCRIPT -DNO_TFTP"
>
> A quick glance at the source code: it seem to me the help arguments aren't conditioned by the compilation macros.
> I need a confirm of this.
> It isn't documented but IMHO it should be.
Hi Massimo,
Yes it probably should be. If it is any help, in openwrt we look (& parse) the output of ‘dnsmasq -v’ at run-time to determine what build-time options have been selected. Maybe you also could use this approach?
Cheers,
Kevin D-B
gpg: 012C ACB2 28C6 C53E 9775 9123 B3A2 389B 9DE2 334A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20190612/c1816299/attachment.sig>
More information about the Dnsmasq-discuss
mailing list