diff options
author | Joshua MacDonald <josh.macdonald@gmail.com> | 2015-05-02 22:20:35 -0700 |
---|---|---|
committer | Joshua MacDonald <josh.macdonald@gmail.com> | 2015-05-02 22:20:35 -0700 |
commit | 7b1623ee69fd80034a5772e1ac7523af1375ddb9 (patch) | |
tree | f99264cffd748ccea4b1a03cac51cfe27e346571 /xdelta3 | |
parent | 9095fce2a9cb614f5e6fbb8b91801236aa5f5510 (diff) | |
parent | adcba8bb76667f648fbeac099ad1f014a781b228 (diff) |
Pulling this
Diffstat (limited to 'xdelta3')
-rw-r--r-- | xdelta3/configure.ac | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/xdelta3/configure.ac b/xdelta3/configure.ac index ffec737..b6f5f1b 100644 --- a/xdelta3/configure.ac +++ b/xdelta3/configure.ac | |||
@@ -8,8 +8,26 @@ AM_INIT_AUTOMAKE([1.9 no-define foreign tar-ustar subdir-objects]) | |||
8 | AX_CHECK_ALIGNED_ACCESS_REQUIRED | 8 | AX_CHECK_ALIGNED_ACCESS_REQUIRED |
9 | AC_PROG_CC | 9 | AC_PROG_CC |
10 | AC_PROG_CXX | 10 | AC_PROG_CXX |
11 | AC_CHECK_HEADERS([lzma.h]) | 11 | |
12 | AC_CHECK_LIB(lzma, lzma_easy_buffer_encode) | 12 | AC_ARG_WITH( |
13 | [liblzma], | ||
14 | [AC_HELP_STRING( | ||
15 | [--with-liblzma], | ||
16 | [build with liblzma support @<:@default=autodetect@:>@])], | ||
17 | [USE_LIBLZMA=$withval], | ||
18 | [USE_LIBLZMA=auto]) | ||
19 | |||
20 | if test "x$USE_LIBLZMA" != xno ; then | ||
21 | AC_CHECK_HEADERS([lzma.h],,[ | ||
22 | if test "x$with_liblzma" = xyes ; then | ||
23 | AC_MSG_FAILURE([liblzma includes were not found]) | ||
24 | fi]) | ||
25 | AC_CHECK_LIB([lzma], [lzma_easy_buffer_encode],,[ | ||
26 | if test "x$with_liblzma" = xyes ; then | ||
27 | AC_MSG_FAILURE([liblzma library were not found]) | ||
28 | fi]) | ||
29 | fi | ||
30 | |||
13 | AC_CHECK_SIZEOF(size_t) | 31 | AC_CHECK_SIZEOF(size_t) |
14 | AC_CHECK_SIZEOF(unsigned int) | 32 | AC_CHECK_SIZEOF(unsigned int) |
15 | AC_CHECK_SIZEOF(unsigned long) | 33 | AC_CHECK_SIZEOF(unsigned long) |