Lines 548-555
Link Here
|
548 |
AC_ARG_WITH(kerberos, |
548 |
AC_ARG_WITH(kerberos, |
549 |
[ --with-kerberos=PATH Path to Kerberos v5 (for auth_krb5)], |
549 |
[ --with-kerberos=PATH Path to Kerberos v5 (for auth_krb5)], |
550 |
[if test x"$with_kerberos" != xno ; then |
550 |
[if test x"$with_kerberos" != xno ; then |
|
|
551 |
DO_KRB5=DO |
551 |
KRB5_LIB="-L$with_kerberos/lib" |
552 |
KRB5_LIB="-L$with_kerberos/lib" |
552 |
KRB5_INC="-I$with_kerberos/include" |
553 |
KRB5_INC="-I$with_kerberos/include" |
|
|
554 |
else |
555 |
DO_KRB5=DONT |
553 |
fi]) |
556 |
fi]) |
554 |
|
557 |
|
555 |
dnl Checks for embedded interpretors. |
558 |
dnl Checks for embedded interpretors. |
Lines 832-844
Link Here
|
832 |
[AC_MSG_ERROR(no usable regular expression library found)]) |
835 |
[AC_MSG_ERROR(no usable regular expression library found)]) |
833 |
fi |
836 |
fi |
834 |
|
837 |
|
835 |
dnl Check for Kerberos libraries for auth_krb5, and if found define KRB5_AUTH |
838 |
if test x"$DO_KRB5" = xDO ; then |
836 |
dnl to the relevant object file, which will enable compilation of it. |
839 |
dnl Check for Kerberos libraries for auth_krb5, and if found define KRB5_AUTH |
837 |
INN_SEARCH_AUX_LIBS(krb5_parse_name, krb5, KRB5_LIB, |
840 |
dnl to the relevant object file, which will enable compilation of it. |
838 |
[KRB5_AUTH="auth_krb5" |
841 |
INN_SEARCH_AUX_LIBS(krb5_parse_name, krb5, KRB5_LIB, |
839 |
KRB5_LIB="$KRB5_LIB -lk5crypto -lcom_err" |
842 |
[KRB5_AUTH="auth_krb5" |
840 |
AC_SUBST(KRB5_AUTH) |
843 |
KRB5_LIB="$KRB5_LIB -lk5crypto -lcom_err" |
841 |
AC_SUBST(KRB5_INC)], , [$LIBS -lk5crypto -lcom_err]) |
844 |
AC_SUBST(KRB5_AUTH) |
|
|
845 |
AC_SUBST(KRB5_INC)], , [$LIBS -lk5crypto -lcom_err]) |
846 |
fi |
842 |
|
847 |
|
843 |
dnl Check for necessity of krb5_init_ets |
848 |
dnl Check for necessity of krb5_init_ets |
844 |
dnl OSX does not require this function |
849 |
dnl OSX does not require this function |