]> wimlib.net Git - wimlib/commitdiff
Check for ntfs_xattr_system_setxattr() instead of ntfs_mount()
authorEric Biggers <ebiggers3@gmail.com>
Tue, 30 Oct 2012 00:17:26 +0000 (19:17 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 30 Oct 2012 00:17:26 +0000 (19:17 -0500)
README
configure.ac

diff --git a/README b/README
index 650d8a3e7d3bc597e90fb75135e8a8900602d1dc..608a2cfc8b85f4b821b05ddfc275e974d3871667 100644 (file)
--- 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
 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
        images directly to NTFS volumes.
 
 --without-fuse
index 409205704587de275e3bd84ccfeddab157d440de..bdc6a92032cf569847b3ae618001b5ab8a918a2c 100644 (file)
@@ -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_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
        LIBNTFS_3G_LDADD="`pkg-config --libs libntfs-3g`"
        LIBNTFS_3G_CFLAGS="`pkg-config --cflags libntfs-3g`"
 else