banshee r4890 - trunk/banshee/build/m4/banshee
- From: abock svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4890 - trunk/banshee/build/m4/banshee
- Date: Thu, 8 Jan 2009 03:05:39 +0000 (UTC)
Author: abock
Date: Thu Jan 8 03:05:39 2009
New Revision: 4890
URL: http://svn.gnome.org/viewvc/banshee?rev=4890&view=rev
Log:
2009-01-07 Aaron Bockover <abock gnome org>
* build/m4/banshee/libbanshee.m4: If the gtk+-2.0 target check fails,
explicitly check for gtk+-2.0 as an entire module to show the standard
missing devel package error message from pkg-config
Modified:
trunk/banshee/build/m4/banshee/libbanshee.m4
Modified: trunk/banshee/build/m4/banshee/libbanshee.m4
==============================================================================
--- trunk/banshee/build/m4/banshee/libbanshee.m4 (original)
+++ trunk/banshee/build/m4/banshee/libbanshee.m4 Thu Jan 8 03:05:39 2009
@@ -11,15 +11,18 @@
LIBBANSHEE_CFLAGS=""
GRAPHICS_SUBSYSTEM="Unknown"
+ GTK_TARGET=$(pkg-config --variable=target gtk+-2.0)
- if test x$(pkg-config --variable=target gtk+-2.0) = xx11; then
+ if test x$GTK_TARGET = xx11; then
PKG_CHECK_MODULES(GDK_X11, gdk-x11-2.0 >= 2.8)
SHAMROCK_CONCAT_MODULE(LIBBANSHEE, GDK_X11)
GRAPHICS_SUBSYSTEM="X11"
- elif test x$(pkg-config --variable=target gtk+-2.0) = xquartz; then
+ elif test x$GTK_TARGET = xquartz; then
PKG_CHECK_MODULES(GDK_QUARTZ, gdk-quartz-2.0 >= 2.14)
SHAMROCK_CONCAT_MODULE(LIBBANSHEE, GDK_QUARTZ)
GRAPHICS_SUBSYSTEM="Quartz"
+ else
+ PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8)
fi
AM_CONDITIONAL(HAVE_X11, test "x$GRAPHICS_SUBSYSTEM" = "xX11")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]