From: Peter g. <pg...@co...> - 2009-01-12 02:19:22
|
Sun Jan 11 21:01:50 EST 2009 Peter Gavin <pg...@gm...> * gtksourceview2: add GtkSourceMark to hierarchy.list and add version checking code to configure.ac hunk ./Makefile.am 1383 - gtksourceview2/Graphics/UI/Gtk/SourceView/SourceMark.chs \ hunk ./Makefile.am 1393 +if HAVE_GTKSOURCEVIEW2_VERSION_2_2 +libHSgtksourceview2_a_SOURCES += \ + gtksourceview2/Graphics/UI/Gtk/SourceView/SourceMark.chs +endif + hunk ./Makefile.am 1411 - $@ --tag=gtksourceview2 --parentname=Graphics.UI.Gtk.Types \ + $@ $(addprefix --tag=,$(GTKSOURCEVIEW2_CREATE_TYPES)) \ + --parentname=Graphics.UI.Gtk.Types \ hunk ./configure.ac 467 +dnl Also allow us to conditionally compile binding to GtkSourceView-2.0 APIs. +GTKHS_PACKAGE_ADD_CHECK_VERSION(gtksourceview-2.0, GTKSOURCEVIEW2, gtksourceview2) +HAVE_GTKSOURCEVIEW2_VERSION_2_2=`$PKG_CONFIG gtksourceview-2.0 --atleast-version=2.2 && echo yes || echo no` +AM_CONDITIONAL(HAVE_GTKSOURCEVIEW2_VERSION_2_2, test "$HAVE_GTKSOURCEVIEW2_VERSION_2_2" = "yes") +GTKSOURCEVIEW2_CREATE_TYPES=gtksourceview2 +GTKSOURCEVIEW2_CREATE_TYPES="$GTKSOURCEVIEW2_CREATE_TYPES `test "$HAVE_GTKSOURCEVIEW2_VERSION_2_2" = "yes" && echo gtksourceview2-2.2`" +AC_SUBST(GTKSOURCEVIEW2_CREATE_TYPES) + hunk ./tools/hierarchyGen/hierarchy.list 201 + GtkSourceMark if gtksourceview2-2.2 |