summaryrefslogtreecommitdiff
path: root/build/m4
diff options
context:
space:
mode:
authorBertrand Lorentz <bertrand.lorentz@gmail.com>2011-08-17 12:45:37 +0200
committerBertrand Lorentz <bertrand.lorentz@gmail.com>2011-08-17 12:45:37 +0200
commit7918fba0e19a8d68708cbdf2c152f6a91960e399 (patch)
tree4628bd0a94199315cdcb30a29e57094951b22b6f /build/m4
parenta147adfcd7ff8a9de87fd6940811e54056037239 (diff)
build: Remove GTK3 detection and conditional compilation
We're not doing to do any conditional compilation for GTK3 stuff, the port is happening in the gtk3 branch which will be merged in when it's ready.
Diffstat (limited to 'build/m4')
-rw-r--r--build/m4/banshee/gtk-sharp.m426
1 files changed, 5 insertions, 21 deletions
diff --git a/build/m4/banshee/gtk-sharp.m4 b/build/m4/banshee/gtk-sharp.m4
index b57140f7e..529a0e7ba 100644
--- a/build/m4/banshee/gtk-sharp.m4
+++ b/build/m4/banshee/gtk-sharp.m4
@@ -1,28 +1,12 @@
AC_DEFUN([BANSHEE_CHECK_GTK_SHARP],
[
- GTKSHARP3_REQUIRED=2.99
GTKSHARP2_REQUIRED=2.12.10
- dnl First check for gtk-sharp-3.0
- PKG_CHECK_MODULES(GTKSHARP, gtk-sharp-3.0 >= $GTKSHARP3_REQUIRED, have_gtk3=yes, have_gtk3=no)
- if test "x$have_gtk3" = "xyes"; then
- AC_SUBST(GTKSHARP_LIBS)
+ PKG_CHECK_MODULES(GTKSHARP, gtk-sharp-2.0 >= $GTKSHARP2_REQUIRED)
+ AC_SUBST(GTKSHARP_LIBS)
- PKG_CHECK_MODULES(GLIBSHARP, glib-sharp-3.0 >= $GTKSHARP3_REQUIRED)
- AC_SUBST(GLIBSHARP_LIBS)
+ PKG_CHECK_MODULES(GLIBSHARP, glib-sharp-2.0 >= $GTKSHARP2_REQUIRED)
+ AC_SUBST(GLIBSHARP_LIBS)
- gtk_version=3
- AM_CONDITIONAL(HAVE_GTK3, true)
- else
- dnl Fall back to gtk-sharp-2.0
-
- PKG_CHECK_MODULES(GTKSHARP, gtk-sharp-2.0 >= $GTKSHARP2_REQUIRED)
- AC_SUBST(GTKSHARP_LIBS)
-
- PKG_CHECK_MODULES(GLIBSHARP, glib-sharp-2.0 >= $GTKSHARP2_REQUIRED)
- AC_SUBST(GLIBSHARP_LIBS)
-
- AM_CONDITIONAL(HAVE_GTK3, false)
- gtk_version="2"
- fi
+ gtk_version="2"
])