]> wimlib.net Git - wimlib/blobdiff - configure.ac
compress_parallel.c: Determine physical memory on OS X
[wimlib] / configure.ac
index c8b09894845823a70789e93122a751182fa13598..00cbfb367ac354c374de09d90e2e456e0686648e 100644 (file)
@@ -1,8 +1,8 @@
-AC_INIT([wimlib], [1.5.2], [ebiggers3@gmail.com])
+AC_INIT([wimlib], [1.6.1], [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])
+AM_INIT_AUTOMAKE([-Wall -Werror subdir-objects foreign])
 AC_C_BIGENDIAN
 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 LT_INIT
@@ -61,11 +61,13 @@ AC_CHECK_HEADERS([alloca.h          \
                  glob.h                \
                  machine/endian.h      \
                  stdarg.h              \
+                 stddef.h              \
                  stdlib.h              \
                  sys/byteorder.h       \
                  sys/endian.h          \
                  sys/file.h            \
                  sys/param.h           \
+                 sys/sysctl.h          \
                  sys/times.h           \
                  time.h                \
                  utime.h])
@@ -101,19 +103,6 @@ if test "x$ENABLE_DEBUG" = "xyes"; then
                        [Define to 1 if including lots of debug messages.])
 fi
 
-AC_MSG_CHECKING([whether to include more debugging messages])
-AC_ARG_ENABLE([more_debug],
-       AS_HELP_STRING([--enable-more-debug],
-                       [include even more debugging messages]),
-       [ENABLE_MORE_DEBUG=$enableval],
-       [ENABLE_MORE_DEBUG=no]
-       )
-AC_MSG_RESULT([$ENABLE_MORE_DEBUG])
-if test "x$ENABLE_MORE_DEBUG" = "xyes"; then
-       AC_DEFINE([ENABLE_MORE_DEBUG], [1],
-                       [Define to 1 if including even more debug messages.])
-fi
-
 AC_MSG_CHECKING([whether to include error messages])
 AC_ARG_ENABLE([error_messages],
        AS_HELP_STRING([--disable-error-messages],
@@ -127,20 +116,6 @@ if test "x$ENABLE_ERROR_MESSAGES" = "xyes"; then
                        [Define to 1 if including error messages])
 fi
 
-AC_MSG_CHECKING([whether to support custom memory allocation functions])
-AC_ARG_ENABLE([custom_memory_allocator],
-       AS_HELP_STRING([--disable-custom-memory-allocator],
-                      [do not support the use of custom memory allocation
-                       functions]),
-       [ENABLE_CUSTOM_MEMORY_ALLOCATOR=$enableval],
-       [ENABLE_CUSTOM_MEMORY_ALLOCATOR=yes]
-       )
-AC_MSG_RESULT([$ENABLE_CUSTOM_MEMORY_ALLOCATOR])
-if test "x$ENABLE_CUSTOM_MEMORY_ALLOCATOR" = "xyes"; then
-       AC_DEFINE([ENABLE_CUSTOM_MEMORY_ALLOCATOR], [1],
-               [Define to 1 if supporting custom memory allocation functions])
-fi
-
 AC_MSG_CHECKING([whether to include assertions])
 AC_ARG_ENABLE([assertions],
        AS_HELP_STRING([--disable-assertions], [do not include assertions]),