summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenys Vlasenko2010-05-30 03:33:50 +0200
committerDenys Vlasenko2010-05-30 03:33:50 +0200
commite04c867a214c4b6318bf1efce9e6681750140d2f (patch)
tree224eefe7c1b09d2cff50cac1d9650b2d6a0b9b42 /archival
parent8bcaa6a4e9f3c88bc86b2064950fcd06d6424230 (diff)
downloadbusybox-e04c867a214c4b6318bf1efce9e6681750140d2f.zip
busybox-e04c867a214c4b6318bf1efce9e6681750140d2f.tar.gz
rename FEATURE_LZMA_ALIAS to just LZMA
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r--archival/Config.in2
-rw-r--r--archival/bbunzip.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/archival/Config.in b/archival/Config.in
index 4283983..028fce3 100644
--- a/archival/Config.in
+++ b/archival/Config.in
@@ -327,7 +327,7 @@ config FEATURE_LZMA_FAST
This option reduces decompression time by about 25% at the cost of
a 1K bigger binary.
-config FEATURE_LZMA_ALIAS
+config LZMA
bool "Provide lzma alias which supports only unpacking"
default n
depends on UNLZMA
diff --git a/archival/bbunzip.c b/archival/bbunzip.c
index f6bf337..178dc63 100644
--- a/archival/bbunzip.c
+++ b/archival/bbunzip.c
@@ -333,8 +333,8 @@ IF_DESKTOP(long long) int unpack_unlzma(unpack_info_t *info UNUSED_PARAM)
int unlzma_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int unlzma_main(int argc UNUSED_PARAM, char **argv)
{
- IF_FEATURE_LZMA_ALIAS(int opts =) getopt32(argv, "cfvdt");
-# if ENABLE_FEATURE_LZMA_ALIAS
+ IF_LZMA(int opts =) getopt32(argv, "cfvdt");
+# if ENABLE_LZMA
/* lzma without -d or -t? */
if (applet_name[2] == 'm' && !(opts & (OPT_DECOMPRESS|OPT_TEST)))
bb_show_usage();