OpenAFS Master Repository branch, master, updated. 2510a6ec675669739a625305bcc11ab2ad671122
Gerrit Code Review
Mon, 13 Jul 2009 13:41:03 -0700 (PDT)
The following commit has been merged in the master branch:
Author: Russ Allbery <firstname.lastname@example.org>
Date: Sun Jul 12 09:07:12 2009 -0700
Ensure PAM modules are built PIC and pthread-aware where needed
Link the PAM modules against libafsauthent_pic and libafsrpc_pic instead
of the large collection of LWP AFS libraries so that they are always
built PIC, even on platforms that don't normally build everything PIC.
This also uses the pthread-aware version of the AFS routines on platforms
that support it, avoiding conflict problems between LWP in PAM modules
and pthread in a calling application.
Build a separate copy of ktc.krb.o in the pam directory for pam_afs.krb
since there is no AFS_KERBEROS_ENV-aware version of libafsauthent.
Enable the PAM module build by default on x86_64-linux now that it's
properly built PIC and can compile.
Stop ignoring build failures in the PAM modules if they're configured to
build. On platforms where they should not be built, they should be
excluded in acinclude.m4.
Verified-by: Derrick Brashear <email@example.com>
Reviewed-by: Derrick Brashear <firstname.lastname@example.org>
Makefile.in | 2 +-
acinclude.m4 | 2 +-
src/pam/Makefile.in | 32 ++++++++++++++++++++------------
3 files changed, 22 insertions(+), 14 deletions(-)
OpenAFS Master Repository