From a75f4eb21b7a1ff639634fdd39c8fe2ba6753945 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 14 Jan 2011 18:07:11 +0000 Subject: Adapt build system to allow building with GTK3 The new configure flag '--with-gtk' can be used to choose which GTK version to build against, defaulting to GTK2. To enable GTK3 use ./configure --with-gtk=3.0 The libspice-client-glib-2.0.la library is unchanged, building against glib-2.0 at all times. The GTK3 build will produce a libspice-client-gtk-3.0.la The include files will also live in $prefix/spice-client-gtk-3.0 and the pkgconfig is called spice-client-gtk-3.0 too. This allows for full parallel install of GTK2 and GTK3 builds --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 60fd91d..6e7fcfe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,7 +4,7 @@ NULL = SUBDIRS = common gtk po python_modules doc data pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = spice-client-glib-2.0.pc spice-client-gtk-2.0.pc +pkgconfig_DATA = spice-client-glib-2.0.pc spice-client-gtk-$(SPICE_GTK_API_VERSION).pc INTLTOOL_FILES = intltool-extract.in \ intltool-merge.in \ -- cgit v1.2.3