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