# Header checks, most of which are only here to satisfy conditional includes
# made by the libntfs-3g headers.
AC_CHECK_HEADERS([alloca.h \
- attr/xattr.h \
byteswap.h \
endian.h \
errno.h \
sys/file.h \
sys/sysctl.h \
sys/times.h \
+ sys/xattr.h \
time.h \
utime.h])
versions of glibc include this library. Either install this library, or
configure --without-fuse to disable support for mounting WIM images.])])
- AC_CHECK_LIB([attr], [getxattr], [],
- [AC_MSG_ERROR([Cannot find libattr!
- wimlib needs this for the extended attribute functions, which are used
- in the code for mounting WIM images. Either install this library, or
- configure --without-fuse to disable support for mounting WIM images.])])
-
PKGCONFIG_PRIVATE_LIBS="$PKGCONFIG_PRIVATE_LIBS -lrt"
AC_SUBST([LIBRT_LIBS], [-lrt])
fi