diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 944c7b4..f95b139 100644 --- a/configure.ac +++ b/configure.ac @@ -125,6 +125,10 @@ AC_SUBST(GST_CFLAGS) # glib-sharp and gtk-sharp and mono-cairo are currently only needed for the samples PKG_CHECK_MODULES(GLIB_SHARP, glib-sharp-2.0 >= 2.12, have_glibsharp=yes, have_glibsharp=no) PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= 2.12, have_gtksharp=yes, have_gtksharp=no) +PKG_CHECK_MODULES(GTK_2_17_3, gtk+-2.0 >= 2.17.3, have_gtk_2_17_3=yes, have_gtk_2_17_3=no) +if test "x$have_gtk_2_17_3" = "xyes"; then + GTK_SHARP_LIBS="$GTK_SHARP_LIBS -define:HAVE_GTK_2_17_3" +fi PKG_CHECK_MODULES(MONO_CAIRO, mono-cairo, have_monocairo=yes, have_monocairo=no) AC_SUBST(GLIB_SHARP_LIBS) AC_SUBST(GTK_SHARP_LIBS) |