Blame SOURCES/7.4.246

d6ba96
To: vim_dev@googlegroups.com
d6ba96
Subject: Patch 7.4.246
d6ba96
Fcc: outbox
d6ba96
From: Bram Moolenaar <Bram@moolenaar.net>
d6ba96
Mime-Version: 1.0
d6ba96
Content-Type: text/plain; charset=UTF-8
d6ba96
Content-Transfer-Encoding: 8bit
d6ba96
------------
d6ba96
d6ba96
Patch 7.4.246
d6ba96
Problem:    Configure message for detecting smack are out of sequence.
d6ba96
Solution:   Put the messages in the right place. (Kazunobu Kuriyama)
d6ba96
Files:	    src/configure.in, src/auto/configure
d6ba96
d6ba96
d6ba96
*** ../vim-7.4.245/src/configure.in	2014-04-02 14:05:33.999887839 +0200
d6ba96
--- src/configure.in	2014-04-05 11:56:33.807099380 +0200
d6ba96
***************
d6ba96
*** 393,408 ****
d6ba96
  	[  --disable-smack	  Do not check for Smack support.],
d6ba96
  	, enable_smack="yes")
d6ba96
  if test "$enable_smack" = "yes"; then
d6ba96
    AC_CHECK_HEADER([linux/xattr.h], true, enable_smack="no")
d6ba96
  fi
d6ba96
  if test "$enable_smack" = "yes"; then
d6ba96
-   AC_MSG_RESULT(no)
d6ba96
    AC_CHECK_LIB(attr, llistxattr,
d6ba96
  	  [LIBS="$LIBS -lattr"
d6ba96
  	   found_smack="yes"
d6ba96
  	   AC_DEFINE(HAVE_SMACK)])
d6ba96
- else
d6ba96
-    AC_MSG_RESULT(yes)
d6ba96
  fi
d6ba96
  
d6ba96
  dnl When smack was found don't search for SELinux
d6ba96
--- 393,408 ----
d6ba96
  	[  --disable-smack	  Do not check for Smack support.],
d6ba96
  	, enable_smack="yes")
d6ba96
  if test "$enable_smack" = "yes"; then
d6ba96
+   AC_MSG_RESULT(no)
d6ba96
    AC_CHECK_HEADER([linux/xattr.h], true, enable_smack="no")
d6ba96
+ else
d6ba96
+    AC_MSG_RESULT(yes)
d6ba96
  fi
d6ba96
  if test "$enable_smack" = "yes"; then
d6ba96
    AC_CHECK_LIB(attr, llistxattr,
d6ba96
  	  [LIBS="$LIBS -lattr"
d6ba96
  	   found_smack="yes"
d6ba96
  	   AC_DEFINE(HAVE_SMACK)])
d6ba96
  fi
d6ba96
  
d6ba96
  dnl When smack was found don't search for SELinux
d6ba96
*** ../vim-7.4.245/src/auto/configure	2014-04-02 14:05:34.003887839 +0200
d6ba96
--- src/auto/configure	2014-04-05 11:56:37.123099387 +0200
d6ba96
***************
d6ba96
*** 4600,4605 ****
d6ba96
--- 4600,4607 ----
d6ba96
  fi
d6ba96
  
d6ba96
  if test "$enable_smack" = "yes"; then
d6ba96
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d6ba96
+ $as_echo "no" >&6; }
d6ba96
    ac_fn_c_check_header_mongrel "$LINENO" "linux/xattr.h" "ac_cv_header_linux_xattr_h" "$ac_includes_default"
d6ba96
  if test "x$ac_cv_header_linux_xattr_h" = xyes; then :
d6ba96
    true
d6ba96
***************
d6ba96
*** 4608,4617 ****
d6ba96
  fi
d6ba96
  
d6ba96
  
d6ba96
  fi
d6ba96
  if test "$enable_smack" = "yes"; then
d6ba96
-   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d6ba96
- $as_echo "no" >&6; }
d6ba96
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llistxattr in -lattr" >&5
d6ba96
  $as_echo_n "checking for llistxattr in -lattr... " >&6; }
d6ba96
  if ${ac_cv_lib_attr_llistxattr+:} false; then :
d6ba96
--- 4610,4620 ----
d6ba96
  fi
d6ba96
  
d6ba96
  
d6ba96
+ else
d6ba96
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
d6ba96
+ $as_echo "yes" >&6; }
d6ba96
  fi
d6ba96
  if test "$enable_smack" = "yes"; then
d6ba96
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llistxattr in -lattr" >&5
d6ba96
  $as_echo_n "checking for llistxattr in -lattr... " >&6; }
d6ba96
  if ${ac_cv_lib_attr_llistxattr+:} false; then :
d6ba96
***************
d6ba96
*** 4655,4663 ****
d6ba96
  
d6ba96
  fi
d6ba96
  
d6ba96
- else
d6ba96
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
d6ba96
- $as_echo "yes" >&6; }
d6ba96
  fi
d6ba96
  
d6ba96
  if test "x$found_smack" = "x"; then
d6ba96
--- 4658,4663 ----
d6ba96
*** ../vim-7.4.245/src/version.c	2014-04-04 19:00:46.351940169 +0200
d6ba96
--- src/version.c	2014-04-05 11:57:29.503099502 +0200
d6ba96
***************
d6ba96
*** 736,737 ****
d6ba96
--- 736,739 ----
d6ba96
  {   /* Add new patch number below this line */
d6ba96
+ /**/
d6ba96
+     246,
d6ba96
  /**/
d6ba96
d6ba96
-- 
d6ba96
Apparently, 1 in 5 people in the world are Chinese.  And there are 5
d6ba96
people in my family, so it must be one of them.  It's either my mum
d6ba96
or my dad.  Or my older brother Colin.  Or my younger brother
d6ba96
Ho-Cha-Chu.  But I think it's Colin.
d6ba96
d6ba96
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
d6ba96
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
d6ba96
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
d6ba96
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///