Configure glue for rxgk 64/10564/21
authorBen Kaduk <kaduk@mit.edu>
Thu, 10 Jan 2013 16:57:00 +0000 (11:57 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 17 Aug 2018 23:40:07 +0000 (19:40 -0400)
commit03e804b629c17ca7a4e5789cf98b283c52bd59ed
tree886e919cb4b07cdaf4f2710d685ac6ebcd82f3d6
parentde43a0f8829e26b2c56347176d7938810a38469c
Configure glue for rxgk

Add an --enable-rxgk switch to control whether the feature is used.
For the sake of buildbot coverage, we still attempt to build the core
subdirectory provided that a sufficiently usable GSS-API library
is available, but do not install anything when rxgk is disabled at
configure time.  Future commits will use the configure argument to
control the behavior of other rxgk-aware code in the tree.

We provide a few new symbols to conditionally compile code for rxgk.
The two new high-level symbols are:

- AFS_RXGK_ENV: when defined, rxgk is available
- AFS_RXGK_GSS_ENV: when defined, we can use GSS-API calls

AFS_RXGK_GSS_ENV is turned on only for userspace pthread builds. For
now, AFS_RXGK_ENV is only turned on for userspace pthread builds, and
non-ukernel kernel builds. This effectively disables rxgk integration
in any ukernel or LWP code, but this can be changed in the future by
changing when AFS_RXGK_ENV is defined.

Change-Id: Iab661d47aac77c1a238e809362015b869752df18
Reviewed-on: https://gerrit.openafs.org/10564
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Makefile.in
src/cf/gss.m4
src/cf/options.m4
src/config/Makefile.config.in
src/config/stds.h
src/rxgk/Makefile.in
src/rxgk/rxgk_procs.c