From 4ba9ce277dd6c747e17d1e746c0b58b180bc0b11 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 29 Apr 2015 11:11:30 -0400 Subject: configure.ac: Allow for disabling auth DES DES encryption might not be available. Signed-off-by: Bernhard Reutner-Fischer Signed-off-by: Steve Dickson --- Makefile.am | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index aa270f6..2bf725c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,17 +28,21 @@ nobase_include_HEADERS = tirpc/netconfig.h \ tirpc/rpc/pmap_prot.h \ tirpc/rpc/pmap_clnt.h \ tirpc/rpc/nettype.h \ - tirpc/rpc/des.h \ - tirpc/rpc/des_crypt.h \ tirpc/rpc/clnt_stat.h \ tirpc/rpc/clnt_soc.h \ tirpc/rpc/clnt.h \ tirpc/rpc/auth_unix.h \ tirpc/rpc/auth_kerb.h \ tirpc/rpc/auth.h \ - tirpc/rpc/auth_gss.h \ + tirpc/rpc/auth_gss.h + +if AUTHDES +nobase_include_HEADERS += \ + tirpc/rpc/des.h \ + tirpc/rpc/des_crypt.h \ tirpc/rpc/auth_des.h - +endif + pkgconfigdir=$(libdir)/pkgconfig pkgconfig_DATA = libtirpc.pc -- cgit v1.2.1