To build against the heimdal version contained in
debian sarge, acinclude.m4 should be changed to check
for the heimdal_version symbol instead of
__heimdal_version(). This doesn't seem to be suppoerted
in heimdal 0.6x The following patch fixes this.
diff -Nru pam_krb5.orig/acinclude.m4 pam_krb5/acinclude.m4
--- pam_krb5.orig/acinclude.m4 2003-08-12
10:52:18.083348400 +0200
+++ pam_krb5/acinclude.m4 2005-04-14
19:50:42.384158115 +0200
@@ -411,7 +411,7 @@
fi
AC_MSG_CHECKING([which implementation of Kerberos
we have])
-
AC_TRY_LINK_FUNC(__heimdal_version,KRB5IMPL="heimdal",KRB5IMPL="mit")
+
AC_CHECK_DECL(heimdal_version,KRB5IMPL="heimdal",KRB5IMPL="mit",[#include
<krb5.h>])
AC_MSG_RESULT([looks like $KRB5IMPL])
dnl if $ac_cv_krb5_libs was not set we defaulted
to Heimdal libraries,
Moreover, the tree should contain a tools directory to
allow building with the automake version contained in
Debian woody.
Attached is a script which summarizes these changes and
builds the current cvs.
Nobody/Anonymous
Build System
None
Public
|
Date: 2005-08-27 18:57 Logged In: YES |
| Filename | Description | Download |
|---|---|---|
| compile_pam-krb5_cvs | Script to build current cvs (includes patch) | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 129878: compile_pam-krb5_cvs | 2005-04-14 19:17 | ospelkau |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use