###############################################################################
-AC_INIT([wimlib], [1.12.0-BETA2], [ebiggers3@gmail.com])
+AC_INIT([wimlib], m4_esyscmd_s([tools/get-version-number]),
+ [https://wimlib.net/forums/])
AC_CONFIG_SRCDIR([src/wim.c])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([build-aux])
# Useful functions which we can do without.
AC_CHECK_FUNCS([futimens utimensat flock mempcpy \
openat fstatat readlinkat fdopendir posix_fallocate \
- llistxattr lgetxattr fsetxattr lsetxattr])
+ llistxattr lgetxattr fsetxattr lsetxattr getopt_long_only])
# Header checks, most of which are only here to satisfy conditional includes
# made by the libntfs-3g headers.
AC_MSG_CHECKING([whether to include error messages])
AC_ARG_ENABLE([error_messages],
- AS_HELP_STRING([--disable-error-messages], [do not compile in error messsages]),
+ AS_HELP_STRING([--disable-error-messages], [do not compile in error messages]),
[ENABLE_ERROR_MESSAGES=$enableval],
[ENABLE_ERROR_MESSAGES=yes])
AC_MSG_RESULT([$ENABLE_ERROR_MESSAGES])