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