###############################################################################
-AC_INIT([wimlib], [1.7.4-BETA], [ebiggers3@gmail.com])
+AC_INIT([wimlib], [1.8.1-BETA], [ebiggers3@gmail.com])
AC_CONFIG_SRCDIR([src/wim.c])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([-Wall -Werror subdir-objects foreign])
+AC_C_BIGENDIAN
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
LT_INIT
# 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 \
AX_PTHREAD([], [AC_MSG_ERROR(["cannot find pthreads library"])])
# ------------------------------ libxml2 --------------------------------------
-AC_CHECK_LIB([xml2], [xmlParseFile], [],
+AC_CHECK_LIB([xml2], [xmlReadMemory], [],
[AC_MSG_ERROR(["cannot find libxml2"])])
PKG_CHECK_MODULES([LIBXML2], [libxml-2.0])
PKGCONFIG_PRIVATE_REQUIRES="$PKGCONFIG_PRIVATE_REQUIRES libxml-2.0"
AC_DEFINE([ENABLE_ASSERTIONS], [1], [Define to 1 if including assertions])
fi
-AC_MSG_CHECKING([whether to include automatic compression verification])
-AC_ARG_ENABLE([verify_compression],
- AS_HELP_STRING([--enable-verify-compression],
- [verify all compression results (makes compression
- slower; intended for debugging only)]),
- [ENABLE_VERIFY_COMPRESSION=$enableval],
- [ENABLE_VERIFY_COMPRESSION=no])
-AC_MSG_RESULT([$ENABLE_VERIFY_COMPRESSION])
-if test "$ENABLE_VERIFY_COMPRESSION" = "yes"; then
- AC_DEFINE([ENABLE_VERIFY_COMPRESSION], [1], [Define to 1 to verify compression results])
-fi
-
AC_MSG_CHECKING([whether to include support for multi-threaded compression])
AC_ARG_ENABLE([multithreaded-compression],
AS_HELP_STRING([--disable-multithreaded-compression],