Karsten Hopp 81c285
To: vim-dev@vim.org
Karsten Hopp 81c285
Subject: Patch 7.2.159
Karsten Hopp 81c285
Fcc: outbox
Karsten Hopp 81c285
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 81c285
Mime-Version: 1.0
Karsten Hopp 81c285
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 81c285
Content-Transfer-Encoding: 8bit
Karsten Hopp 81c285
------------
Karsten Hopp 81c285
Karsten Hopp 81c285
Patch 7.2.159
Karsten Hopp 81c285
Problem:    When $x_includes ends up being "NONE" configure fails.
Karsten Hopp 81c285
Solution:   Check for $x_includes not to be "NONE" (Rainer)
Karsten Hopp 81c285
Files:	    src/auto/configure, src/configure.in
Karsten Hopp 81c285
Karsten Hopp 81c285
Karsten Hopp 81c285
*** ../vim-7.2.158/src/auto/configure	Mon Mar  2 02:44:54 2009
Karsten Hopp 81c285
--- src/auto/configure	Wed Apr 22 14:37:24 2009
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 15519,15525 ****
Karsten Hopp 81c285
  if test "$enable_multibyte" = "yes"; then
Karsten Hopp 81c285
    cflags_save=$CFLAGS
Karsten Hopp 81c285
    ldflags_save=$LDFLAGS
Karsten Hopp 81c285
!   if test -n "$x_includes" ; then
Karsten Hopp 81c285
      CFLAGS="$CFLAGS -I$x_includes"
Karsten Hopp 81c285
      LDFLAGS="$X_LIBS $LDFLAGS -lX11"
Karsten Hopp 81c285
      { $as_echo "$as_me:$LINENO: checking whether X_LOCALE needed" >&5
Karsten Hopp 81c285
--- 15519,15525 ----
Karsten Hopp 81c285
  if test "$enable_multibyte" = "yes"; then
Karsten Hopp 81c285
    cflags_save=$CFLAGS
Karsten Hopp 81c285
    ldflags_save=$LDFLAGS
Karsten Hopp 81c285
!   if test "x$x_includes" != "xNONE" ; then
Karsten Hopp 81c285
      CFLAGS="$CFLAGS -I$x_includes"
Karsten Hopp 81c285
      LDFLAGS="$X_LIBS $LDFLAGS -lX11"
Karsten Hopp 81c285
      { $as_echo "$as_me:$LINENO: checking whether X_LOCALE needed" >&5
Karsten Hopp 81c285
*** ../vim-7.2.158/src/configure.in	Mon Mar  2 02:44:54 2009
Karsten Hopp 81c285
--- src/configure.in	Wed Apr 22 14:35:57 2009
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 2952,2958 ****
Karsten Hopp 81c285
  if test "$enable_multibyte" = "yes"; then
Karsten Hopp 81c285
    cflags_save=$CFLAGS
Karsten Hopp 81c285
    ldflags_save=$LDFLAGS
Karsten Hopp 81c285
!   if test -n "$x_includes" ; then
Karsten Hopp 81c285
      CFLAGS="$CFLAGS -I$x_includes"
Karsten Hopp 81c285
      LDFLAGS="$X_LIBS $LDFLAGS -lX11"
Karsten Hopp 81c285
      AC_MSG_CHECKING(whether X_LOCALE needed)
Karsten Hopp 81c285
--- 2952,2958 ----
Karsten Hopp 81c285
  if test "$enable_multibyte" = "yes"; then
Karsten Hopp 81c285
    cflags_save=$CFLAGS
Karsten Hopp 81c285
    ldflags_save=$LDFLAGS
Karsten Hopp 81c285
!   if test "x$x_includes" != "xNONE" ; then
Karsten Hopp 81c285
      CFLAGS="$CFLAGS -I$x_includes"
Karsten Hopp 81c285
      LDFLAGS="$X_LIBS $LDFLAGS -lX11"
Karsten Hopp 81c285
      AC_MSG_CHECKING(whether X_LOCALE needed)
Karsten Hopp 81c285
*** ../vim-7.2.158/src/version.c	Wed Apr 22 17:42:53 2009
Karsten Hopp 81c285
--- src/version.c	Wed Apr 22 17:49:50 2009
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 678,679 ****
Karsten Hopp 81c285
--- 678,681 ----
Karsten Hopp 81c285
  {   /* Add new patch number below this line */
Karsten Hopp 81c285
+ /**/
Karsten Hopp 81c285
+     159,
Karsten Hopp 81c285
  /**/
Karsten Hopp 81c285
Karsten Hopp 81c285
-- 
Karsten Hopp 81c285
"Hegel was right when he said that we learn from history that man can
Karsten Hopp 81c285
never learn anything from history."       (George Bernard Shaw)
Karsten Hopp 81c285
Karsten Hopp 81c285
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 81c285
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 81c285
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 81c285
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///