summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-03-08 22:06:46 -0500
committerJeff Layton <jlayton@redhat.com>2010-03-08 22:06:46 -0500
commit4d8902296bbb8d877bdfe70847a9a29b6cb21186 (patch)
tree149df7f96f87e09e9b8fcac0814b44b66a5b8d7c /Makefile.am
parentcff3f7cb2b94aec118f27ee8dd904ef216489938 (diff)
downloadcifs-utils-4d8902296bbb8d877bdfe70847a9a29b6cb21186.tar.gz
cifs-utils-4d8902296bbb8d877bdfe70847a9a29b6cb21186.tar.bz2
cifs-utils-4d8902296bbb8d877bdfe70847a9a29b6cb21186.zip
autotools: make cifs.upcall dependent on an enable option
Make it so that cifs.upcall is built by default, but autodisable it if the needed headers aren't present. Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 84378ab..fea8bdc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,8 +3,12 @@ root_sbindir = "/sbin"
root_sbin_PROGRAMS = mount.cifs
mount_cifs_SOURCES = mount.cifs.c mtab.c util.c
+man_MANS = mount.cifs.8
+
+if CONFIG_CIFSUPCALL
sbin_PROGRAMS = cifs.upcall
cifs_upcall_SOURCES = cifs.upcall.c data_blob.c asn1.c spnego.c util.c
cifs_upcall_LDADD = -ltalloc -lkrb5 -lkeyutils
+man_MANS += cifs.upcall.8
+endif
-man_MANS = cifs.upcall.8 mount.cifs.8