[evolution-patches] EVO_LDAP_CHECK fix



This patch fixes EVO_LDAP_CHECK to remove the pulling of
$dependency_libs from the libldap.la file. Using this
seems to break static linking and causes the link command
to fail with a lot of missing symbols from openldap.

-- dobey

Index: acinclude.m4
===================================================================
RCS file: /cvs/gnome/evolution-data-server/acinclude.m4,v
retrieving revision 1.5
diff -u -p -r1.5 acinclude.m4
--- acinclude.m4	13 Aug 2004 18:14:57 -0000	1.5
+++ acinclude.m4	1 Sep 2004 21:02:52 -0000
@@ -81,13 +81,6 @@ AC_DEFUN([EVO_LDAP_CHECK], [
 		AC_CHECK_LIB(lber, ber_get_tag, [
 			if test "$with_static_ldap" = "yes"; then
 				LDAP_LIBS="$with_openldap/lib/liblber.a $LDAP_LIBS"
-
-				# libldap might depend on OpenSSL... We need to pull
-				# in the dependency libs explicitly here since we're
-				# not using libtool for the configure test.
-				if test -f $with_openldap/lib/libldap.la; then
-					LDAP_LIBS="`. $with_openldap/lib/libldap.la; echo $dependency_libs` $LDAP_LIBS"
-				fi
 			else
 				LDAP_LIBS="-llber $LDAP_LIBS"
 			fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]