On 2015-09-09, Bram Moolenaar wrote:
> James McCoy wrote:
> 
> > On Sep 8, 2015 3:06 PM, "Gary Johnson" <garyj...@spocom.com> wrote:
> > >
> > > On 2015-09-08, Bram Moolenaar wrote:
> > > > Patch 7.4.861 (after 7.4.855)
> > > > Problem:    pango_shape_full() is not always available.
> > > > Solution:   Add a configure check.
> > > > Files:      src/configure.in, src/auto/configure, src/config.h.in,
> > > >             src/gui_gtk_x11.c
> > >
> > > Hmm.  Something's still not right, but I don't understand
> > > auto-configuration well enough to debug it effectively.
> > 
> > The problem is that AC_TRY_COMPILE was used instead of AC_TRY_LINK.
> 
> Hmm, so pango_shape_full() is declared in a header file but isn't
> actually available in the library?

Unless you tell the compiler to require prototypes for all
functions*, the code should compile just fine without a function
prototype.

On the Fedora 17 system I'm using, and on which the AC_TRY_COMPILE
test succeeds, grepping all the pango header files shows pango_shape
declared in /usr/include/pango-1.0/pango/pango-glyph.h but no
pango_shape_full anywhere.

Regards,
Gary

----------
*  I don't know if that's even possible with available compilers.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui