]> git.pld-linux.org Git - packages/icedtea8.git/blame - icedtea8-heimdal.patch
up to 3.17.1
[packages/icedtea8.git] / icedtea8-heimdal.patch
CommitLineData
48ab9d62
AM
1--- icedtea-3.3.0/acinclude.m4~ 2017-01-29 09:13:46.000000000 +0100
2+++ icedtea-3.3.0/acinclude.m4 2017-01-29 09:14:35.735520204 +0100
3@@ -1822,15 +1822,10 @@ AC_DEFUN_ONCE([IT_CHECK_FOR_KERBEROS],
0ba407a4
JK
4 AC_MSG_RESULT(${ENABLE_SYSTEM_KERBEROS})
5 if test x"${ENABLE_SYSTEM_KERBEROS}" = "xyes"; then
6 dnl Check for krb5 header and library.
7- PKG_CHECK_MODULES(KRB5, krb5, [KRB5_FOUND=yes], [KRB5_FOUND=no])
8- if test "x${KRB5_FOUND}" = "xno"; then
48ab9d62
AM
9- AC_MSG_NOTICE([Could not find Kerberos using pkg-config; trying via krb5.h and krb5 library])
10- AC_CHECK_LIB([krb5], [krb5_cc_default],
11- , [AC_MSG_ERROR([Could not find Kerberos library; install Kerberos or build with --disable-system-kerberos to use the default cache location.])])
12- AC_CHECK_HEADER([krb5.h],
13- , [AC_MSG_ERROR([Could not find Kerberos header; install Kerberos or build with --disable-system-kerberos to use the default cache location.])])
14- KRB5_LIBS="-lkrb5"
0ba407a4
JK
15- fi
16+ KRB5_LIBS=`krb5-config --libs`
17+ KRB5_CFLAGS=`krb5-config --cflags`
18+ AC_SUBST(KRB5_LIBS)
19+ AC_SUBST(KRB5_CFLAGS)
20 fi
21 AM_CONDITIONAL(USE_SYSTEM_KERBEROS, test x"${ENABLE_SYSTEM_KERBEROS}" = "xyes")
22 AC_SUBST(ENABLE_SYSTEM_KERBEROS)
This page took 0.03108 seconds and 4 git commands to generate.