summaryrefslogtreecommitdiffstats
path: root/src/auto
diff options
context:
space:
mode:
authorIllia Bobyr <illia.bobyr@gmail.com>2023-09-30 22:57:19 +0200
committerChristian Brabandt <cb@256bit.org>2023-09-30 22:57:19 +0200
commit8c358e024fbc11895efec4b3e0e3777a6b88eba7 (patch)
treec1aa0c69e58c7e8da222e507a93de26b844ad096 /src/auto
parenta4dfbfed89e26a766e30cca62c18e710eec81c3f (diff)
patch 9.0.1965: wrong auto/configure scriptv9.0.1965
Problem: wrong auto/configure script Solution: regenerate with autoconf 2.71 configure: sys/xattr.hs: Regenerate with autoconf 2.71 It seems that `auto/configure` update in commit 6de4e58cf27a3bb6e81653ca63b77e29d1bb46f2 (tag: v9.0.1963) Author: zeertzjq <zeertzjq@outlook.com> Date: Sat Sep 30 14:19:14 2023 +0200 patch 9.0.1963: Configure script may not detect xattr Problem: Configure script may not detect xattr correctly Solution: include sys/xattr instead of attr/xattr, make Test_write_with_xattr_support() test xattr feature correctly This also applies to the Smack security feature, so change the include and configure script for it as well. closes: #13229 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com> was done manually, and missed an update to the generated variable name. closes: #13235 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Illia Bobyr <illia.bobyr@gmail.com>
Diffstat (limited to 'src/auto')
-rwxr-xr-xsrc/auto/configure9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/auto/configure b/src/auto/configure
index 9eca87c277..acc844c893 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -5279,8 +5279,8 @@ else
printf "%s\n" "yes" >&6; }
fi
if test "$enable_smack" = "yes"; then
- ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
-if test "x$ac_cv_header_attr_xattr_h" = xyes
+ ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
+if test "x$ac_cv_header_sys_xattr_h" = xyes
then :
true
else $as_nop
@@ -5434,8 +5434,8 @@ fi
if test "$enable_xattr" = "yes"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
- ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
-if test "x$ac_cv_header_attr_xattr_h" = xyes
+ ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
+if test "x$ac_cv_header_sys_xattr_h" = xyes
then :
printf "%s\n" "#define HAVE_XATTR 1" >>confdefs.h
@@ -5447,7 +5447,6 @@ printf "%s\n" "no" >&6; }
fi
-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking --with-features argument" >&5
printf %s "checking --with-features argument... " >&6; }