]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix the build on windows 184/head
authorBen Kaduk <kaduk@mit.edu>
Tue, 5 Aug 2014 15:11:45 +0000 (11:11 -0400)
committerBen Kaduk <kaduk@mit.edu>
Wed, 6 Aug 2014 16:18:15 +0000 (12:18 -0400)
commit58312ae8beb0499ac3a06196164eb833e9f8975e
tree2f6e8954b10d76bf08007abf145d85553de715b0
parent3a32e1e6e644c6092f48cf6b6f2d0b8635b3dd52
Fix the build on windows

Windows does not provide the glob() functionality used to implement
the /etc/gss/mechs.d/ feature, so we must avoid compiling the
relevant code for windows.  (It would never have been called, anyway.)

Adjust the ccache/Makefile.in rules to not use '-' or '@' in
make variable names that are processed by nmake.

Also in ccache/Makefile.in, remove some latent leading whitespace that
had been previously hidden by the previous rule; this exposed some
flawed dependencies that are now removed.

Windows does not provide sys/socket.h or sys/un.h, so don't try
to include them in cc_kcm.c.

The commit which moved the KKDCP TLS support to a plugin left some
dangling references to checkhost.c byproducts in os/Makefile.in,
which can be safely removed.

Use k5-platform.h in support/json.c instead of a set of system includes;
this lets windows build the static inline helper functions therein.
src/lib/gssapi/mechglue/g_initialize.c
src/lib/krb5/ccache/Makefile.in
src/lib/krb5/ccache/cc_kcm.c
src/lib/krb5/os/Makefile.in
src/util/support/json.c