|
|
# instead of lzma-utils-version.tar.gz. | # instead of lzma-utils-version.tar.gz. |
AC_INIT([LZMA], [4.32.5], [lasse.collin@tukaani.org]) | AC_INIT([LZMA], [4.32.5], [lasse.collin@tukaani.org]) |
| |
AC_CONFIG_SRCDIR([src/sdk/7zip/ICoder.h]) |
|
AC_CONFIG_HEADER([config.h]) | AC_CONFIG_HEADER([config.h]) |
| |
AC_SUBST(SDK_CXXFLAGS, "-DCOMPRESS_MF_BT -DCOMPRESS_MF_BT4 -DCOMPRESS_MF_HC") |
|
AC_SUBST(SDK_CFLAGS, "-D_LZMA_IN_CB -D_LZMA_OUT_READ -D_LZMA_SYSTEM_SIZE_T -D_LZMA_PROB32") | AC_SUBST(SDK_CFLAGS, "-D_LZMA_IN_CB -D_LZMA_OUT_READ -D_LZMA_SYSTEM_SIZE_T -D_LZMA_PROB32") |
| |
# Debug or not: | # Debug or not: |
|
|
enable_debug=no) | enable_debug=no) |
if test "x$enable_debug" = xyes; then | if test "x$enable_debug" = xyes; then |
CFLAGS="-g $CFLAGS" | CFLAGS="-g $CFLAGS" |
CXXFLAGS="-g $CFLAGS" |
|
AC_MSG_RESULT([yes]) | AC_MSG_RESULT([yes]) |
else | else |
AC_DEFINE(NDEBUG, 1, [Define to disable debugging code.]) | AC_DEFINE(NDEBUG, 1, [Define to disable debugging code.]) |
|
|
AM_INIT_AUTOMAKE | AM_INIT_AUTOMAKE |
| |
# Checks for programs. | # Checks for programs. |
AC_PROG_CXX |
|
AC_PROG_CC | AC_PROG_CC |
AC_PROG_CPP | AC_PROG_CPP |
AC_PROG_INSTALL | AC_PROG_INSTALL |
|
|
src/Makefile | src/Makefile |
src/liblzmadec/Makefile | src/liblzmadec/Makefile |
src/lzmadec/Makefile | src/lzmadec/Makefile |
src/lzmainfo/Makefile |
src/lzmainfo/Makefile]) |
src/lzma/Makefile |
|
src/scripts/Makefile |
|
src/sdk/7zip/Common/Makefile |
|
src/sdk/7zip/Compress/LZ/Makefile |
|
src/sdk/7zip/Compress/LZMA/Makefile |
|
src/sdk/7zip/Compress/LZMA_C/Makefile |
|
src/sdk/7zip/Compress/Makefile |
|
src/sdk/7zip/Compress/RangeCoder/Makefile |
|
src/sdk/7zip/Makefile |
|
src/sdk/Common/Makefile |
|
src/sdk/Makefile |
|
tests/Makefile]) |
|
AC_OUTPUT | AC_OUTPUT |
| |
# This package should be compiled with large file support unless there's | # This package should be compiled with large file support unless there's |
|
|
SUBDIRS = src tests |
SUBDIRS = src |
ACLOCAL_AMFLAGS = -I m4 | ACLOCAL_AMFLAGS = -I m4 |
AUTOMAKE_OPTIONS = foreign | AUTOMAKE_OPTIONS = foreign |
EXTRA_DIST = \ | EXTRA_DIST = \ |
|
|
SUBDIRS = liblzmadec lzmadec lzmainfo sdk lzma scripts |
SUBDIRS = liblzmadec lzmadec lzmainfo |
EXTRA_DIST = lzma_version.h | EXTRA_DIST = lzma_version.h |