patch 7.4.861
Problem:    pango_shape_full() is not always available.
Solution:   Add a configure check.
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index 5c4abce..bcd05c4 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -5063,8 +5063,13 @@
 	     * done, because drawing the cursor would change the display. */
 	    item->analysis.shape_engine = default_shape_engine;
 
+#ifdef HAVE_PANGO_SHAPE_FULL
 	    pango_shape_full((const char *)s + item->offset, item->length,
 		    (const char *)s, len, &item->analysis, glyphs);
+#else
+	    pango_shape((const char *)s + item->offset, item->length,
+			&item->analysis, glyphs);
+#endif
 	    /*
 	     * Fixed-width hack: iterate over the array and assign a fixed
 	     * width to each glyph, thus overriding the choice made by the