updated for version 7.4.246
Problem: Configure message for detecting smack are out of sequence.
Solution: Put the messages in the right place. (Kazunobu Kuriyama)
diff --git a/src/configure.in b/src/configure.in
index 22ff9fd..b22b9ea 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -393,16 +393,16 @@
[ --disable-smack Do not check for Smack support.],
, enable_smack="yes")
if test "$enable_smack" = "yes"; then
+ AC_MSG_RESULT(no)
AC_CHECK_HEADER([linux/xattr.h], true, enable_smack="no")
+else
+ AC_MSG_RESULT(yes)
fi
if test "$enable_smack" = "yes"; then
- AC_MSG_RESULT(no)
AC_CHECK_LIB(attr, llistxattr,
[LIBS="$LIBS -lattr"
found_smack="yes"
AC_DEFINE(HAVE_SMACK)])
-else
- AC_MSG_RESULT(yes)
fi
dnl When smack was found don't search for SELinux