Karsten Hopp d7cf6f
To: vim_dev@googlegroups.com
Karsten Hopp d7cf6f
Subject: Patch 7.4.862
Karsten Hopp d7cf6f
Fcc: outbox
Karsten Hopp d7cf6f
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp d7cf6f
Mime-Version: 1.0
Karsten Hopp d7cf6f
Content-Type: text/plain; charset=UTF-8
Karsten Hopp d7cf6f
Content-Transfer-Encoding: 8bit
Karsten Hopp d7cf6f
------------
Karsten Hopp d7cf6f
Karsten Hopp d7cf6f
Patch 7.4.862 (after 7.4.861)
Karsten Hopp d7cf6f
Problem:    Still problems with pango_shape_full() not available.
Karsten Hopp d7cf6f
Solution:   Change AC_TRY_COMPILE to AC_TRY_LINK.
Karsten Hopp d7cf6f
Files:      src/configure.in, src/auto/configure
Karsten Hopp d7cf6f
Karsten Hopp d7cf6f
Karsten Hopp d7cf6f
*** ../vim-7.4.861/src/configure.in	2015-09-08 20:00:17.527627756 +0200
Karsten Hopp d7cf6f
--- src/configure.in	2015-09-09 20:08:26.833746422 +0200
Karsten Hopp d7cf6f
***************
Karsten Hopp d7cf6f
*** 3546,3552 ****
Karsten Hopp d7cf6f
    ac_save_LIBS="$LIBS"
Karsten Hopp d7cf6f
    CFLAGS="$CFLAGS $GTK_CFLAGS"
Karsten Hopp d7cf6f
    LIBS="$LIBS $GTK_LIBS"
Karsten Hopp d7cf6f
!   AC_TRY_COMPILE(
Karsten Hopp d7cf6f
    [#include <gtk/gtk.h>],
Karsten Hopp d7cf6f
    [ pango_shape_full(NULL, 0, NULL, 0, NULL, NULL); ],
Karsten Hopp d7cf6f
  	  AC_MSG_RESULT(yes); AC_DEFINE(HAVE_PANGO_SHAPE_FULL),
Karsten Hopp d7cf6f
--- 3546,3552 ----
Karsten Hopp d7cf6f
    ac_save_LIBS="$LIBS"
Karsten Hopp d7cf6f
    CFLAGS="$CFLAGS $GTK_CFLAGS"
Karsten Hopp d7cf6f
    LIBS="$LIBS $GTK_LIBS"
Karsten Hopp d7cf6f
!   AC_TRY_LINK(
Karsten Hopp d7cf6f
    [#include <gtk/gtk.h>],
Karsten Hopp d7cf6f
    [ pango_shape_full(NULL, 0, NULL, 0, NULL, NULL); ],
Karsten Hopp d7cf6f
  	  AC_MSG_RESULT(yes); AC_DEFINE(HAVE_PANGO_SHAPE_FULL),
Karsten Hopp d7cf6f
*** ../vim-7.4.861/src/auto/configure	2015-09-08 20:00:17.531627716 +0200
Karsten Hopp d7cf6f
--- src/auto/configure	2015-09-09 20:08:29.721697479 +0200
Karsten Hopp d7cf6f
***************
Karsten Hopp d7cf6f
*** 12199,12205 ****
Karsten Hopp d7cf6f
    return 0;
Karsten Hopp d7cf6f
  }
Karsten Hopp d7cf6f
  _ACEOF
Karsten Hopp d7cf6f
! if ac_fn_c_try_compile "$LINENO"; then :
Karsten Hopp d7cf6f
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Karsten Hopp d7cf6f
  $as_echo "yes" >&6; }; $as_echo "#define HAVE_PANGO_SHAPE_FULL 1" >>confdefs.h
Karsten Hopp d7cf6f
  
Karsten Hopp d7cf6f
--- 12199,12205 ----
Karsten Hopp d7cf6f
    return 0;
Karsten Hopp d7cf6f
  }
Karsten Hopp d7cf6f
  _ACEOF
Karsten Hopp d7cf6f
! if ac_fn_c_try_link "$LINENO"; then :
Karsten Hopp d7cf6f
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Karsten Hopp d7cf6f
  $as_echo "yes" >&6; }; $as_echo "#define HAVE_PANGO_SHAPE_FULL 1" >>confdefs.h
Karsten Hopp d7cf6f
  
Karsten Hopp d7cf6f
***************
Karsten Hopp d7cf6f
*** 12207,12213 ****
Karsten Hopp d7cf6f
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Karsten Hopp d7cf6f
  $as_echo "no" >&6; }
Karsten Hopp d7cf6f
  fi
Karsten Hopp d7cf6f
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Karsten Hopp d7cf6f
    CFLAGS="$ac_save_CFLAGS"
Karsten Hopp d7cf6f
    LIBS="$ac_save_LIBS"
Karsten Hopp d7cf6f
  fi
Karsten Hopp d7cf6f
--- 12207,12214 ----
Karsten Hopp d7cf6f
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Karsten Hopp d7cf6f
  $as_echo "no" >&6; }
Karsten Hopp d7cf6f
  fi
Karsten Hopp d7cf6f
! rm -f core conftest.err conftest.$ac_objext \
Karsten Hopp d7cf6f
!     conftest$ac_exeext conftest.$ac_ext
Karsten Hopp d7cf6f
    CFLAGS="$ac_save_CFLAGS"
Karsten Hopp d7cf6f
    LIBS="$ac_save_LIBS"
Karsten Hopp d7cf6f
  fi
Karsten Hopp d7cf6f
*** ../vim-7.4.861/src/version.c	2015-09-08 20:00:17.535627675 +0200
Karsten Hopp d7cf6f
--- src/version.c	2015-09-09 20:11:51.130471208 +0200
Karsten Hopp d7cf6f
***************
Karsten Hopp d7cf6f
*** 743,744 ****
Karsten Hopp d7cf6f
--- 743,746 ----
Karsten Hopp d7cf6f
  {   /* Add new patch number below this line */
Karsten Hopp d7cf6f
+ /**/
Karsten Hopp d7cf6f
+     862,
Karsten Hopp d7cf6f
  /**/
Karsten Hopp d7cf6f
Karsten Hopp d7cf6f
-- 
Karsten Hopp d7cf6f
ARTHUR:    Be quiet!  I order you to shut up.
Karsten Hopp d7cf6f
OLD WOMAN: Order, eh -- who does he think he is?
Karsten Hopp d7cf6f
ARTHUR:    I am your king!
Karsten Hopp d7cf6f
OLD WOMAN: Well, I didn't vote for you.
Karsten Hopp d7cf6f
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp d7cf6f
Karsten Hopp d7cf6f
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp d7cf6f
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp d7cf6f
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp d7cf6f
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///