diff options
-rw-r--r-- | net/nss_ldap/files/patch-configure.in | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net/nss_ldap/files/patch-configure.in b/net/nss_ldap/files/patch-configure.in index bd6f78efe50e..223ab338eff2 100644 --- a/net/nss_ldap/files/patch-configure.in +++ b/net/nss_ldap/files/patch-configure.in @@ -1,5 +1,5 @@ ---- configure.in.orig -+++ configure.in +--- configure.in.orig 2009-11-06 02:28:08.000000000 -0800 ++++ configure.in 2023-05-09 21:54:34.360457000 -0700 @@ -97,11 +97,15 @@ linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdir)/exports.linux" ;; *) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic" ;; @@ -24,13 +24,14 @@ AC_CHECK_HEADERS(irs.h) ;; esac AC_CHECK_HEADERS(thread.h) -@@ -188,6 +191,13 @@ +@@ -188,6 +191,14 @@ AC_CHECK_HEADERS(gssapi/gssapi_krb5.h gssapi.h) AC_CHECK_HEADERS(krb5.h) +AC_MSG_CHECKING([if Kerberos is Heimdal]) +AC_TRY_LINK([#include <krb5.h>], -+ [const char hv = heimdal_version;], ++ [char hv = heimdal_version;], ++ [hv = hv;], + [AC_MSG_RESULT(yes) + AC_DEFINE(HEIMDAL,1,[Define if Kerberos is Heimdal])], + [AC_MSG_RESULT(no)]) @@ -38,7 +39,7 @@ AC_CHECK_LIB(resolv, main) AC_CHECK_LIB(nsl, main) AC_CHECK_LIB(socket, main) -@@ -230,7 +240,6 @@ +@@ -230,7 +241,6 @@ AC_CHECK_FUNCS(gethostbyname) AC_CHECK_FUNCS(nsdispatch) AC_CHECK_LIB(pthread_nonshared, main) |