Re: [evolution-patches] Patch: kerberos library location patch
- From: Frederic Crozat <fcrozat mandrakesoft com>
- To: evolution-patches lists ximian com
- Subject: Re: [evolution-patches] Patch: kerberos library location patch
- Date: Thu, 12 Aug 2004 10:18:09 +0200
Le mer 11/08/2004 à 19:51, Rodney Dawes a écrit :
> This also needs to be done for the evolution-exchange module.
Never happy :))
PS : please, reply below quoted text..
--
Frederic Crozat <fcrozat mandrakesoft com>
Mandrakesoft
? evolution-exchange-1.5.92.2-lib64.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-exchange/ChangeLog,v
retrieving revision 1.105
diff -u -p -r1.105 ChangeLog
--- ChangeLog 12 Aug 2004 07:05:59 -0000 1.105
+++ ChangeLog 12 Aug 2004 08:14:48 -0000
@@ -1,3 +1,9 @@
+2004-08-12 Frederic Crozat <fcrozat mandrakesoft com>
+
+ * configure.in:
+ Add option to specify location of kerberos 5 libraries.
+ Needed for 64bits support.
+
2004-08-12 Sarfraaz Ahmed <asarfraaz novell com>
* calendar/e-cal-backend-exchange-calendar.c (discard_alarm):
Index: configure.in
===================================================================
RCS file: /cvs/gnome/evolution-exchange/configure.in,v
retrieving revision 1.23
diff -u -p -r1.23 configure.in
--- configure.in 10 Aug 2004 00:26:09 -0000 1.23
+++ configure.in 12 Aug 2004 08:14:48 -0000
@@ -174,17 +174,19 @@ LIBS="$SAVE_LIBS"
dnl ********
dnl Kerberos
dnl ********
-AC_ARG_WITH(krb5, [ --with-krb5=PREFIX Location of Kerberos 5 libs/includes], with_krb5="$withval", with_krb5="/usr")
+AC_ARG_WITH(krb5, [ --with-krb5=PREFIX Location of Kerberos 5 install dir], with_krb5="$withval", with_krb5="/usr")
+AC_ARG_WITH(krb5_libs, [ --with-krb5-libs=LIBDIR Location of Kerberos 5 libs], with_krb5_libs="$withval", with_krb5_libs="$with_krb5/lib")
+
mitlibs="-lkrb5 -lk5crypto -lcom_err -lgssapi_krb5"
heimlibs="-lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lgssapi"
AC_CACHE_CHECK([for Kerberos 5], ac_cv_lib_kerberos5,
[
LDFLAGS_save="$LDFLAGS"
- LDFLAGS="$LDFLAGS -L$with_krb5/lib $mitlibs"
+ LDFLAGS="$LDFLAGS -L$with_krb5_libs $mitlibs"
AC_TRY_LINK_FUNC(krb5_init_context, ac_cv_lib_kerberos5="$mitlibs",
[
- LDFLAGS="$LDFLAGS_save -L$with_krb5/lib $heimlibs"
+ LDFLAGS="$LDFLAGS_save -L$with_krb5_libs $heimlibs"
AC_TRY_LINK_FUNC(krb5_init_context, ac_cv_lib_kerberos5="$heimlibs", ac_cv_lib_kerberos5="no")
])
LDFLAGS="$LDFLAGS_save"
@@ -200,7 +202,7 @@ else
AC_DEFINE(HAVE_HEIMDAL_KRB5,1,[Define if you have Heimdal])
KRB5_CFLAGS="-I$with_krb5/include/heimdal"
fi
-KRB5_LIBS="-L$with_krb5/lib $ac_cv_lib_kerberos5"
+KRB5_LIBS="-L$with_krb5_libs $ac_cv_lib_kerberos5"
AC_SUBST(KRB5_CFLAGS)
AC_SUBST(KRB5_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]