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