Re: [Nbd] [PATCHv2 3/6] Add GnuTLS infrastructure
- To: Wouter Verhelst <w@...112...>
- Cc: "nbd-general@lists.sourceforge.net" <nbd-general@lists.sourceforge.net>
- Subject: Re: [Nbd] [PATCHv2 3/6] Add GnuTLS infrastructure
- From: Alex Bligh <alex@...872...>
- Date: Tue, 12 Apr 2016 14:58:54 +0100
- Message-id: <F8B70C22-B67D-492F-A128-A3D9AF6B2034@...872...>
- In-reply-to: <20160412131122.GC15484@...3...>
- References: <1460394939-24868-1-git-send-email-alex@...872...> <1460394939-24868-4-git-send-email-alex@...872...> <20160412131122.GC15484@...3...>
On 12 Apr 2016, at 14:11, Wouter Verhelst <w@...112...> wrote:
> This can be done more easily like so:
>
>
> nbd_client_SOURCES = nbd-client.c cliserv.h
> nbd_server_SOURCES = nbd-server.c cliserv.h lfs.h nbd.h nbdsrv.h backend.h
> TLSSRC = crypto-gnutls.c crypto-gnutls.h
> if GNUTLS
> nbd_client_SOURCES += $(TLSSRC)
> nbd_server_SOURCES += $(TLSSRC)
> endif
>
> Automake is smart enough about conditionals to realize that they might
> add some extra files which need to be distributed, and so fiddling with
> EXTRA_DIST isn't required (as per
> https://www.gnu.org/software/automake/manual/html_node/Conditional-Sources.html#Conditional-Compilation-using-Automake-Conditionals)
OK, fixed in PATCHv3, along with support for nbd-client, which
(surprisingly) seems to work out the box.
--
Alex Bligh
Reply to: