From 4995b4a7eebe3b9cd620b094cba5fbdc02c2f042 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 9 Oct 2010 12:24:45 +0200 Subject: Avoid compiling empty C files if NTLM is disabled. --- Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 973bf400..3947beaf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -39,7 +39,10 @@ libfm_a_SOURCES= xmalloc.c base64.c rfc822.c report.c rfc2047e.c \ libesmtp/gethostbyname.h libesmtp/gethostbyname.c \ smbtypes.h fm_getaddrinfo.c tls.c rfc822valid.c \ xmalloc.h sdump.h sdump.c x509_name_match.c \ - fm_strl.h ntlmsubr.c + fm_strl.h +if NTLM_ENABLE +libfm_a_SOURCES += ntlmsubr.c +endif libfm_a_LIBADD= $(EXTRAOBJ) libfm_a_DEPENDENCIES= $(EXTRAOBJ) LDADD = libfm.a @LIBINTL@ $(LIBOBJS) -- cgit v1.2.3