[gaim-migrate @ 8330]

Tue, 02 Dec 2003 00:36:01 +0000

author
Christian Hammond <chipx86@chipx86.com>
date
Tue, 02 Dec 2003 00:36:01 +0000
changeset 7686
c738a0347518
parent 7685
e43070343b86
child 7687
af4d345fe307

[gaim-migrate @ 8330]
Blah, I hate this. Gaim won't compile with gtk 2.3.x, it seems, since we
disable deprecated functions, and some stuff (like GtkItemFactory) is
deprecated. Since we had those for converting over to 2.2.x, I think it's
safe to just comment that out until we decide to drop < 2.3.x/2.4.x? Maybe
we could have a --disable-deprecated flag.

configure.ac file | annotate | diff | comparison | revisions
--- a/configure.ac	Mon Dec 01 23:10:09 2003 +0000
+++ b/configure.ac	Tue Dec 02 00:36:01 2003 +0000
@@ -182,7 +182,7 @@
 AC_ARG_WITH(krb4,      [  --with-krb4=PREFIX      Compile Zephyr plugin with Kerberos 4 support],kerberos="$withval",kerberos="no")
 
 if test "$enable_debug" = yes ; then
-	DEBUG_CFLAGS="$DEBUG_CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
+#	DEBUG_CFLAGS="$DEBUG_CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
 	AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
 fi
 
@@ -235,6 +235,25 @@
 AC_SUBST(STARTUP_NOTIFICATION_LIBS)
 
 
+dnl Check for stuff needed by the evolution integration plugin.
+PKG_CHECK_MODULES(LIBXML, libxml-2.0, have_libxml=yes, have_libxml=no)
+
+AC_SUBST(LIBXML_CFLAGS)
+AC_SUBST(LIBXML_LIBS)
+
+PKG_CHECK_MODULES(LIBEBOOK, libebook-1.0,
+[
+	have_libebook=yes
+],
+[
+	have_libebook=no
+])
+
+AC_SUBST(LIBEBOOK_CFLAGS)
+AC_SUBST(LIBEBOOK_LIBS)
+
+AM_CONDITIONAL(BUILD_GEVOLUTION, test "x$have_libxml" = "xyes" -a test "x$have_libebook" = "xyes")
+
 dnl Check for XScreenSaver
 if test "x$enable_xss" = "xyes" ; then
 	old_LIBS="$LIBS"
@@ -1014,6 +1033,7 @@
 		   pixmaps/status/default/Makefile
 		   plugins/Makefile
 		   plugins/docklet/Makefile
+		   plugins/gevolution/Makefile
 		   plugins/gaim-remote/Makefile
 		   plugins/gestures/Makefile
 		   plugins/perl/Makefile

mercurial