Lines 1-6
Link Here
|
1 |
--- configure.in.orig 2009-11-06 02:28:08.000000000 -0800 |
1 |
--- configure.in.orig 2009-11-06 10:28:08 UTC |
2 |
+++ configure.in 2023-05-09 21:54:34.360457000 -0700 |
2 |
+++ configure.in |
3 |
@@ -97,11 +97,15 @@ |
3 |
@@ -97,11 +97,15 @@ esac |
4 |
linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdir)/exports.linux" ;; |
4 |
linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdir)/exports.linux" ;; |
5 |
*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic" ;; |
5 |
*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic" ;; |
6 |
esac |
6 |
esac |
Lines 16-22
Link Here
|
16 |
|
16 |
|
17 |
AM_CONDITIONAL(USE_NATIVE_LINKER, test -n "$nss_ldap_so_LD") |
17 |
AM_CONDITIONAL(USE_NATIVE_LINKER, test -n "$nss_ldap_so_LD") |
18 |
|
18 |
|
19 |
@@ -153,7 +157,6 @@ |
19 |
@@ -153,7 +157,6 @@ case "$target_os" in |
20 |
aix*) AC_CHECK_HEADERS(irs.h usersec.h) ;; |
20 |
aix*) AC_CHECK_HEADERS(irs.h usersec.h) ;; |
21 |
hpux*) AC_CHECK_HEADERS(nsswitch.h) ;; |
21 |
hpux*) AC_CHECK_HEADERS(nsswitch.h) ;; |
22 |
*) AC_CHECK_HEADERS(nss.h) |
22 |
*) AC_CHECK_HEADERS(nss.h) |
Lines 24-37
Link Here
|
24 |
AC_CHECK_HEADERS(irs.h) ;; |
24 |
AC_CHECK_HEADERS(irs.h) ;; |
25 |
esac |
25 |
esac |
26 |
AC_CHECK_HEADERS(thread.h) |
26 |
AC_CHECK_HEADERS(thread.h) |
27 |
@@ -188,6 +191,14 @@ |
27 |
@@ -188,6 +191,13 @@ AC_CHECK_HEADERS(krb5.h) |
28 |
AC_CHECK_HEADERS(gssapi/gssapi_krb5.h gssapi.h) |
28 |
AC_CHECK_HEADERS(gssapi/gssapi_krb5.h gssapi.h) |
29 |
AC_CHECK_HEADERS(krb5.h) |
29 |
AC_CHECK_HEADERS(krb5.h) |
30 |
|
30 |
|
31 |
+AC_MSG_CHECKING([if Kerberos is Heimdal]) |
31 |
+AC_MSG_CHECKING([if Kerberos is Heimdal]) |
32 |
+AC_TRY_LINK([#include <krb5.h>], |
32 |
+AC_TRY_LINK([#include <krb5.h>], |
33 |
+ [char hv = heimdal_version;], |
33 |
+ [const char *hv = heimdal_version;], |
34 |
+ [hv = hv;], |
|
|
35 |
+ [AC_MSG_RESULT(yes) |
34 |
+ [AC_MSG_RESULT(yes) |
36 |
+ AC_DEFINE(HEIMDAL,1,[Define if Kerberos is Heimdal])], |
35 |
+ AC_DEFINE(HEIMDAL,1,[Define if Kerberos is Heimdal])], |
37 |
+ [AC_MSG_RESULT(no)]) |
36 |
+ [AC_MSG_RESULT(no)]) |
Lines 39-45
Link Here
|
39 |
AC_CHECK_LIB(resolv, main) |
38 |
AC_CHECK_LIB(resolv, main) |
40 |
AC_CHECK_LIB(nsl, main) |
39 |
AC_CHECK_LIB(nsl, main) |
41 |
AC_CHECK_LIB(socket, main) |
40 |
AC_CHECK_LIB(socket, main) |
42 |
@@ -230,7 +241,6 @@ |
41 |
@@ -230,7 +240,6 @@ AC_CHECK_LIB(pthread_nonshared, main) |
43 |
AC_CHECK_FUNCS(gethostbyname) |
42 |
AC_CHECK_FUNCS(gethostbyname) |
44 |
AC_CHECK_FUNCS(nsdispatch) |
43 |
AC_CHECK_FUNCS(nsdispatch) |
45 |
AC_CHECK_LIB(pthread_nonshared, main) |
44 |
AC_CHECK_LIB(pthread_nonshared, main) |
46 |
- |
|
|