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