[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] [PATCHv2 3/6] Add GnuTLS infrastructure



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: