+ # See if we have Pango::Layout::show_in_cairo_context; Centos 5 does not
+ conf.check_cxx(fragment="""
+ #include <pangomm.h>
+ int main(void) {
+ Cairo::RefPtr<Cairo::Context> context;
+ Glib::RefPtr<Pango::Layout> layout;
+ layout->show_in_cairo_context (context);
+ return 0; }\n
+ """,
+ mandatory=False,
+ msg='Checking for show_in_cairo_context',
+ cxxflags=test_cxxflags,
+ okmsg='yes',
+ includes=conf.env['INCLUDES_PANGOMM'],
+ uselib='PANGOMM',
+ define_name='DCPOMATIC_HAVE_SHOW_IN_CAIRO_CONTEXT')
+
+