From: Wayne Davison Date: Fri, 24 Jul 2020 18:38:14 +0000 (-0700) Subject: Enable xattrs on Cygwin. X-Git-Tag: v3.2.3pre1~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0a7c9f2e3eee43837a35af6a0d2c16574b5c4b5;p=thirdparty%2Frsync.git Enable xattrs on Cygwin. - Tweak configure.ac to have Cygwin use linux xattrs. - Change CI setup to install attr packages on Cygwin. [buildall] --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54172945..e1d63d99 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -89,7 +89,7 @@ jobs: args: install -y --no-progress cygwin cyg-get - name: prep run: | - cyg-get make autoconf automake gcc-core libssl-devel libzstd-devel liblz4-devel python3 python36-commonmark + cyg-get make autoconf automake gcc-core attr libattr-devel python3 python36-commonmark libzstd-devel liblz4-devel libssl-devel echo "::add-path::C:/tools/cygwin/bin" - name: configure run: bash -c './configure --disable-xxhash' diff --git a/configure.ac b/configure.ac index d9636962..ae6445d1 100644 --- a/configure.ac +++ b/configure.ac @@ -1290,7 +1290,7 @@ if test x"$enable_xattr_support" = x"no"; then AC_MSG_RESULT(no) else case "$host_os" in - *linux*|*netbsd*) + *linux*|*netbsd*|*cygwin*) AC_MSG_RESULT(Using Linux xattrs) AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs (or equivalent)]) AC_DEFINE(SUPPORT_XATTRS, 1)