+
+ AC_CHECK_LIB([ntfs-3g], [ntfs_set_file_security], [],
+ [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.])])
+ LIBNTFS_3G_LDADD="`pkg-config --libs libntfs-3g`"
+ LIBNTFS_3G_CFLAGS="`pkg-config --cflags libntfs-3g`"
+else
+ LIBNTFS_3G_LDADD=
+ LIBNTFS_3G_CFLAGS=