]> wimlib.net Git - wimlib/blobdiff - configure.ac
util.h: gcc printf format attribute
[wimlib] / configure.ac
index 22e1c88d0bd414f81b853119e20a2e48aa0bde55..1efb42b343a8f36fb62bec2a92c23bbf1cff94b9 100644 (file)
@@ -1,16 +1,14 @@
-AC_INIT([wimlib], [0.7.0], [ebiggers3@gmail.com])
+AC_INIT([wimlib], [0.7.2], [ebiggers3@gmail.com])
 AC_CONFIG_SRCDIR([src/wim.c])
-AM_INIT_AUTOMAKE([-Wall -Werror])
 AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_AUX_DIR([build-aux])
+AM_INIT_AUTOMAKE([-Wall -Werror subdir-objects])
 AC_C_BIGENDIAN
-AM_PROG_AR
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 LT_INIT
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_FILES([Makefile 
-               doc/Makefile 
                doc/Doxyfile
-               src/Makefile 
-               programs/Makefile
                wimlib.pc
                doc/imagex.1
                doc/imagex-append.1
@@ -23,12 +21,14 @@ AC_CONFIG_FILES([Makefile
                doc/imagex-join.1
                doc/imagex-mount.1
                doc/imagex-mountrw.1
+               doc/imagex-split.1
                doc/imagex-unmount.1
                doc/mkwinpeimg.1
                rpm/wimlib.spec
                archlinux/PKGBUILD
                ])
 AC_PROG_CC
+AM_PROG_CC_C_O
 
 
 AM_ICONV
@@ -131,6 +131,20 @@ if test "x$ENABLE_VERIFY_COMPRESSION" = "xyes"; then
                   compressed data])
 fi
 
+AC_MSG_CHECKING([whether to include support for copying security data])
+AC_ARG_ENABLE([security_data],
+             AS_HELP_STRING([--disable-security-data], [disable
+                               the ability to retain the security data of
+                               existing WIMs]),
+       [ENABLE_SECURITY_DATA=$enableval],
+       [ENABLE_SECURITY_DATA=yes]
+       )
+AC_MSG_RESULT([$ENABLE_SECURITY_DATA])
+if test "x$ENABLE_SECURITY_DATA" = "xyes"; then
+       AC_DEFINE([ENABLE_SECURITY_DATA], [1], [Define to 1 to enable support
+                  for copying security data])
+fi
+
 AC_MSG_CHECKING([whether to include support for mounting WIMs])
 AC_ARG_WITH([fuse],
                AS_HELP_STRING([--without-fuse], [build without libfuse.