[evolution-data-server] Make libedataserverui test programs build with gtk+-3.0.



commit 34745ec6271a5c2c668dc6f0a38cb20535f4a7a3
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Jun 29 09:32:49 2010 -0400

    Make libedataserverui test programs build with gtk+-3.0.

 libedataserverui/Makefile.am |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/libedataserverui/Makefile.am b/libedataserverui/Makefile.am
index e1299ff..7ba3456 100644
--- a/libedataserverui/Makefile.am
+++ b/libedataserverui/Makefile.am
@@ -95,11 +95,17 @@ TEST_EDATASERVERUI_CPPFLAGS= \
 	$(CAMEL_CFLAGS)				\
 	$(E_DATA_SERVER_UI_CFLAGS)
 
+if ENABLE_GTK3
+TEST_EDATASERVERUI_LDFLAGS = \
+	libedataserverui-3.0.la 				\
+	$(top_builddir)/libedataserver/libedataserver-1.2.la	\
+	$(E_DATA_SERVER_UI_LIBS)
+else
 TEST_EDATASERVERUI_LDFLAGS = \
 	libedataserverui-1.2.la 				\
 	$(top_builddir)/libedataserver/libedataserver-1.2.la	\
 	$(E_DATA_SERVER_UI_LIBS)
-
+endif
 
 # Test programs
 test_category_completion_CPPFLAGS = $(TEST_EDATASERVERUI_CPPFLAGS)



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