mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Reenable static binary compilation with --enable-static-bin configuration option.
This commit is contained in:
parent
5c9c4229dc
commit
0efcec6304
|
|
@ -53,6 +53,9 @@ lrzip_SOURCES = \
|
|||
sha4.h
|
||||
|
||||
lrzip_LDADD = lzma/C/liblzma.la
|
||||
if STATIC
|
||||
lrzip_LDFLAGS = -all-static
|
||||
endif
|
||||
|
||||
dist_doc_DATA = \
|
||||
AUTHORS \
|
||||
|
|
|
|||
2
README
2
README
|
|
@ -113,7 +113,7 @@ for this encryption mechanism, and there is absolutely no way of retrieving
|
|||
your password should you forget it.
|
||||
|
||||
Q. How do I make a static build?
|
||||
A. make static
|
||||
A. ./configure --enable-static-bin
|
||||
|
||||
Q. I want the absolute maximum compression I can possibly get, what do I do?
|
||||
A. Try the command line options "-Uzp 1 -L 9". This uses all available ram and
|
||||
|
|
|
|||
|
|
@ -66,6 +66,13 @@ if test x"$ASM" = xyes; then
|
|||
fi
|
||||
fi
|
||||
|
||||
static=no
|
||||
AC_ARG_ENABLE([static-bin],
|
||||
[AC_HELP_STRING([--enable-static-bin],[Build statically linked binary @<:@default=no@:>@])],
|
||||
[static=$enableval]
|
||||
)
|
||||
AM_CONDITIONAL([STATIC], [test "x$static" = "xyes"])
|
||||
|
||||
AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/mman.h)
|
||||
AC_CHECK_HEADERS(ctype.h errno.h sys/resource.h)
|
||||
AC_CHECK_HEADERS(endian.h sys/endian.h arpa/inet.h)
|
||||
|
|
@ -142,6 +149,7 @@ echo
|
|||
echo "Configuration Options Summary:"
|
||||
echo
|
||||
echo " ASM................: $ASM"
|
||||
echo " Static binary......: $static"
|
||||
echo
|
||||
echo "Compilation............: make (or gmake)"
|
||||
echo " CPPFLAGS.............: $CPPFLAGS"
|
||||
|
|
|
|||
Loading…
Reference in a new issue