From: Eric Biggers Date: Tue, 30 Oct 2012 00:17:26 +0000 (-0500) Subject: Check for ntfs_xattr_system_setxattr() instead of ntfs_mount() X-Git-Tag: v1.0.4~1 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=87a0d455554a9e06bc47457981e370c06b9bcbac Check for ntfs_xattr_system_setxattr() instead of ntfs_mount() --- diff --git a/README b/README index 650d8a3e..608a2cfc 100644 --- a/README +++ b/README @@ -148,8 +148,8 @@ Besides the various well-known options, the following options can be passed to wimlib's `configure' script: --without-ntfs-3g - If libntfs-3g is not available or is not the correct version, we can - build without it. wimlib will then not be able to apply or capture + If libntfs-3g is not available or is not version 2011-4-12 or later, we + can build without it. wimlib will then not be able to apply or capture images directly to NTFS volumes. --without-fuse diff --git a/configure.ac b/configure.ac index 40920570..bdc6a920 100644 --- a/configure.ac +++ b/configure.ac @@ -149,13 +149,14 @@ if test "x$WITH_NTFS_3G" = "xyes"; then AC_DEFINE([WITH_NTFS_3G], [1], [Define to 1 to enable support for NTFS-specific information]) - AC_CHECK_LIB([ntfs-3g], [ntfs_mount], [], - [AC_MSG_ERROR([Cannot find libntfs-3g. - Without libntfs-3g, wimlib cannot include support for capturing and - applying WIMs on NTFS filesystems while preserving NTFS-specific data - such as security descriptors and alternate data streams. You should - either install libntfs-3g, or configure with --without-ntfs-3g to - disable support for these NTFS-specific features.])]) + AC_CHECK_LIB([ntfs-3g], [ntfs_xattr_system_setxattr], [], + [AC_MSG_ERROR([Cannot find libntfs-3g version 2011-4-12 + or later. Without libntfs-3g, wimlib cannot include support for + capturing and applying WIMs on NTFS filesystems while preserving + NTFS-specific data such as security descriptors and alternate data + streams. You should either install libntfs-3g, or configure with + --without-ntfs-3g to disable support for these NTFS-specific + features.])]) LIBNTFS_3G_LDADD="`pkg-config --libs libntfs-3g`" LIBNTFS_3G_CFLAGS="`pkg-config --cflags libntfs-3g`" else