PERFORCE change 118498 for review
Peter Wemm
peter at FreeBSD.org
Fri Apr 20 21:16:55 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=118498
Change 118498 by peter at peter_daintree on 2007/04/20 21:16:02
Exclude gssapi.h includes when kerberos is turned off. This is
because libgss* is part of the kerberos build. If we let the
includes be installed, then certain autoconf scripts will "detect"
gssapi when the backing libraries do not exist.
Affected files ...
.. //depot/projects/hammer/include/Makefile#60 edit
Differences ...
==== //depot/projects/hammer/include/Makefile#60 (text+ko) ====
@@ -6,11 +6,12 @@
.include <bsd.own.mk>
CLEANFILES= osreldate.h version vers.c
-SUBDIR= arpa gssapi protocols rpcsvc rpc
+SUBDIR= arpa ${_gssapi} protocols rpcsvc rpc
INCS= a.out.h ar.h assert.h bitstring.h complex.h cpio.h _ctype.h ctype.h \
db.h \
dirent.h dlfcn.h elf.h elf-hints.h err.h float.h floatingpoint.h \
- fmtmsg.h fnmatch.h fstab.h fts.h ftw.h getopt.h glob.h grp.h gssapi.h \
+ fmtmsg.h fnmatch.h fstab.h fts.h ftw.h getopt.h glob.h grp.h \
+ ${_gssapi_h} \
histedit.h ieeefp.h ifaddrs.h \
inttypes.h iso646.h kenv.h langinfo.h libgen.h limits.h link.h \
locale.h malloc.h malloc_np.h memory.h monetary.h mpool.h mqueue.h \
@@ -78,6 +79,11 @@
_fs_nwfs= fs/nwfs
.endif
+.if ${MK_KERBEROS} != "no"
+_gssapi= gssapi
+_gssapi_h= gssapi.h
+.endif
+
# Define SHARED to indicate whether you want symbolic links to the system
# source (``symlinks''), or a separate copy (``copies''). ``symlinks'' is
# probably only useful for developers and should be avoided if you do not
More information about the p4-projects
mailing list